Uploaded image for project: 'COmanage'
  1. COmanage
  2. CO-1767

Allow underscores in COmanage match attribute names

    XMLWordPrintable

Details

    Description

      I noticed in the June dev release that validation was added to the Name feild
      https://comanage-poc.slac.stanford.edu/match/attributes/edit/#

      Name *
      Value must be alphanumeric, as it will be used to construct the matchgrid column name


      Would it be possible to alow underscores? ( _ )

      From the Postgresql docs:
      SQL identifiers and key words must begin with a letter (a-z, but also letters with diacritical marks and non-Latin letters) or an underscore (_). Subsequent characters in an identifier or key word can be letters, underscores, digits (0-9), or dollar signs ($). Note that dollar signs are not allowed in identifiers according to the letter of the SQL standard, so their use might render applications less portable. The SQL standard will not define a key word that contains digits or starts or ends with an underscore, so identifiers of this form are safe against possible conflict with future extensions of the standard.

      Attachments

        Activity

          People

            benn.oshrin@at.internet2.edu Benn Oshrin (internet2.edu)
            ross.wilper@at.internet2.edu Ross Wilper (stanford.edu)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: