Closed KonradUdoHannes closed 4 months ago
from a "data curating" experience, it would make sense to not require it because it won't be necessary to have this information for those projects that we "anonymize". Or we make them required but people can also just add in " " (a bit hacky but would mean we don't run into this problem). I think this would be better because otherwise it's also just very hard to keep track of "missing" data within directus ^^
I think the current status is actually fine. The root cause of my question ended up being an issue with permissions in directus. I'll therefore close this issue, because there is no problem.
Currently the published project 2021-04-KOB
causes some trouble for the website build because it does not have an organization associated with it, which is currently not supported.
I think we need a systematic solution for cases like this because I expect this to be the case more often, particularly when it comes to open source projects, that are not done for a particular organisation. It also seems to be different from the (already covered) case of projects where the organization simply wishes to stay anonymous.
On first thought, I see three options to deal with it.
@friep what do you think
there is a field is_internal
which is true
for the open source projects. Could you put a simple if else filter on the organization head based on it and put "Internal project" instead of the organization name? So basically 3. but based on a different logic.
Alternatively, i'm also fine with approach 2. i'd still use aforementioned field to replace the organization box in the subpage with a small info text what an internal project is (i can write this up if you need it but so far we don't have internal projects with subpages i think). would this be possible?
Sounds good. I'll start with the implentation of the is_internal
suggestion and track it here #489. Then we can keep this issue for further discussions and to track different aspects of the topic, such as the subpages once they become relevant.
As project always need content in both languages, this should be the same for organizations imo
If this is not the case, build would fail atm. I'll just make the decision for now that this is desired behaviour
agreed 💯
Currently there are projects in directus that don't have an organization if the language is set to
en-US
. For instance2019-01-MAP
. This causes problems for theusing-data/projects
route.Accroding to our parsing logic this is currently not allowed and causes the build to fail. @friep @jstet Did something change here on the directus site, because the build succeeded previously. (We do have a working static build in prod)
If desired we could loosen the constraint to extract the organization name independent of the language. I think something similar is done in at least one other ocasion already.