[jira] Created: (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
7 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Nicolas Malin (Jira)
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


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 is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (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:all-tabpanel ]

Pierre Smits updated OFBIZ-4206:
--------------------------------

    Attachment: ofbiz-trunk-projectmgr-commonscreens-20110722.patch

This patch will alleviate the problem.

> 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 is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
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)
In reply to this post by Nicolas Malin (Jira)

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

Mansour Al Akeel commented on OFBIZ-4206:
-----------------------------------------

Thank you Peirre
When will this patch find its way to trunk ?


> 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 is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
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)
In reply to this post by Nicolas Malin (Jira)

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

Mansour Al Akeel commented on OFBIZ-4206:
-----------------------------------------

Pierre,
The patch seems to restrict access to this scree to "PROJECTMGR_ADMIN".
I am not sure if this issue is to be resolved in the screen or making the service returns projects the user has access to.

I appreciate your help here.


> 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 is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

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

Pierre Smits
Hi Mansour,

You are right. The patch indeed does that and returns a blank screen for
users other than with access 'PROJECTMGR_ADMIN. Other users can look at
projects which will show projects the user is a member of.

At the moment I do not have the time to work on a more elaborate solution.
The patch is just a quick fix...

Regards,

Pierre

2011/8/13 Mansour Al Akeel (JIRA) <[hidden email]>

>
>    [
> https://issues.apache.org/jira/browse/OFBIZ-4206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13084475#comment-13084475]
>
> Mansour Al Akeel commented on OFBIZ-4206:
> -----------------------------------------
>
> Pierre,
> The patch seems to restrict access to this scree to "PROJECTMGR_ADMIN".
> I am not sure if this issue is to be resolved in the screen or making the
> service returns projects the user has access to.
>
> I appreciate your help here.
>
>
> > 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 is automatically generated by JIRA.
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>
>
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)
In reply to this post by Nicolas Malin (Jira)

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

Jacques Le Roux commented on OFBIZ-4206:
----------------------------------------

{quote} (Pierre Smits on dev ML)
Hi Mansour,

You are right. The patch indeed does that and returns a blank screen for
users other than with access 'PROJECTMGR_ADMIN. Other users can look at
projects which will show projects the user is a member of.

At the moment I do not have the time to work on a more elaborate solution.
The patch is just a quick fix...

Regards,

Pierre
{quote}
               

> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

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

Pierre Smits
Hi Jacques,

Thank you for putting my comment in the JIRA. My apologies for not thinking
about that. Will try to remember that the next time.

Regards,

Pierre

2011/10/3 Jacques Le Roux (Commented) (JIRA) <[hidden email]>

>
>    [
> https://issues.apache.org/jira/browse/OFBIZ-4206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119510#comment-13119510]
>
> Jacques Le Roux commented on OFBIZ-4206:
> ----------------------------------------
>
> {quote} (Pierre Smits on dev ML)
> Hi Mansour,
>
> You are right. The patch indeed does that and returns a blank screen for
> users other than with access 'PROJECTMGR_ADMIN. Other users can look at
> projects which will show projects the user is a member of.
>
> At the moment I do not have the time to work on a more elaborate solution.
> The patch is just a quick fix...
>
> Regards,
>
> Pierre
> {quote}
>
> > 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 is automatically generated by JIRA.
> If you think it was sent incorrectly, please contact your JIRA
> administrators:
> https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>
>