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

Services::edit() does not populate config options correctly for text fields

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.7.2
    • Fix Version/s: 4.8.0-b1
    • Component/s: None
    • Labels:
      None

      Description

      On lines 1285-1300 Services::edit() tries to populate $vars['configoptions'] using the options that are already set on the service. However it uses the "option_value" property as the value to pass. This doesn't work for text config options though since they have no "option_value". Instead we should use the "value" property for everything except quantity type options.

        Activity

          People

          • Assignee:
            jonathan Jonathan Reissmueller
            Reporter:
            jonathan Jonathan Reissmueller
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              23/Dec/19

              Agile