Child pages
  • [in-commerce] Possible no permission error, while accessing shipping type details on Front-End
Skip to end of metadata
Go to start of metadata

Imported From: http://groups.google.com/group/in-portal-bugs/browse_thread/thread/a3889ac5acf1afbf#

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.

Related Tasks

MINC-54 - Getting issue details... STATUS

1 Comment

  1. Since no response here for ~2 months I've created a task:

    MINC-54 - Getting issue details... STATUS