Error Category override when submitting a new item

More
9 years 8 months ago - 9 years 8 months ago #53547 by jonjegbisrepetita
Hello,
I'm working in the v2.2 stable release and encoutered a weird behaviour in the submitting of a new item from the item form from the menu item with category override on.
I'm planning on creating a item form where the main category where the item is submitted is read-only and already setted.
I got two categories :
-CatA
--CatB
Current user can create in CatA.
I got a type MyType.
Current user can create in CatA.
All users can assign multiple categories to an item. It's happen even logged as Super User.
i create a menu item for the item form and choose the type MyType and activate the category ACL override with the selection mode on "All above"
So the weirdness begin: depending on the settings sometimes the submission end with an error, sometimes the main category is changed
MyType Main Category SubtreeMyType Main Category DefaultMyType Secondaries Categories SubtreeMyType Secondaries Categories DefaultMenu item selected CategoriesMenu item default Main categoryResultResult Main CatResult Secondaries
CatACatANoneNoneCatBCatBRedirected to index.php?option=com_flexicontent&task=items.add&typeid=14&jqsldnlqsndlkqnd=1
Error when saving item: main category is not in allowed list (form tempered?)
CatACatA
NoneNoneNoneNoneCatBCatBSave successful: MainCategory of item: CatB
But no control anymore on the main cat subtree of the type MyType apart from not giving right to edit it
CatBCatB
CatACatANoneNoneCatB,CatACatBSave success but now got both the parent categoryCatBCatB,CatA
CatACatANoneNoneCatB,CatACatASave success but now got both the parent categoryCatACatB,CatA
CatACatANoneNoneCatBCatARedirected to index.php?option=com_flexicontent&task=items.add&typeid=14&jqsldnlqsndlkqnd=1
Error when saving item: main category is not in allowed list (form tempered?)
CatACatA
The category hierarchy doesn't seem to be take into account.
Any workaround, code snippet to apply? does that bug already fixed in the v3 release candidate?
Last edit: 9 years 8 months ago by jonjegbisrepetita.

Please Log in or Create an account to join the conversation.

More
9 years 8 months ago - 9 years 8 months ago #53585 by ggppdk
Hello

you will need to use v3 BETA6 before i would consider this, since related code has changed / fixed / improved

Backup and then install:

github.com/FLEXIcontent/flexicontent-cck...3.0.0_Beta6_nightly1


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Last edit: 9 years 8 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.363 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline