Can't override Prefixes from Cloned Sub-Items [5.1.1-B2]

2 views
Skip to first unread message

Dmitry A.

unread,
Nov 3, 2010, 7:42:03 PM11/3/10
to In-Portal Bugs Team
Hi everyone,


We have found a new bug related to customizing and extending default
functionality of In-Portal.

The issue is there since 5.1.0 release where we have reworked the way
of caching parsed Unit Configs. This change affects the ability to
override Sub-Item Prefixes created by Cloning from the general Prefix.
One of the examples is Catalog Item Images (prefix: img), Comments
(formal reviews, prefix: rev), Files (prefix: file) and some others.

This is the error you would see:

Fatal error: Class 'ReviewsEventHandler' not found in /home/simone/web/
users/5.1.x-export/modules/custom/units/sections/e_review_eh.php on
line 4

I have came across this when upgraded custom code from 5.0.1 to 5.1.1-
B2


Here is a task for it:

Can't override Prefixes from Cloned Sub-Items

http://tracker.in-portal.org/view.php?id=920

Patch is coming soon.

DA

Dmitry Andrejev

unread,
Nov 4, 2010, 11:19:05 AM11/4/10
to In-Portal Bugs Team
Hi guys,

Patches attached and ready for tests.

Please mark task as tested if all good.


Thanks

DA


--
You received this message because you are subscribed to the Google Groups "In-Portal Bugs Team" group.
To post to this group, send email to in-port...@googlegroups.com.
To unsubscribe from this group, send email to in-portal-bug...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/in-portal-bugs?hl=en.




--


Best regards,

Dmitry A.

Override-Prefixes-from-Cloned-SubItems-CORE.patch
Override-Prefixes-from-Cloned-SubItems-CUSTOM.patch

Alexander Obuhovich

unread,
Nov 5, 2010, 4:36:53 PM11/5/10
to in-port...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages