Re: [dspace-tech] DOI Update Bug?

2018-03-14 Thread Paul Warner
Hi Tom,

Thanks very much!  That was it.

Best regards,
Paul

On Tuesday, March 13, 2018 at 2:43:30 PM UTC+1, Tom Desair (Atmire) wrote:
>
> Hi Paul,
>
> The issue you describe is related to the "uncacheEntity(doi)" call in the 
> DOIOrganiser class.
>
> The "uncacheEntity" contained a bug in 6.1 which caused some database 
> changes to be lost. This has been corrected in 6.2.
>
>  
> [image: logo] Tom Desair
> 250-B Suite 3A, Lucius Gordon Drive, West Henrietta, NY 14586
> Gaston Geenslaan 14, Leuven 3001, Belgium
> www.atmire.com 
> 
>
>
> Op di 13 mrt. 2018 om 09:38 schreef Paul Warner  >:
>
>> Hi,
>>
>> We have set up our DataCite DOI account in our Dspace 6.1 instance, and 
>> we are having a problem when we run the update from the command line 
>> script, doi-organiser.
>>
>> When I make a change to metadata in our Dspace instance in the web site, 
>> this causes a change in the item's status in the doi table in the 
>> database.  The status changes from 3 to 6.  Then, the next time I run the 
>> command line program, doi-organiser, the status after the update to 
>> DataCite should be changed back to 3.  In the java code, it appears that 
>> the change is being made, but in the database, the status does not change, 
>> it is still 6.  This means that the next time doi-organiser runs, it will 
>> try to make another update for this item.  It succeeds at DataCite, and 
>> another instance appears on the revisions list, but the status never 
>> changes in the database.
>>
>> In our file, DOIIdentifierProvider.java, which provides the updating 
>> functions for both the website update process and the command line program, 
>> the method updateMetadata handles the website update, and the method 
>> updateMetadataOnline handles the update from the doi-organiser command line 
>> program.  Both methods report success, but only updateMetadata actually 
>> updates the database.
>>
>> Thanks in advance for any suggestions.
>>
>> Best regards,
>> Paul
>>
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to dspace-tech...@googlegroups.com .
>> To post to this group, send email to dspac...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] DOI Update Bug?

2018-03-13 Thread Tom Desair
Hi Paul,

The issue you describe is related to the "uncacheEntity(doi)" call in the
DOIOrganiser class.

The "uncacheEntity" contained a bug in 6.1 which caused some database
changes to be lost. This has been corrected in 6.2.


[image: logo] Tom Desair
250-B Suite 3A, Lucius Gordon Drive, West Henrietta, NY 14586
Gaston Geenslaan 14, Leuven 3001, Belgium
www.atmire.com



Op di 13 mrt. 2018 om 09:38 schreef Paul Warner :

> Hi,
>
> We have set up our DataCite DOI account in our Dspace 6.1 instance, and we
> are having a problem when we run the update from the command line script,
> doi-organiser.
>
> When I make a change to metadata in our Dspace instance in the web site,
> this causes a change in the item's status in the doi table in the
> database.  The status changes from 3 to 6.  Then, the next time I run the
> command line program, doi-organiser, the status after the update to
> DataCite should be changed back to 3.  In the java code, it appears that
> the change is being made, but in the database, the status does not change,
> it is still 6.  This means that the next time doi-organiser runs, it will
> try to make another update for this item.  It succeeds at DataCite, and
> another instance appears on the revisions list, but the status never
> changes in the database.
>
> In our file, DOIIdentifierProvider.java, which provides the updating
> functions for both the website update process and the command line program,
> the method updateMetadata handles the website update, and the method
> updateMetadataOnline handles the update from the doi-organiser command line
> program.  Both methods report success, but only updateMetadata actually
> updates the database.
>
> Thanks in advance for any suggestions.
>
> Best regards,
> Paul
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.