Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-9882

[Search service v2] Non-mandatory long parameters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.3.0
    • 4.2.0
    • None
    • None
    • 4.2.1

      The first commit is a workaround.

      Let the ticket open until CMS-9541 is fixed, and then revert it (and propose a migration script)

       

      What is happening is that currently, Ametys cannot see the difference between an empty value for an optional parameter (not present in purpose) and the absence of the value because it is a 'new' parameter (user never had the opportunity to fill it). Thus, as the optional parameter defines a default value, when editing the service, the default value is automatically filled for those parameters which are empty whereas we do not want.

            sprieul Simon Prieul (Inactive)
            sprieul Simon Prieul (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: