Wicket
  1. Wicket
  2. WICKET-4509

Spaces in path cause ModifcationWatcher to fail

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.5
    • Fix Version/s: 1.5.6, 6.0.0-beta2
    • Component/s: wicket
    • Labels:
      None
    • Environment:
      Windows 7

      Description

      The ModificationWatcher isn't able to reload resource files if there's a space in the path.

      The problem is that Files#getLocalFileFromUrl(String) receives an URL encoded String in which spaces are encoded to %20. They are never decoded and passed to File(). The fix is not to use the external representation of an URL but the file representation.

      1. WICKET-4509.patch
        0.6 kB
        Christoph Leiter

        Activity

          People

          • Assignee:
            Sven Meier
            Reporter:
            Christoph Leiter
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development