Uploaded image for project: 'In-Commerce'
  1. In-Commerce
  2. MINC-54

Possible no permission error, while accessing shipping type details on Front-End

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.0.3-B1
    • Fix Version/s: 5.1.1-B1
    • Component/s: General
    • Labels:
      None

      Description

      It's possible, that no permission error will occur, while accessing shipping type details on Front-End. Problem source could be hidden inside ShippingEventHandler::OnAfterItemLoad method contents. Inside that method object of "sc" prefix (shipping cost) is retrieved and manipulated. It's not clear to me why we need to do that all, but still need to checked out.

      To test that you need to create a custom tag (in ShippingTagProcessor), with such code:
      $object =& $this->getObject( Array ('skip_autoload' => true) );
      /* @var $object kDBItem */

      $object->Load(1);

      Shipping type with ID = 1 already should exist before testing is started. Perform this on Front-End with logged-in/guest users and in administrative console (on shipping type editing) by "root" / admin user.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Alex
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: