Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-10857

Wicket development mode prevents opening documents

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Top
    • Resolution: Fixed
    • Affects Version/s: 5.1.0
    • Fix Version/s: 5.1.0
    • Component/s: None
    • Labels:
      None
    • Similar issues:
    • Story Points:
      3
    • Processed by team:
      Tiger
    • Sprint:
      Tiger Sprint 164, Tiger Sprint 165

      Description

      Create a 12.0.0 archetype project.
      Add simple content via essentials.
      Go to cms
      Open a document.
      A popup message in red "WICKET AJAX DEBUG" appears.
      Document tab is created but no document is displayed

      ===================================================

      Edit: issue was caused by a javascript resource cached in the browser (DEVELOPMENT mode only). To prevent these kinds of hard-to-trace bug reports in the future, we decided to add query-string parameters containing the last-modified timestamp to Wicket resources. While query strings are a bad idea in production (they tend to be stripped off) it's fine for local development. Using this strategy has the advantage that the original file names are still recognizable, so it's easy to correlate requests with files in the code base.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jfloor Jasper Floor
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: