Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-1067

Generated HTML IDs should be unique for all items when using a checkbox List as a Class property

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0 B6
    • Fix Version/s: 1.4 M1
    • Component/s: {Unused} Core
    • Labels:
      None
    • Similar issues:

      Description

      here is a sample. (do not pay attention to the fact that there is no content in the span, it's a copy/paste from firebug tree view)

      i'm doing a displayedit on a list with a checkbox view.

      The bug is in ListClass.java line 404 revision 2759.

       
      <div class="gwt-HTML">
      <span id="xwiki-form-educational_level2" class="xwiki-form-listclass">
      <input type="checkbox" value="gr-k2" name="XWiki.AssetClass_0_educational_level2"/>
      Gr. K-2 / Ages 5-7
      </span>
      <span id="xwiki-form-educational_level2" class="xwiki-form-listclass">
      </span>
      <span id="xwiki-form-educational_level2" class="xwiki-form-listclass">
      </span>
      <span id="xwiki-form-educational_level2" class="xwiki-form-listclass">
      </span>
      <span id="xwiki-form-educational_level2" class="xwiki-form-listclass">
      </span>
      <span id="xwiki-form-educational_level2" class="xwiki-form-listclass">
      </span>
      <span id="xwiki-form-educational_level2" class="xwiki-form-listclass">
      </span>
      <span id="xwiki-form-educational_level2" class="xwiki-form-listclass">
      </span>
      <span id="xwiki-form-educational_level2" class="xwiki-form-listclass">
      </span>
      <span id="xwiki-form-educational_level2" class="xwiki-form-listclass">
      </span>
      <input type="hidden" value="" name="XWiki.AssetClass_0_educational_level2"/>
      <input type="hidden" value="" name="XWiki.AssetClass_0_educational_level2"/>
      </div>
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jvdrean Jean-Vincent Drean
                Reporter:
                jeremi jeremi Joslin
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: