Click
  1. Click
  2. CLK-222

ClickApp does not pick up new Page classes dynamically

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor 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.

        Activity

        Henri Yandell made changes -
        Project Import Fri Mar 20 14:11:32 PDT 2009 [ 1237583492744 ]
        Malcolm Edgar made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Bob Schellink made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Bob Schellink made changes -
        Field Original Value New Value
        Attachment ClickApp.java.patch [ 10271 ]
        Bob Schellink created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development