この会話は、活動がないためロックされています。新しい投稿を作成してください。
この会話は、活動がないためロックされています。新しい投稿を作成してください。
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!
解決済! 解決策の投稿を見る。
表示
返信
いいね!の合計
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
表示
返信
いいね!の合計
You should be seeing these options in the dropdown:
表示
返信
いいね!の合計
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:
表示
返信
いいね!の合計
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
表示
返信
いいね!の合計
NIce reply!
表示
返信
いいね!の合計
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:
表示
返信
いいね!の合計
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
表示
返信
いいね!の合計
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
表示
返信
いいね!の合計
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
表示
返信
いいね!の合計
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?