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

Adding service with config options as admin into a different currency may cause an error

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.0
    • Fix Version/s: 3.3.0
    • Component/s: None
    • Labels:
      None

      Description

      When an admin adds a client for a service, they can select a package, config options, and addons.

      If the client has a default currency set that is not the same as the selected package, then the pricing is converted. However, config option pricing is not converted. This can cause no pricing to be determined for config options, leading to the following error:
      >Trying to get property of non-object on line 4486 in /app/controllers/admin_clients.php

      If error reporting is off, the term/currency is not shown in the description (see screenshot attached), and the invoice is created without the config options.

        Issue Links

          Activity

          tyson Tyson Phillips (Inactive) created issue -
          tyson Tyson Phillips (Inactive) made changes -
          Field Original Value New Value
          Attachment config_option_pricing_missing.png [ 11003 ]
          tyson Tyson Phillips (Inactive) made changes -
          Link This issue blocks CORE-1426 [ CORE-1426 ]
          tyson Tyson Phillips (Inactive) made changes -
          Link This issue relates to CORE-1346 [ CORE-1346 ]
          tyson Tyson Phillips (Inactive) made changes -
          Summary Adding service as admin into a different currency may cause an error Adding service with config options as admin into a different currency may cause an error
          tyson Tyson Phillips (Inactive) made changes -
          Description When an admin adds a client for a service, they can select a package, config options, and addons.

          If the client has a default currency set that is not the same as the selected package, then the pricing is converted. However, config option pricing is not converted. This can cause no pricing to be determined for config options, leading to the following error:
          >Trying to get property of non-object on line 4486 in /app/controllers/admin_clients.php

          If error reporting is off, the term/currency is not shown (see screenshot attached), and the invoice is created without the config options.
          When an admin adds a client for a service, they can select a package, config options, and addons.

          If the client has a default currency set that is not the same as the selected package, then the pricing is converted. However, config option pricing is not converted. This can cause no pricing to be determined for config options, leading to the following error:
          >Trying to get property of non-object on line 4486 in /app/controllers/admin_clients.php

          If error reporting is off, the term/currency is not shown in the description (see screenshot attached), and the invoice is created without the config options.
          tyson Tyson Phillips (Inactive) made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          tyson Tyson Phillips (Inactive) made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              tyson Tyson Phillips (Inactive)
              Reporter:
              tyson Tyson Phillips (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                24/Sep/14