Creative commons license bundle on embargoed item will cause internal system 
errors on item pages
-------------------------------------------------------------------------------------------------

                 Key: DS-873
                 URL: https://jira.duraspace.org/browse/DS-873
             Project: DSpace
          Issue Type: Bug
          Components: DSpace API, JSPUI
    Affects Versions: 1.8.0
            Reporter: Kevin Van de Velde
         Attachments: creative_commons_embargo_bugfix.patch

When an item has a creative commons license and the item is under embargo the 
DefaultEmbargoSetter will also remove the anonymous read rights from the 
creative commons bundle.
On the display item jsp it will attempt to retrieve the creative commons url 
(see lines below) and these will cause an authorize exception which in turn 
will lead to an internal system error (unless the admin is logged in).

String cc_url = CreativeCommons.getLicenseURL(item);
String cc_rdf = CreativeCommons.getLicenseRDF(item);

I have attached a patch to fix this issue (if required I am also willing to 
upload a script that can fix the permissions on these license bundles).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.duraspace.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to