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

XmlConfigService should add dynamically added pages to pageByClassMap

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5 M2
    • 1.5 M3
    • core
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: