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

Discern empty values from not initialized values

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • 4.3.0
    • 4.1.7, 4.2.0
    • None
    • None
    • 4.3 M2

      For typed values other than string, we cannot discern in storage an empty value from a value not yet setted.
      For example for a site parameter, how to discern a non initialized parameter (a default value will be proposed) from a site parameter setted to empty (duration of cache validty for example) ?

      • Create a new site :
        • Cache duration is proposed to its default value
        • Empty the field and save
      • Reconfigure the site
        • The field for cache duration is filled with the default value instead of empty

            raphael Raphaël Franchet
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: