Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-9770

Permissions widget does not validate

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: No Resources
    • Affects Version/s: 2.4.0, 2.4.1
    • Fix Version/s: None
    • Labels:
      None

      Description

      The permissions widget concatenates the role name and permission name to use as for and id attributes. However, these attributes are not allowed to contain spaces, so when a role name contains spaces, invalid markup is produced, e.g.:

      <label for="Studentasn.receive.notifications" class="skip">Studentasn.receive.notifications</label>
      <input type="checkbox" name="Studentasn.receive.notifications" id="Studentasn.receive.notifications" value="Studentasn.receive.notifications" />

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  Unassigned Unassigned
                  Reporter:
                  smarquard Stephen Marquard
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration