Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[zen4r_deposit_record] Setting license in rights return error #351

Closed
kikislater opened this issue Aug 31, 2023 · 3 comments
Closed

[zen4r_deposit_record] Setting license in rights return error #351

kikislater opened this issue Aug 31, 2023 · 3 comments

Comments

@kikislater
Copy link
Member

From Rights column in entities I have this :

useLimitation:Utilisation libre sous réserve de mentionner la source (a minima le nom du producteur) et la date de sa dernière mise à jour_
accessConstraint:otherRestrictions_
license:GPL-3.0_
useConstraint:intellectualPropertyRights

license code is set from here : https://sandbox.zenodo.org/api/licenses/?q=&size=1000 where "id":"GPL-3.0" exists

Running workflow return me this error =>

Error in if (license %in% accepted_licenses) { : 
  l'argument est de longueur nulle
Erreur dans withVisible(...elt(i)) : 
  Workflow failed during execution, check logs

I added some log like config$logger.info(sprintf("licenses: '%s'", licenses)) with this value in logs:

[geoflow][zenodo][INFO] licenses: '<environment>'  and licenses[[1]]$value is NULL
@eblondel
Copy link
Collaborator

Thanks for reporting. Relates to #298 and consolidation of model for for geoflow rights, in particular 63b2ddf that was propagated to ISO 19115 (essentially tested in #298) but not in other metadata actions.

@eblondel
Copy link
Collaborator

@kikislater please reclose the issue if it works ok now

@kikislater
Copy link
Member Author

Thanks, it works now ! Tested with GPL-3.0 and GPL-2.0
@juldebar

@eblondel eblondel added software:zenodo Related to Zenodo and removed awaiting feedback labels Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants