Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-4582

Configurable Option normally hidden due to logic does not observe default when it is shown

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.2.2, 5.3.0-b1
    • Fix Version/s: 5.2.3, 5.3.0
    • Component/s: Plugins, Staff Interface
    • Labels:
      None

      Description

      When a config option is hidden due to logic, selecting the right option in another field to cause it to be shown will make the option default to the lowest ID value rather than the option defined as the default. This is not a problem if the option is shown by default, only if it is hidden by default due to the logic.

      To reproduce, see attached screenshots of configuration. NOTE!! When creating the 2nd config option DO NOT create "None" first, rather create an option, then create the None option, then create the other option. This will cause the None option to not have the lowest ID. Then after saving, edit and re-order None to the top and set None as the default.

      1. config-opt-1.png
        71 kB
      2. config-opt-2.png
        62 kB
      3. config-opt-logic.png
        31 kB

        Activity

          People

          • Assignee:
            abdy Abdy Franco
            Reporter:
            admin Paul Phillips
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              14/Feb/22

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 3 hours, 59 minutes
              3h 59m