0

mergeExceptionInfo not merging permission errors

asked 2017-01-04 20:27:48 +0800

scottz gravatar image scottz
1

In our app we have a couple of nested .zuls that are based on the same permission : @Permissions(feature="Radio Log.radio log")

In the scenario I'm trying to clean up, the user does not have the required permission. What we are seeing in the error message displayed to the user is :

Exception Type: class org.zkoss.zk.ui.UiException Exception: org.zkoss.zk.ui.UiException: You might need one or more of these permissions to access this page: Radio Log.radio log at [file:/C:/xxxxxxxxxxxxx/dynamic-public-safety/DPS/WebContent/cad/RadiologCallDetail.zul, line:9] You might need one or more of these permissions to access this page: Radio Log.radio log

What we want to see:

You might need one or more of these permissions to access this page: Radio Log.radio log

I'm guessing that because the same exception for permissions is being thrown by two different zul/VMs that mergeExceptionInfo is not merging them because they are not thrown from the same line/file.

Is this a known issue? Is there a workaround/solution? Any thoughts/ideas to try?

delete flag offensive retag edit
Be the first one to answer this question!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2017-01-04 20:27:48 +0800

Seen: 19 times

Last updated: Jan 04 '17

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More