No report without printformat window access

Description

I created a new role and gave it manual rights. The role has no rights for the "Print Format" window. If a user with this role opens a swing report an error window without a message opens and in the Window for "System Error Messages" (and on console) is an NullpointerException "at org.compiere.print.Viewer.fillComboReport(Viewer.java:458)".

There I see that this function does not deal right with a null value for MRole.getWindowAccess().

Environment

None

Activity

Show:
Thomas Bayen
February 22, 2013, 7:38 PM
Carlos Ruiz
March 7, 2013, 4:08 AM

Thanks Thomas, accepted your patch and implemented the same on zk

Thomas Bayen
December 27, 2013, 1:55 PM

Reopened Issue only for better labeling in the issue tracker. Nothing else changed.

Assignee

Thomas Bayen

Reporter

Thomas Bayen

Labels

Tested By

None

Components

Affects versions

Priority

Minor
Configure