[jira] [Commented] (OFBIZ-4206) Project Manager throws error if project user is not assigned to every project

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-4206) Project Manager throws error if project user is not assigned to every project

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-4206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14053466#comment-14053466 ]

Pierre Smits commented on OFBIZ-4206:
-------------------------------------

Jacques,

The situation still exists.
You can test this (for yourself) by creating a new user in the demo environment for R12.. (designated '12.04 Release Branch Demo (old) ' on the OFBiz website). When testing it, the user should have role PROVIDER_FUNCTIONAL and permission PROJECTUSER.

It can NOT be tested in the other demo environment (designated '13.07 Release Branch Demo (stable)' on the OFBiz website), as the Project Management component - like many other in the special purpose stack -  is not included in this demo environment.

Regards,

Pierre



> Project Manager throws error if project user is not assigned to every project
> -----------------------------------------------------------------------------
>
>                 Key: OFBIZ-4206
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4206
>             Project: OFBiz
>          Issue Type: Bug
>          Components: specialpurpose/projectmgr
>    Affects Versions: Release 09.04
>         Environment: RHEL 5.5 32 bit JDK
>            Reporter: Tolulope Aganga-Williams
>            Priority: Minor
>              Labels: patch
>         Attachments: ofbiz-trunk-projectmgr-commonscreens-20110722.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> The project manager returns an error on the main page unless every user is added to every single project. It should return a list of just the projects the user is assigned to.
> :ERROR MESSAGE:
> org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.IllegalArgumentException: Error running Groovy script at location [component://projectmgr/webapp/projectmgr/WEB-INF/actions/ListCurrentProjects.groovy]: org.ofbiz.service.ServiceAuthException: You have no access to the project#: 10040 (Error running Groovy script at location [component://projectmgr/webapp/projectmgr/WEB-INF/actions/ListCurrentProjects.groovy]: org.ofbiz.service.ServiceAuthException: You have no access to the project#: 10040)
> It defeats the point.



--
This message was sent by Atlassian JIRA
(v6.2#6252)