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

        jonathan Jonathan Reissmueller created issue -
        jonathan Jonathan Reissmueller made changes -
        Field Original Value New Value
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Sprint 4.8.0 Sprint 4 [ 95 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked lower
        Automated transition triggered when Jonathan Reissmueller created a branch in Stash -
        Status Open [ 1 ] In Progress [ 3 ]
        Automated transition triggered when Jonathan Reissmueller created pull request #762 in Stash -
        Status In Progress [ 3 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]
        Automated transition triggered when Tyson Phillips (Inactive) merged pull request #762 in Stash -
        Status In Review [ 5 ] Closed [ 6 ]

          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