-
-
Notifications
You must be signed in to change notification settings - Fork 191
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
Validate pretalx frab json exports with VOC schema #1338
Conversation
a5adb8e
to
5677170
Compare
989c2ad
to
f96366a
Compare
Sorry for the delay, the JSON schema now allows |
f96366a
to
8c4f856
Compare
No worries, it's not like it's urgent – thanks for pushing this forward! It seems the remaining failing check is for |
4af6b2b
to
a2fccc6
Compare
It seems that the VOC schema currently requires room GUIDs, while these are an optional feature in pretalx. At this point, I'm once again thinking about moving all the frab/VOC exports to a separate plugin, and that plugin could also be responsible for generating room GUIDs where necessary. Maintaining this in pretalx-core is looking increasingly like a maintenance burden due to lack of standardisation etc. |
I would provide an seperate PR which generates the room guid from the pretalx domain name and the internal room id in the database – this should resolve the issues we had with the integration tests with the previous random based room guids. Other plugins could hook into that, e.g. a future voc- or c3hub-sync-plugin |
Sure! I'll consider this PR dormant until then. |
a2fccc6
to
9110bbe
Compare
@rixx When you update the JSON Schema from the origin, this tests should become green now. |
You'll probably want to rebase this PR (and fix the merge conflict) to see if tests are passing now. |
This branch is in the official |
c89103c
to
2ab684a
Compare
Ah yeah, I somehow grouped this mentally under all the other VOC PRs (though in any case, I was addressing saerdnaer incorrectly, didn't mean to make you do anything!) |
Nope. pretalx is returning a null-value for room GUIDs, whereas your change made the GUID field optional – so jsonschema correctly fails, because |
2ab684a
to
6f289a2
Compare
Continuing the conversation at #1334: VOC has a JSON schema that we can use to comply against a shared set of expectations, instead of being surprised by frab changes.
Currently waiting for changes in the JSON schema.