(fix+feat): If a language doesn't have a value for taxonomy set the default language value#172
(fix+feat): If a language doesn't have a value for taxonomy set the default language value#172dobri1408 wants to merge 32 commits into
Conversation
|
@ale-rt Now I can see the tests started to fail when I merged master in this branch, thus the issue seems to be also in master branch 🤔 |
I see this: Which can be solved by adding |
|
@ale-rt plone.restapi[test] was there. Somehow removing the namespace_packages, which seems deprecated did the trick. Also the init.py from src/collective 🤔 Seems green now. |
|
Yes, there is a porting guide to move python distributions to native namespace: https://6.docs.plone.org/developer-guide/native-namespace.html Although the use case there is mostly for core packages, which have been ported already, there is enough remarks on which steps to skip to be useful for internal or collective python distributions. Please give it a go and report back 😄 If the repository already uses |
We've identified a bug in the language translation of taxonomies. When a value is missing for a specific language, the system incorrectly assigns PATH_SEPARATOR + "" = id. This causes the taxonomy to default to a single value, matching the last term of the default language. Instead, if no value is provided for a given language, the correct behavior should be to use the default language value.