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

1 view
Skip to first unread message

Alexander Obuhovich

unread,
Jan 28, 2010, 3:06:32 AM1/28/10
to In-Portal Bugs
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.

--
Best Regards,

http://www.in-portal.com
http://www.alex-time.com

Alexander Obuhovich

unread,
Mar 27, 2010, 6:25:58 PM3/27/10
to In-Portal Bugs
Since no response here for ~2 months I've created a task: http://tracker.in-portal.org/view.php?id=661
Reply all
Reply to author
Forward
0 new messages