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

ClickApp does not pick up new Page classes dynamically

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core
    • Labels:
      None

      Description

      It does not seem like ClickApp picks up newly created Page classes automatically. For example if you have a running app and create a new Page and template, it will not be picked up until the webapp is restarted.

      The attached patch should fix the issue. Seems the call to servletContext.getResourcesPaths(String path) must be a directory. If the argument is a file the returned Set is either null or empty, so the code inside the if is never executed.

      If no problem is foreseen with this patch I will apply it.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: