Foros de discusión

User Group: children pages being added to wrong parent page

Yogesh Gowdra, modificado hace 14 años.

User Group: children pages being added to wrong parent page

Junior Member Mensajes: 31 Fecha de incorporación: 6/04/09 Mensajes recientes
I have a scenario where I need to add user to 2 user groups:
Group A: Page 1, Page 2
Group B: Page 3
- child page 1
- child page 2

Note Page 1, page 2 etc are the actual page names and they are unique.

When user is assigned to above 2 groups, for some reason "child page1", "child page2" are being added as child pages to Page 1 (instead of Page 3). I had a look at layout table for this. For some reason it assigns layout id:1 to first page being added and it uses layout id:1 as parent ID for these child pages.

But if I add user to Group B first and then Group A, it works correctly.

Do you know why is this happening? How do I rectify this?

Thanks
thumbnail
Matthew Ropp, modificado hace 14 años.

RE: User Group: children pages being added to wrong parent page

Junior Member Mensajes: 75 Fecha de incorporación: 5/08/09 Mensajes recientes
Yogesh Gowdra:

When user is assigned to above 2 groups, for some reason "child page1", "child page2" are being added as child pages to Page 1 (instead of Page 3). I had a look at layout table for this. For some reason it assigns layout id:1 to first page being added and it uses layout id:1 as parent ID for these child pages.

But if I add user to Group B first and then Group A, it works correctly.


Sounds like a bug. I don't have any advice for you (other than do group B first in the meantime), but you should submit it so hopefully someone can fix it.
Yogesh Gowdra, modificado hace 14 años.

RE: User Group: children pages being added to wrong parent page

Junior Member Mensajes: 31 Fecha de incorporación: 6/04/09 Mensajes recientes
Thanks Mathew. I have already reported an bug here: http://issues.liferay.com/browse/LPS-5013
thumbnail
Matthew Ropp, modificado hace 14 años.

RE: User Group: children pages being added to wrong parent page

Junior Member Mensajes: 75 Fecha de incorporación: 5/08/09 Mensajes recientes
Great. You are way ahead of me!

Matthew