[
https://jira.duraspace.org/browse/DS-761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claudia Jürgen resolved DS-761.
-------------------------------
Resolution: Fixed
Fix Version/s: 1.8.0
1.7.1
> MetadataSchema: cache out of sync after calling delete()
> --------------------------------------------------------
>
> Key: DS-761
> URL: https://jira.duraspace.org/browse/DS-761
> Project: DSpace
> Issue Type: Bug
> Components: DSpace API
> Affects Versions: 1.6.2
> Reporter: Janne Pietarila
> Assignee: Claudia Jürgen
> Fix For: 1.7.1, 1.8.0
>
> Attachments: MetadataSchema.patch
>
>
> How to reproduce the bug:
> 1) Delete a metadata schema by calling delete() method of the MetadataSchema
> class.
> 2) Call find() method of the MetadataSchema class with the ID of the
> previously deleted metadata schema.
> Expected return value: null
> Actual return value: already deleted metadata schema
> This happens because the value is fetched from the cache and not from the
> database. The attached patch should fix the issue by adding a call to
> decache() method in delete() method.
--
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
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel