Uploaded image for project: 'Click'
  1. Click
  2. CLK-422

XmlConfigService should add dynamically added pages to pageByClassMap

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5 M2
    • Fix Version/s: 1.5 M3
    • Component/s: core
    • Labels:
      None

      Description

      XmlConfigService has ability to pick up dynamically added classes and templates in development mode.

      XmlConfigService#getPageClass(String) contains the code:

      if (pageClass != null) {
      page = new PageElm(path, pageClass, commonHeaders);
      pageByPathMap.put(page.getPath(), page);
      ...

      So pageByPathMap is expanded to include the new template however pageByClassMap is not.

        Attachments

          Activity

            People

            • Assignee:
              sabob Bob Schellink
              Reporter:
              sabob Bob Schellink
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: