We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Querying against a key-value pair of an I18N_JSONField for a boolean value fails when it hits our guard against silent data loss.
We should look into letting I18n_JSON._parse() handle booleans.
I18n_JSON._parse()
In [1]: from arches.app.models.models import * In [2]: Node.objects.filter(cardxnodexwidget__config__uneditable=True) --------------------------------------------------------------------------- File ~/prj/arches/arches/app/models/fields/i18n.py:270, in I18n_JSON._parse(self, value, lang, use_nulls) 268 ret = value 269 else: --> 270 raise TypeError(value) 271 self.raw_value = ret 273 if "i18n_properties" in self.raw_value: TypeError: True
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Querying against a key-value pair of an I18N_JSONField for a boolean value fails when it hits our guard against silent data loss.
We should look into letting
I18n_JSON._parse()
handle booleans.The text was updated successfully, but these errors were encountered: