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

Order plugin: Undefined variable $pricing_id

    Details

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

      Description

      When using the "Wizard List" order form and not passing in a 'pricing_id' GET parameter to an order form, the following error may be generated:

      Undefined variable: pricing_id on line 100 of /plugins/order/views/templates/wizard/main_packages.pdt

      It looks like the variable is presumed to always exist when it may not.

      See https://www.blesta.com/forums/index.php?/topic/11892-switching-currency-in-order-form/

        Activity

        tyson Tyson Phillips (Inactive) created issue -
        tyson Tyson Phillips (Inactive) made changes -
        Field Original Value New Value
        Rank Ranked higher
        tyson Tyson Phillips (Inactive) made changes -
        Sprint 4.4.0 Sprint 3 [ 59 ]
        tyson Tyson Phillips (Inactive) made changes -
        Rank Ranked higher
        Automated transition triggered when Tyson Phillips (Inactive) created a branch in Stash -
        Status Open [ 1 ] In Progress [ 3 ]
        Automated transition triggered when Tyson Phillips (Inactive) created pull request #67 in Stash -
        Status In Progress [ 3 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]
        tyson Tyson Phillips (Inactive) made changes -
        Description When using the "Wizard List" order form and not passing in a 'pricing_id' GET parameter to an order form, the following error may be generated:

        {quote}
        Undefined variable: pricing_id on line 100 of /plugins/order/views/templates/wizard/main_packages.pdt
        {quote}

        It looks like the variable is presumed to always exist when it may not.
        When using the "Wizard List" order form and not passing in a 'pricing_id' GET parameter to an order form, the following error may be generated:

        {quote}
        Undefined variable: pricing_id on line 100 of /plugins/order/views/templates/wizard/main_packages.pdt
        {quote}

        It looks like the variable is presumed to always exist when it may not.

        See https://www.blesta.com/forums/index.php?/topic/11892-switching-currency-in-order-form/
        tyson Tyson Phillips (Inactive) made changes -
        Sprint 4.4.0 Sprint 3 [ 59 ] 4.4.0 Sprint 3, 4.4.0 Sprint 4 [ 59, 71 ]
        tyson Tyson Phillips (Inactive) made changes -
        Rank Ranked higher
        Automated transition triggered when Tyson Phillips (Inactive) merged pull request #67 in Stash -
        Status In Review [ 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:
              22/Oct/18

              Agile