Message Boards

Custom Panel App Scope Group Error

thumbnail
Tommaso Matticchio, modified 2 Years ago.

Custom Panel App Scope Group Error

New Member Posts: 2 Join Date: 6/26/20 Recent Posts

Hi all,

I have this strange behavior: I created a custom panel category at the site administration level, and a custom panel app daughter of the custom panel category. I noticed that when I browse a Control Panel page (for example, User management) and then go back to my Panel App, I have lost the reference to the correct group, and this thing, as you can imagine, generates a series of problems. I've followed the lifeary official documentation (eg: https://help.liferay.com/hc/en-us/articles/360031167971-Adding-Custom-Panel-Apps) and I'm in a lifeary 7.2 portal

One thing that I've noticed is that the URL for the custom panel app is a little bit different from the "vanilla" ones, like for the Sites Page panel app I have this URL:

http://localhost:8080/group/sito-di-test/~/control_panel/manage?p_p_id=com_liferay_layout_admin_web_portlet_GroupPagesPortlet&p_p_lifecycle=0&p_p_state=maximized&p_v_l_s_g_id=290056&p_p_auth=u9U9wkol 

while for my custom panel app I have this URL:

http://localhost:8080/group/control_panel/manage?p_p_id=it_test_ExampleAdminPortlet&p_p_lifecycle=0&p_p_state=maximized&p_v_l_s_g_id=290056

So it has lost the /group/sito-di-test/ and also the /~

Anyone with the same problem? Can someone help me resolving this?

Any help is welcome 
Thanks

Tommaso