Keyword

The content of K2 Extra Fields is deleted after frontend editing

More
2 weeks 1 day ago - 2 weeks 1 day ago #167821 by Greg
Greg created the topic: The content of K2 Extra Fields is deleted after frontend editing
Hi I a have critical problem with the K2 extra fields and the Joomla v 3.8.7 and K2 v 2.8.0 .

I have the 'Extra fields' tab on edit form disabled for frontend editing, however when I edit a K2 item from the frontend then the whole content of the K2 extra fields is deleted. I noticed that this is happening only after the last update to Joomla 3.8.7.

Notice that when the 'Extra fields' tab on edit form is enabled for frontend editing then the content of the K2 extra fields remains after frontend editing on a K2 item.

Thank you in advance for any assistance!
Last Edit: 2 weeks 1 day ago by Greg.

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

More
2 weeks 1 day ago #167834 by Krikor
Krikor replied the topic: The content of K2 Extra Fields is deleted after frontend editing
Hello Greg,

Can you backup and install the 2.8.1 DEV version?

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

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

More
2 weeks 18 hours ago #167842 by Greg
Greg replied the topic: The content of K2 Extra Fields is deleted after frontend editing
Thank you for the response! I tried with no luck the current K2 version 2.8.1 available from Github (please provide me with the right link in case I have downloaded it from the wrong source). I suppose that an additional check is needed (if content exists or not in k2 item extra fields) when the frontend editing is disabled for extra fields, so as to prohibit to write empty values back to db.

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

More
1 week 6 days ago #167868 by Krikor
Krikor replied the topic: The content of K2 Extra Fields is deleted after frontend editing
Are you by any chances using overrides for the itemform.php file?

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

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

More
1 week 5 days ago #167876 by Greg
Greg replied the topic: The content of K2 Extra Fields is deleted after frontend editing
Hi Krikor thak you for the interest!
I am using a template override for K2, however in itemform.php I have not changed something, it contains only the following:
require_once(JPATH_SITE.'/administrator/components/com_k2/views/item/tmpl/default.php');

Also before posting I have tried with no luck the following:

1) I removed the override so as to check if it is responsible for the problem.
2) I tried a fresh installation of last Joomla with both the K2 2.8.0 and the dev version from Github.
3) I checked if the issue might be caused from the editor, however the result is the same with both the built in editors and JCE.

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

More
1 week 5 hours ago #167934 by Krikor
Krikor replied the topic: The content of K2 Extra Fields is deleted after frontend editing
We are working on a fix, you can bookmark our repo in order to stay up to date.
github.com/getk2/k2

Also, thank you for reporting this. Feedback is invaluable to us

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

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

More
6 days 19 hours ago #167942 by Greg
Greg replied the topic: The content of K2 Extra Fields is deleted after frontend editing
Thank you!

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

More
9 hours 56 minutes ago #168006 by Krikor
Krikor replied the topic: The content of K2 Extra Fields is deleted after frontend editing
You 're welcome Greg :)

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

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

Moderators: william white