Uploaded image for project: 'Repository'
  1. Repository
  2. REPOSITORY-427

Service parameters with default values can not be emptied because it is not possible to store empty values in the repository

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 4.3.0
    • 4.2.0
    • None
    • None
    • 4.3 M2

      This problem occurs since the migration of services to the new parameters API.

      Before this migration, all parameters were stored as String. Now, they are stored with the right type (Long for a parameter of type "long", Boolean for a parameter of type "boolean")

      Example with the search service V2:

      • Add the serach service V2 in a zone-item
        • Results per page is proposed to its default value (10)
        • Empty the field and save
      • Reparameterize the service
        • the field Results per page is filled with the default value instead of empty => KO

       

            cbayle Caroline Bayle
            cbayle Caroline Bayle
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: