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

wicket:link component ids get too long

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

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.0, 1.5.1, 1.5.2, 1.5.3, 1.5.4, 1.5.5
    • 1.5.6, 6.0.0-beta2
    • wicket
    • None

    Description

      The resolve() method of org.apache.wicket.markup.parser.filter.WicketLinkTagHandler appends modifies the original tag id and appends the next autoId to it. The problem is that this is done during every render, the the component id gets longer and longer.

      I had a situation on a production server where component ids were over 10k. RepeatingView just added to the problem.

      Long story short, I think resolve should just return the TransparentWebMarkupContainer with the modified id, and not set the original id.

      Attachments

        Activity

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

          People

            svenmeier Sven Meier
            jesselong Jesse Long
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment