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] When depositWithFiles is false and update_metadata is true, metadata are not updated #345

Closed
kikislater opened this issue Aug 28, 2023 · 2 comments

Comments

@kikislater
Copy link
Member

kikislater commented Aug 28, 2023

When depositWithFiles is false and update_metadata is true, metadata are not updated.
Case of published record, data column empty to just update metadata

Configuration:

   "actions": [
       {
           "id": "zen4R-deposit-record",
           "options": {
               "update_files": false,
               "communities": "uav",
               "depositWithFiles": false,
               "publish": false,
               "update_metadata": true,
               "strategy": "edition",
               "deleteOldFiles": false
           },
           "run": true
       }
   ]

It creates a new record !

Working configuration:

    "actions": [
        {
            "id": "zen4R-deposit-record",
            "options": {
                "update_files": false,
                "communities": "uav",
                "depositWithFiles": true,
                "publish": true,
                "update_metadata": true,
                "strategy": "edition",
                "deleteOldFiles": false
            },
            "run": true
        }
    ]

If not published, this configuration works :

    "actions": [
        {
            "id": "zen4R-deposit-record",
            "options": {
                "update_files": false,
                "communities": "uav",
                "depositWithFiles": false,
                "publish": false,
                "update_metadata": true,
                "strategy": "edition",
                "deleteOldFiles": false
            },
            "run": true
        }
    ]
@kikislater
Copy link
Member Author

@juldebar

@eblondel
Copy link
Collaborator

Not reproduced. Needs to be tested with zen4R 0.10 and the upgrade of Zenodo to Invenio

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