hwdevteam VIP
Total posts: 76
02 Feb 2015 22:09

We updated Cobalt last week and the update broke our site.

We have discovered a critic bug, as follows:

We have many Categories under 1 Section.

Each Category has different Group Access set (Joomla Groups/Access) with a different set of users accessing each Categorys records.

We basically want to manage who can see the "New Records" buttons using Joomla Groups..

HOWEVER, When we modify the User Group in (Category, Markup Template) other Categories get changed as well.

The system is now completely unworkable. Even when we save a recent Category record, it changes the Group Access to something else.

This is pretty urgent, and I assume a far reaching issue?

Last Modified: 02 Mar 2015


Sergey
Total posts: 13,748
04 Feb 2015 01:10

Are you expecting one category inherit parameters of the other category?


hwdevteam VIP
Total posts: 76
04 Feb 2015 02:47

When we update the: Category > Markup Template > Section Menu > Menu Elements > New Records to be a specific Joomla User Group View Access, the new setting also gets applies to other seemingly random Categories.

The only Categories that are definately NOT updated, are the categories we created a long time ago (6 months ago)

When we change this parameter, it should NOT be applied to any other Categories, otherwise we may as well inherit this setting from the Section.

This is how we replicate the issue:

  1. Create Category 1
  2. Create Category 2

  3. Apply Group Access Level "Group 1" to Category 1 only.

  4. Apply Group Access Level "Group 2" to Category 2 only.

Both Categories now have the Group Access "Group 2".

j3.3.6-cobalt-category-template-group-access


hwdevteam VIP
Total posts: 76
04 Feb 2015 02:56

This seems to be where the issue lies.. Does this config folder look OK to you?

j3.3.6-cobalt-config-template-settings


Konstantin
Total posts: 1,113
04 Feb 2015 06:35

peter.needham This is how we replicate the issue:

  1. Create Category 1
  2. Create Category 2

  3. Apply Group Access Level "Group 1" to Category 1 only.

  4. Apply Group Access Level "Group 2" to Category 2 only.

Both Categories now have the Group Access "Group 2".

Check this and I haven't this issue.

peter.needham Does this config folder look OK to you?

Yes it's look ok, cause every setting of markup template in category create own json file.


Sergey
Total posts: 13,748
04 Feb 2015 10:46

It looks like you made a copy of category and it created the same key for both.

Just try to open category edit and append to URL &newkey=1. This will create new key for templates.


hwdevteam VIP
Total posts: 76
07 Feb 2015 02:41

Sergey - that sounds like it may be the case.

However, we created a lot of the categories origonally by copying them, but it was only the later added ones that were having this issue.

Can I assume that the underlying code copies the json file, and saves it with the new MD5, but does not update the contents with the new category Access Permissions ?

Cheers, Pete


Sergey
Total posts: 13,748
09 Feb 2015 10:00

peter.needham Can I assume that the underlying code copies the json file, and saves it with the new MD5, but does not update the contents with the new category Access Permissions ?

No. It only updated key in value name. You have to edit template settings to create new config file.


hwdevteam VIP
Total posts: 76
01 Mar 2015 12:05

But this happens when we edit the Template file settings .. ? It updates all the records it was copied from ..

??


Sergey
Total posts: 13,748
02 Mar 2015 11:31

No it only resed configuration of item you edit right now.

Powered by Cobalt