Keyword

The content of K2 Extra Fields is deleted after frontend editing

  • Greg
  • Greg's Avatar Topic Author
  • Offline
  • Junior Member
More
6 years 6 months ago - 6 years 6 months ago #167821 by Greg
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: 6 years 6 months ago by Greg.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 6 months ago #167834 by Krikor Boghossian
Hello Greg,

Can you backup and install the 2.8.1 DEV version?

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Greg
  • Greg's Avatar Topic Author
  • Offline
  • Junior Member
More
6 years 6 months ago #167842 by Greg
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.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 6 months ago #167868 by Krikor Boghossian
Are you by any chances using overrides for the itemform.php file?

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Greg
  • Greg's Avatar Topic Author
  • Offline
  • Junior Member
More
6 years 6 months ago #167876 by Greg
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.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 6 months ago #167934 by Krikor Boghossian
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

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Greg
  • Greg's Avatar Topic Author
  • Offline
  • Junior Member
More
6 years 6 months ago #167942 by Greg

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 6 months ago #168006 by Krikor Boghossian
You 're welcome Greg :)

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Greg
  • Greg's Avatar Topic Author
  • Offline
  • Junior Member
More
6 years 2 months ago - 6 years 2 months ago #169041 by Greg
Hi, is there any progress to this problem? I have already tried all the updates of the project but with no luck.
Last edit: 6 years 2 months ago by Greg.

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

More
6 years 2 months ago #169045 by JoomlaWorks
Just to clarify, extra fields are disabled for editing from the K2 settings right? If so, how can you edit them in the frontend and save?

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum