Uploaded image for project: 'Offre de formation'
  1. Offre de formation
  2. ODF-2094

Add a regexp validator on code of program items

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 4.7.1
    • 4.1.0
    • None
    • None

      Since ODF-1985 the character "-" becomes a illegal character for code of program or subprogram.

      To avoid error, the code should be protected by a regexp validator.

      But becareful, "-" is not a illegal character for other courselist, container, orgunit, ... and may be some repositories contains data with such a code.
      The regexp validator may be added only for programs, subprograms and courses ?
      Or add for all ODF contents but a migration script have to be done on all ODF contents.
      A script was written for programs and subprograms here : https://docs.ametys.org/fr/ametys-odf/manuel-de-mise-a-jour/migration-technique-4-0-vers-4-1.html?&foo=0.9399267513849482#N102FC

            Unassigned Unassigned
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: