Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-14703

wrong usage of productOptionInformation

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 4.0.4, 4.1.1, 4.2.0alpha1
    • 4.0.3, 4.1.0
    • Misc
    • None

    Description

      Hi,

      eZDatatype:

      function productOptionInformation( $objectAttribute, $optionID, $productItem )

      kernel\classes\ezproductcollectionitem.php

      eZProductCollectionItem::calculatePriceWithOptions
      Line 234:
      $optionData = $dataType->productOptionInformation( $objectAttribute, $option->attribute( 'option_item_id' ), $this, $option );

      productOptionInformation allows only 3 params, but eZProductCollectionItem::calculatePriceWithOptions uses 4.

      Also ez 4.0.x is affected.

      Best wishes,
      Georg.

      Attachments

        Activity

          People

            andre1 andre1
            emil.webber emil.webber
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: