[gatein-issues] [JBoss JIRA] (GTNPORTAL-3466) label for="publicMode" in UIListPermissionSelector.gtmpl not unique

Peter Palaga (JIRA) issues at jboss.org
Thu May 1 10:11:56 EDT 2014


Peter Palaga created GTNPORTAL-3466:
---------------------------------------

             Summary: label for="publicMode" in UIListPermissionSelector.gtmpl not unique
                 Key: GTNPORTAL-3466
                 URL: https://issues.jboss.org/browse/GTNPORTAL-3466
             Project: GateIn Portal
          Issue Type: Bug
      Security Level: Public (Everyone can see)
            Reporter: Peter Palaga


{{publicMode}} used as {{label for}} and chekbox {{id}}  in UIListPermissionSelector.gtmpl is not unique. There are situations where several UIListPermissionSelector are rendered on a single page. An unwanted consequence of that is that clicking on a non-first {{<label>}} on a page changes the value of the first checkbox with {{id="publicMode"}} rather than the one that is visually next to the clicked {{<label>}}.

Steps to reproduce:

(1) login as root
(2) toolbox > Sites > Manage Sites
(3) Edit any portal's config > Permissions
(4) Ensure Access is set to Everyone
(5) Switch to Move Apps tab
(6) Click on "Everyone" text (do not click on the checkbox itself)
Not OK: the checkbox in Move Apps tab stayed unchanged
Not OK: the checkbox in Access tab got inactive
Expected: the checkbox in Move Apps changes and checkbox in Access tab stays unchanged.



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the gatein-issues mailing list