Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-1526

PageFlowScope query string parameter is duplicated along with trh:head content

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.2.11-core
    • None
    • None
    • None
    • Facelets, Windows, Jetty/Tomcat

    Description

      Sometimes the Trinidad javascript seems to think it's a good idea to repeat the PageFlowScope _afPfm parameter on the query string.

      This has two effects:
      1) All the code in the trh:head element is repeated, once for each time I clicked on a commandLink, regardless of whether or not a new parameter is attached. I'll post some generated HTML in a comment.
      2) After clicking through links for a while, the querystring gets too long and the application ceases to function.

      There are essentially two problems here:
      1) When I use PageFlowScope, the generated HTML becomes invalid and huge.
      2) When I use PrettyFaces, the _afPfm is repeated.

      The repetition only happens in combination with prettyfaces, the html duplication happens all the time.

      Attachments

        1. source.jspx
          0.9 kB
          Bram Van Dam
        2. result.html
          2 kB
          Bram Van Dam

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            bram Bram Van Dam

            Dates

              Created:
              Updated:

              Slack

                Issue deployment