jordanbrown0 / reg3

REG.PRG version 3
Other
2 stars 0 forks source link

weird class results in error #456

Open ssbarsky opened 1 year ago

ssbarsky commented 1 year ago

I have a "barred" class. I prefilled that when doing the import, but when I look at the member I see:

image

jordanbrown0 commented 1 year ago

This suggests that the "categories" field (since I think that's the only InputSelectMulti in a member record) is populated but is not a list.

The importer doesn't know how to create lists[*], and so if you're importing anything into "categories" that would explain it.

[*] It certainly could learn how; like the various other converters it could readily have a converter that took a comma-separated list of words, say, and turned it into a proper list. Let me know if you have a use case.

And yes, looking at your reg.json you are importing "category" into "categories", and you have one "barred" person (number 998) with categories="b" and one other person (number 31371) with categories="0".

jordanbrown0 commented 1 year ago

Duplicate of #214 (Import letter-style flags into Categories) and #450 (External import bypasses validation).