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

Bug: setting a funder with fundingreference is not working #104

Closed
mwallschlaeger opened this issue Jun 6, 2024 · 3 comments · Fixed by #105
Closed

Bug: setting a funder with fundingreference is not working #104

mwallschlaeger opened this issue Jun 6, 2024 · 3 comments · Fixed by #105
Assignees
Labels
API changes to rest API bug Something isn't working Metadata ORD data ingest tested Successfully tested
Milestone

Comments

@mwallschlaeger
Copy link

Bug Description

when creating or patching a resource via the api I receive the following error:

image

here is an example funder json object:

  "funders": [
    {
      "award_title": "MOTivational strength of ecosystem services",
      "funding_reference": {
        "funderf_name": "Federal Ministry for Education and Research (BMBF)",
        "funder_identifier_type": "BMBF"
      }
    }
  ],
@specka
Copy link

specka commented Jun 14, 2024

I will test this as part of the next sprint.

@specka
Copy link

specka commented Jun 27, 2024

Kann ich nicht testen, weil ich nicht genau weiß, wie ich mit der API umgehen soll. Das Kommando
python geonodectl dataset patch --set 'category={"identifier":"biota"}' 258
geht zumindest nicht.

@specka
Copy link

specka commented Jun 27, 2024

Testergebnis: Erfolgreich
Befehl: python geonodectl dataset patch 258 --json_path "D:\Eigene Dateien specka\Downloads\geonode_funding_reference_api.json"

geonode_funding_reference_api.json

{
  "funders": [
    {
      "award_title": "FAIRagro",
      "award_uri": "",
      "award_number": "282625",
      "funding_reference": {
        "funder_identifier_type": "BMBF"
      }
    }
  ]
}

@specka specka added the tested Successfully tested label Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API changes to rest API bug Something isn't working Metadata ORD data ingest tested Successfully tested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants