500 - Can not edit item, because item id is not set

More
12 years 1 month ago #28507 by yaK2manD
Hello,


I have the following error : 500 - Can not edit item, because item id is not set
when the my personal script return false.


Is that normal ?

Edit : J!2.5 / r1475

Thank you

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

More
12 years 1 month ago #28509 by ggppdk
This means that the HTTP Request GET/POST variable cid (backend) or id (frontend) is not set and thus the item model does not know which item to edit

You mean you return false where, you mean inside the plugin function onBeforeSaveField() ???


-- 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...

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

More
12 years 1 month ago #28513 by yaK2manD
exactly. inside the plugin function onBeforeSaveField()


code.google.com/p/flexicontent/i ... %20Summary

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

More
12 years 1 month ago #28514 by ggppdk
Which revision do you use?

is it when clicking to create new item?


Returning false on a new item, will not create the item, but i think we redirecting to a new item form again


-- 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...

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

More
12 years 1 month ago #28526 by yaK2manD
I use r1475.

Yes, it is on creation.

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

More
12 years 1 month ago #28527 by ggppdk
Ok i ll test and fix this later today


-- 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...

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.307 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