Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-1521

ParameterUtils can when the value is "" can better return the defaultValue, even if the returnType is a String

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 2.20.01
    • 2.20.02, 2.21.00
    • None
    • None

    Description

      The problem is that with hst:parameternames and hst:parametervalues in combination with the TC, that for for example Booleans, Integers, etc, when there is no value applied, the value is "". Then, not the default value from the interface is returned, but in case of boolean false and in case of integer 0. This seems undesirable to me: Only in case of String, it should return "", otherwise, the default value

      Attachments

        Activity

          People

            aschrijvers Ard Schrijvers
            aschrijvers Ard Schrijvers
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: