Open kilchenmann opened 6 years ago
Only the images
project has a shortcode
, so you could use this project.
Yes I know. But anyway I can't update the project info.
The SPARQL for updating the project has a problem. I didn't think about the case of removing the project description.
If you try adding something like a -
instead of nothing, it should work.
Then I have to set the description as a required field. I will do it right now...
Does it make sense for a project to not have a description? Maybe I should also make this on the API level required?
The question wasn't directed to me, but I don't think it makes sense...
Besides, we should enforce in the coming months the projects to provide more extensive metadata.
In Salsah we have a project form, which is used to create new projects, but also to edit existing projects. The "create process" (post) works fine. But the "edit process" (put) is not able to update the shortcode value. I know, that it's not possible to edit the shortcode, when it already exists; in that case, the input field for shortcode is disabled. But most of the knora test project doesn't have a shortcode value. At the moment it isn't so easy to test the form or to figure out, where the error happens.
And there's another error with empty description fields; is it a required one? I get the following error:
With this data:
Btw in Knora I'm on the develop branch.