116 Posts
nycxav
10 years ago
5
Topic

Hi, 

I have had a major issue with access rights. I suspect that the app folder got somehow corrupted but I don't know how to fix it or make sure it doesn't happen again. Here is the sequence of events:

1) I created an app folder let's call it Folder1 and a number of content types with custom access rights for various use groups. It worked for some time with no issue. 

2) suddenly content type after content type, I started having access rights issue. It looked like access rights were reset to the default values assigned when creating a new content type. I could not identify what triggered the problem and it occurred not all content types at a time but with a few days delay between each problem for no apparent reason. The site was just being used (content viewed and added through the front end forms), not modified in any way , not maintained (no upgrade of components) , no change in config.

3) after the access rights issue, when trying to edit the content type I had an "Invalid Parent ID" message. which led me to think it might be a problem with the app folder. So I created a second app folder let's call it Folder2 to which I transferred the broken content type and reconfigured the access rights for my broken content type. This fixed the issue. I since have transferred my content types to Folder2 , one by one, after they started breaking. It's been stable since.

So it seems that the Folder1 corruption was the cause of my problem by how did that happen? 

How can I make sure it won;t happen again?

Has anyone had similar problems?

The site is running Joomla 3.3.3 and seblod 3.3.6. 

Thanks.


Xav.

Get a VIP membership
4229 Posts
Kadministrator
10 years ago
0
Level 1

Hi,

normally this does not happen, so you would firs need to find out why and how did it happen at the first place. Instead of doing everything from scratch you can try using content type verisoning feature to go back to one of previous versions, you can also export your app as a kind of backup.

116 Posts
nycxav
10 years ago
0
Level 1

Hi Klas, 

Thanks for your reply. 

Luckily I didn't have to redo everything (given my number of content types it would have been weeks of work...)

I just open the content types, change the folder and save. The only thing I lost is permissions. 

Exporting the config as an app is a good idea though I have sometimes in the past had problems with this feature. 

As for the "why" and "how" that's mostly what I'm interested in and trying to figure out if others had the same problem to try and identify a pattern because so far I have no clue as per "why" or "how" it happened. 

If anyone faced the same problem it would be helpful if they could report the context and maybe we will see a pattern emerge. 

Regards.
X. 

116 Posts
nycxav
10 years ago
0
Level 1

Hi, 

I exported my App folder as recommended by Klas and while I was on the screen I noticed a "Rebuild" button in the tool bar. 

What does this rebuild do exactly?

I wonder if it could have fixed my problem.

Regards. 

116 Posts
nycxav
8 years ago
1
Level 1

Hi, again my client was experiencing the same issue for a different content type on their site. 

Googling "Seblod Invalid Parent ID" I came across a similar topic:

https://www.seblod.com/community/forums/forms-content-types/error-invalid-parent-id-same-alias

And same here I don't know why but opening and saving the category of the content type fixed the issue. 

Any idea why?

Thanks.

4229 Posts
Kadministrator
8 years ago
0
Level 2

What probably happened is tha category tree in joomla got broken, saving category takes care about that.

Get a Book for SEBLOD