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

Regression: parameters info parameter of type 'number' and 'boolean' do not render the correct widget

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 2.24.00
    • 2.24.01
    • Template Composer
    • None

    Description

      When a parameters info parameter returns a number (long, int, or short) or a boolean, the component properties box in the template composer still render a normal textfield. In CMS 7.6, it used to limit the input to numbers or render a checkbox, respectively.

      Steps to reproduce:
      1. log in to the GoGreen CMS as admin
      2. navigate to the channel manager
      3. open the channel 'English Website'
      4. click 'Edit Template'
      5. click on the 'latest jobs' component on the homepage (shows the component properties of 'latestjobs')
      6. change the property 'Limit' to 'foo'
      7. click 'Save'

      Expected behavior: the user cannot enter and/or save the value 'foo', as it is not a valid number
      Actual behavior: the user can enter the value 'foo'. Saving this value causes the 'latestjobs' component to disappear.

      Attachments

        Activity

          People

            jsheriff Junaidh Kadhar Sheriff
            mdenburger Mathijs den Burger (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: