Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-2025

Duplicate generated ids

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.3.5, 5.3.6
    • 5.3.7, 5.4
    • tapestry-core

    Description

      IdGenerator of javascriptSupport PartialMarkupRendererFilter is using Long.toHexString(System.currentTimeMillis()) as a suffix for ids.If two ajax requests arrive at the same time they will both have the same suffix.If both request will render a component named Sort (From grid) then many sort links will have same ids.Found it out because i had 10 progressive displays in my page each drawing an inPlace grid.Some of the sort links will also sort another grid when clicked since they have the same id.

      Attachments

        Activity

          People

            kaosko Kalle Korhonen
            zenios Dimitris Zenios
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: