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

A panel in a nested document won't be registered at startup

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.2-milestone-2
    • Fix Version/s: 7.2-milestone-3
    • Component/s: Panels
    • Labels:
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

                  Query query =
                      queryManager.createQuery("select doc.space, doc.name from Document doc, doc.object(Panels.PanelClass) "
                          + "as panel", Query.XWQL);
                  List<Object[]> results = query.execute();
                  for (Object[] result : results) {
                      references.add(
                          new DocumentReference(getXWikiContext().getWikiId(), (String) result[0], (String) result[1]));
                  }
      

        Attachments

          Activity

            People

            • Assignee:
              tmortagne Thomas Mortagne
              Reporter:
              tmortagne Thomas Mortagne
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 1 hour
                1h