Keyword

Problem with Extra Fields Groups

  • Greg
  • Greg's Avatar Topic Author
  • Offline
  • Junior Member
More
6 years 3 months ago - 6 years 3 months ago #170891 by Greg
Problem with Extra Fields Groups was created by Greg
Hi, there is a problem with choosing the Associated "Extra Fields Group" at the corresponding dropdown field when editing a K2 Category. Lets assume the following example, I have six groups (A1-A6) and I have chosen 10 groups to be shown (image 1), then when I edit a K2 Category the 6 available groups are shown in the dropdown (image 2) and everything works fine. However, when I choose to fetch only 5 groups per page (image 3) then the 6th group is not available anymore in the dropdown list of the Category (image 4). This caused me a lot of trouble because 1) I accidentally removed the Associated group when I saved the Category without noticing that (it was like removing the Associated group intentionally) and 2) I lost the extra fields' content of the K2 items of that category, which I made changes.

The above are also tested in a new clean installation of 3.9.2 Joomla and 2.9.0 K2.

Attachments:
Last edit: 6 years 3 months ago by Greg.

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

More
6 years 3 months ago #170895 by JoomlaWorks
Replied by JoomlaWorks on topic Problem with Extra Fields Groups
Good catch :)

It seems we're using the same data model to render both lists and as such a limit is applied in both cases from the pagination cookie. I'll modify the code to bypass this limit when appearing in form dropdowns and also check for similar issues with other data lists.

I'll keep you posted once I fix this today.

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

More
6 years 3 months ago - 6 years 3 months ago #170897 by JoomlaWorks
Replied by JoomlaWorks on topic Problem with Extra Fields Groups
Fixed in v2.9.1 (dev) which you can grab from github.com/getk2/k2/archive/master.zip and simply install on top of what you have already. The dropdown was also fixed in the categories' batch routine.
Last edit: 6 years 3 months ago by JoomlaWorks.

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

  • Greg
  • Greg's Avatar Topic Author
  • Offline
  • Junior Member
More
6 years 3 months ago #170910 by Greg
Replied by Greg on topic Problem with Extra Fields Groups
Thank you very much!!!

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

More
6 years 3 months ago #170912 by JoomlaWorks
Replied by JoomlaWorks on topic Problem with Extra Fields Groups
You're welcome.

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

  • Greg
  • Greg's Avatar Topic Author
  • Offline
  • Junior Member
More
6 years 3 months ago - 6 years 3 months ago #170915 by Greg
Replied by Greg on topic Problem with Extra Fields Groups
Unfortunately, after the update I face a front end problem. When I edit a Κ2 item (or adding a new one) then automatically it get unpublished. Then, I have to publish it from back end.
Last edit: 6 years 3 months ago by Greg.

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

More
6 years 3 months ago #170916 by JoomlaWorks
Replied by JoomlaWorks on topic Problem with Extra Fields Groups
Check your frontend permissions in the related K2 User Group.

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

  • Greg
  • Greg's Avatar Topic Author
  • Offline
  • Junior Member
More
6 years 3 months ago #170917 by Greg
Replied by Greg on topic Problem with Extra Fields Groups
Thank you for the response. I have already checked this with no luck.

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

More
6 years 3 months ago #170918 by JoomlaWorks
Replied by JoomlaWorks on topic Problem with Extra Fields Groups
Can you share a screenshot of your settings please? Also, make sure the user you use (or others used) belongs to the correct K2 User Group.

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

  • Greg
  • Greg's Avatar Topic Author
  • Offline
  • Junior Member
More
6 years 3 months ago - 6 years 3 months ago #170928 by Greg
Replied by Greg on topic Problem with Extra Fields Groups
After applying the above fix for K2, the problem happens on 3 sites as well as on the clean installation used in the first post. To be as sure as possible for the cause of the problem, I am sending the front end settings of the clean installation.
Attachments:
Last edit: 6 years 3 months ago by Greg.

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

  • Greg
  • Greg's Avatar Topic Author
  • Offline
  • Junior Member
More
6 years 3 months ago #170950 by Greg
Replied by Greg on topic Problem with Extra Fields Groups
Does anyone has any idea on this? I have not found a solution and it is urgent.

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

More
6 years 3 months ago #170984 by JoomlaWorks
Replied by JoomlaWorks on topic Problem with Extra Fields Groups
I don't see how these 2 are relevant. Have you installed any other K2 plugins in the meantime? Or change the order in plugins?

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

  • Greg
  • Greg's Avatar Topic Author
  • Offline
  • Junior Member
More
6 years 3 months ago #171008 by Greg
Replied by Greg on topic Problem with Extra Fields Groups
Thanks for the reply! There should be relevance since the problem exists also in a clean installation of Joomla 3.9.2 in which I have only installed K2 and then I updated it with the latest K2 version from Git hub. Notice, that when I reinstall the K2 version from JoomlaWorks the front-end issue is vanished.

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

More
6 years 3 months ago #171013 by JoomlaWorks
Replied by JoomlaWorks on topic Problem with Extra Fields Groups
I can't confirm it. Additionally, v2.9.0 has broken publish permissions. These are all fixed in v2.9.1 (dev) using github.com/getk2/k2/archive/master.zip - I hope you understand that the link constantly changes with what gets added/changed in K2.

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

  • Greg
  • Greg's Avatar Topic Author
  • Offline
  • Junior Member
More
6 years 3 months ago - 6 years 3 months ago #171032 by Greg
Replied by Greg on topic Problem with Extra Fields Groups
I fully understand that the K2 version on Git Hub is constantly changing, thus I have tried every version all these days.

I give below a .gif about the problem that I face with a clean Joomla 3.9.2 and the today version of K2 from Git Hub.

gifyu.com/image/wfLM
Attachments:
Last edit: 6 years 3 months ago by Greg.

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

More
6 years 3 months ago #171038 by JoomlaWorks
Replied by JoomlaWorks on topic Problem with Extra Fields Groups
OK, got it. This only occurs for new items added in the frontend, not every item. I'll get back to you in a while.

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

More
6 years 3 months ago #171042 by JoomlaWorks
Replied by JoomlaWorks on topic Problem with Extra Fields Groups
Can you please get the latest GitHub export and check again? It should now be resolved.

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

More
6 years 2 months ago #171065 by Christos Aposkitis
Replied by Christos Aposkitis on topic Problem with Extra Fields Groups
Yes indeed! Thank you once again for the support!

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

More
6 years 2 months ago #171069 by JoomlaWorks
Replied by JoomlaWorks on topic Problem with Extra Fields Groups
You're welcome.

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


Powered by Kunena Forum