Hi folks,

We're running DSpace 7.6.1 and trying to enable DOI support with DataCite. I 
have a filter called doi-collection-filter in 
'config/spring/api/item-filters.xml' that limits DOIs to certain collections or 
communities (gist 
here<https://gist.github.com/pybrarian/d8966d7ed5c7fc42b3d09790215da828>).

If I run the test runner, a la './bin/dspace dsrun 
org.dspace.content.logic.TestLogicRunner -f doi-collection-filter -i 
10217/238254', for an item already in one of those collections/communities, I 
get true as expected. If I ingest a new item, no DOI is created and the logs 
show "Item 10217/238255 was evaluated as 'false' by the item filter 
doi-collection-filter, not minting" but if I run the test runner again with the 
new item's Handle, I get true.

I've verified it's using the correct filter, anybody have anything that 
immediately pops out as a likely point for the discrepancy between the filter 
when run by the test runner and when run as part of the ingest process?

Thanks,

Ed Hill

Pronouns: He/Him  (pronoun statement<https://pronouns.colostate.edu/>)

Developer and Systems Administrator

(970) 491-3197

Colorado State University Libraries

[cid:a203b653-1eb1-4f66-950d-a90aaed024af]

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/DM6PR07MB781984909B93F3EAEBB80F22F6E92%40DM6PR07MB7819.namprd07.prod.outlook.com.

Reply via email to