Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-9113

Dashboard created with App Within Minutes not loading after upgrade to 5.0

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • None
    • 5.0
    • App Within Minutes
    • None
    • Tomcat7, MySQL
    • Unknown

    Description

      After upgrade to 5.0 one of the dashboard (WebHome) page created by App Within Minutes takes forever to load. Other pages created by App Within Minutes work fine. Tomcat's logs don't show anything. Actually, working pages call livetable results at some URL like [http://localhost:8080/bin/get/Products/ProductsLiveTableResults?..., but the buggy page does not.

      The code is simple enough. Nothing complex, just a couple of fields (String, TextArea, Static List, and Database List). Pages load and display just fine (content pages and also class, livetable, etc).

      The dashboard (WebHome) page contains the following code (which worked fine before the upgrade to 5.0):

      {{velocity}}
      #set ($discard = $services.localization.use('document', 'Ingredients.IngredientsTranslations'))
      #set ($columnsProperties = {
        'name': {"type":"text","size":10},
        'doc.name': {"type":"text","size":10,"link":"view"},
        'doc.date': {"type":"text","size":10},
        'doc.author': {"type":"text","size":10,"link":"author"},
        '_actions': {"sortable":false,"filterable":false,"html":true,"actions":["edit","delete"]}
      })
      #set ($options = {
        'className': 'Ingredients.IngredientsClass',
        'resultPage': 'Ingredients.IngredientsLiveTableResults',
        'translationPrefix': 'ingredients.livetable.',
        'tagCloud': true,
        'rowCount': 15,
        'maxPages': 10,
        'selectedColumn': 'name',
        'defaultOrder': 'asc'
      })
      #set ($columns = ['name', 'doc.name', 'doc.date', 'doc.author', '_actions'])
      #livetable('ingredients' $columns $columnsProperties $options)
      {{/velocity}}
      

      Attachments

        Activity

          People

            mflorea Marius Dumitru Florea
            marclijour Marc Lijour
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: