DistroSeriesView.checkTranslationsViewable() is used in a „metal” tag... so it really doesn't matter its return value as its sole purpose is to raise those exceptions.
If we want to remove this behavior, we would need to raise those exception in Distribution URL traversal for series... and then things will get a bit complicated as those exception should be raised only for „translations” facet.
-------
There are a couple of view tests in translations/browser/tests/distroseries-views.txt and registry/doc/distroseries.txt using these exceptions. I guess we need to put them in a single file (ie: translations/browser/tests/distroseries-views.txt)
-----
Thanks for the getDistroSeriesLanguageOrDummy tip :)
DistroSeriesVie w.checkTranslat ionsViewable( ) is used in a „metal” tag... so it really doesn't matter its return value as its sole purpose is to raise those exceptions.
<metal: check-available tal:omit- tag="view/ checkTranslatio nsViewable" />
If we want to remove this behavior, we would need to raise those exception in Distribution URL traversal for series... and then things will get a bit complicated as those exception should be raised only for „translations” facet.
-------
There are a couple of view tests in translations/ browser/ tests/distroser ies-views. txt and registry/ doc/distroserie s.txt using these exceptions. I guess we need to put them in a single file (ie: translations/ browser/ tests/distroser ies-views. txt)
-----
Thanks for the getDistroSeries LanguageOrDummy tip :)