You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rave.apache.org by "Chris Geer (JIRA)" <ji...@apache.org> on 2012/08/31 08:26:08 UTC

[jira] [Created] (RAVE-781) WidgetTags are failing

Chris Geer created RAVE-781:
-------------------------------

             Summary: WidgetTags are failing
                 Key: RAVE-781
                 URL: https://issues.apache.org/jira/browse/RAVE-781
             Project: Rave
          Issue Type: Bug
          Components: rave-portal
    Affects Versions: 0.15
            Reporter: Chris Geer


Right now trying to save a widget tag is failing due to "permission unknown". This is because the WidgetTagService save method uses the create_or_update permission but the WidgetTagPermissionEvaluator doesn't have that permission defined. It looks like this might never have worked.

Also, I don't think that create_or_update is correct here. There are different requirements for create vs update from permissions perspective. The WidgetTagService should have two methods (create/update) not just s single save method.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (RAVE-781) WidgetTags are failing

Posted by "Chris Geer (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/RAVE-781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Geer resolved RAVE-781.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 0.16
         Assignee: Chris Geer

Committed revision# 1389136

Changes the saveWidgetTag to createWidgetTag and changed the permission check to "create"
                
> WidgetTags are failing
> ----------------------
>
>                 Key: RAVE-781
>                 URL: https://issues.apache.org/jira/browse/RAVE-781
>             Project: Rave
>          Issue Type: Bug
>          Components: rave-portal
>    Affects Versions: 0.15
>            Reporter: Chris Geer
>            Assignee: Chris Geer
>             Fix For: 0.16
>
>
> Right now trying to save a widget tag is failing due to "permission unknown". This is because the WidgetTagService save method uses the create_or_update permission but the WidgetTagPermissionEvaluator doesn't have that permission defined. It looks like this might never have worked.
> Also, I don't think that create_or_update is correct here. There are different requirements for create vs update from permissions perspective. The WidgetTagService should have two methods (create/update) not just s single save method.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira