Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-3650

parentFolderPlaceholder default value in Settings implementation is inconsistent with the javadoc

    XMLWordPrintableJSON

Details

    Description

      In relation to wicket-1992,
      the javadoc for:
      org.apache.wicket.settings.IResourceSettings#setParentFolderPlaceholder
      says:
      "Note that by default the placeholder string is empty '' and thus will not allow to access parent folders."

      But the default is null, not ''
      and this generates src url like this: resources/com.test.sub.pack.TestPage/null/null/base/information.png
      which do work, but probably shouldn't.

      Attachments

        Activity

          People

            pete Peter Ertl
            fdonckels Frédéric Donckels
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified