Subjects when id has html entity fail to add through add member combo box

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • 2.6.6
    • Affects Version/s: 2.6.5
    • Component/s: None
    • None

      def gs = GrouperSession.startRootSessionIfNotStarted().grouperSession
      subject = RegistrySubject.add(s=gs,
                                id='1001&""',
                                type="person",
                                name='Sally Tables',
                                nameAttributeValue='Sally ; DROP TABLE & " "',
                                loginid='stables',
                                description='Sally ; DROP TABLE & " "',
                                email="sally.tables@somewhere.someSchool.edu")
      

      When adding this subject to a group, it shows up in the list but can't be added. Selecting it and adding gives Grouper error: "Select an entity from the search results"

      I think the dojoComboQueryLogic class shouldn't be escaping the id, since it's setting an element value, not displaying it as html

            Assignee:
            Chad Redman (unc.edu) (Inactive)
            Reporter:
            Chad Redman (unc.edu) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: