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

JSP pages in subdirectories will not be added to the list of templates

    Details

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

      Description

      Hello

      Just scanning the code in ClickApp I think there is a bug when calling the getTemplateFiles() method. This method builds a list of all htm and jsp files contained in the root resource path. If it stumbles upon a directory, it calls the method processDirectory() which recursively scans the directories and appends to the list any htm files found. But processDirectory does not append any jsp files. Since I do not use jsp with click I assume this is wrong? Ill attach a patch too

      regards

      bob

        Activity

        Hide
        medgar Malcolm Edgar added a comment -

        Hi Bob,

        thanks for identifying this, sounds like a bug. I don't use JSP either, so its quite likely this bug slipped through.

        thanks Malcolm

        Show
        medgar Malcolm Edgar added a comment - Hi Bob, thanks for identifying this, sounds like a bug. I don't use JSP either, so its quite likely this bug slipped through. thanks Malcolm
        Hide
        medgar Malcolm Edgar added a comment -

        Bug verified, patch applied and checked into SVN. Fix will be available in release 1.1

        Show
        medgar Malcolm Edgar added a comment - Bug verified, patch applied and checked into SVN. Fix will be available in release 1.1

          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:

              Development