Velocity
  1. Velocity
  2. VELOCITY-693

resourceExists method in FileResourceLoader returns always false if the template is not in the first directory

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.6.1
    • Fix Version/s: 1.6.2, 1.7, 2.x
    • Component/s: Engine
    • Labels:
      None

      Description

      In case of a multi path resource loader the resourceExists method doesn't work if the template is not in the first directory. It returns alway false, although the resource exists.

        Activity

        Hide
        Nathan Bubna added a comment -

        This is a problem with the new resourceExists method. Fix is obvious. Will patch shortly...

        Show
        Nathan Bubna added a comment - This is a problem with the new resourceExists method. Fix is obvious. Will patch shortly...
        Hide
        Nathan Bubna added a comment -

        Ok, fixed in all branches.

        Show
        Nathan Bubna added a comment - Ok, fixed in all branches.

          People

          • Assignee:
            Unassigned
            Reporter:
            Johann Weber
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development