Hi everyone!
When I open any of existing pages on author environment and click on "Page information" button (at the top left corner):
- at first I see "Request Publication" in dropdown menu;
- then, I close menu and open it again (after 30sec-1minute):
- after it I see "Publish Page".
Do you have any ideas what the possible solution for such issue? Also, on the pages where we have lots of components, I am waiting for publication ~ 3-4 minutes.
AEM version: 6.2 (without service packs)
Thanks in advance!
Solved! Go to Solution.
Views
Replies
Total Likes
Hi!
I found the actual problem at /libs/granite/ui/components/foundation/renderconditions/privilege/privilege.jsp
The actual trouble on line №53... After getting path trough cmp.getExpressionHelper() it returns the path with ".html" and then it tries to getResource with the ".html" and it's wrong.
I overlay jsp under /apps/ folder and remove ".html" if path contains.
If someone encounters with such problem, I hope it will be helpful.
Thanks
Yevhenii
Views
Replies
Total Likes
You should be seeing these options in the dropdown:
Views
Replies
Total Likes
At first, while page is loading, I click on page "Page Information":
Then I am waiting for some time, and I see the right options:
Views
Replies
Total Likes
Hi,
I can also see this in 6.3 but page info node has publish and request for publish
/libs/wcm/core/content/editor/jcr:content/content/items/content/header/items/headerbar/items/pageinfopopover/items/list/items
what is the issue here with changing action items?
Thanks
Arun
Views
Replies
Total Likes
Hi Arun,
The actual problem, that for content authors it is confusing to see at first "Request Publication" and after some time "Publish Page". It should be always "Publish Page".
Thanks
Yevhenii
Views
Replies
Total Likes
Hi,
If you worried about only a title, you overlay and change the title(granite:title) of node to "Publish Page" /libs/wcm/core/content/editor/jcr:content/content/items/content/header/items/headerbar/items/pageinfopopover/items/list/items/requestpublish
Thanks
Arun
Views
Replies
Total Likes
NIce reply!
Views
Replies
Total Likes
Unfortunately, the renaming of dialog's buttons isn't a solution for me, because they have different behavior.
1) If you click on "Request publication" button, you'll see the following:
2) If you click on "Publish page" button, you'll see next:
Views
Replies
Total Likes
Then you can adapt /libs/wcm/core/content/editor/jcr:content/content/items/content/header/items/headerbar/it ems/pageinfopopover/items/list/items/requestpublish like libs/wcm/core/content/editor/jcr:content/content/items/content/header/items/headerbar/it ems/pageinfopopover/items/list/items/publish
you can overlay and changed the property of requestpublish node if you don't want to use.
Thanks
Arun
Views
Replies
Total Likes
This solution seems to be a workaround, but it doesn't solve the actual problem. Basically, the logic of this granite component consist in adapting resource resolver to session, getting access control manager from session, and then check if the user has privileges for certain paths. Also, I debugged the jsp (/libs/granite/ui/components/foundation/renderconditions/privilege/privilege.jsp/jcr:content) and it constantly has necessary privileges, but the UI is wrong at dropdown menu.
Thanks
Yevhenii
Views
Replies
Total Likes
Hi!
I found the actual problem at /libs/granite/ui/components/foundation/renderconditions/privilege/privilege.jsp
The actual trouble on line №53... After getting path trough cmp.getExpressionHelper() it returns the path with ".html" and then it tries to getResource with the ".html" and it's wrong.
I overlay jsp under /apps/ folder and remove ".html" if path contains.
If someone encounters with such problem, I hope it will be helpful.
Thanks
Yevhenii
Views
Replies
Total Likes
Thanks for sharing the fix.
I am just wondering if this is the bug in Coral Previlege components? would it going to impact other places also as we are using privilege component as other places as well.
smacdonald2008 any thoughts?