You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we generate a xml or json extract, the hook method get_symbol_ref() is called. The configuration allow us to overwrite this method with our own, so that we can control which URL are used and published in the extract. This is very cool, because it allows us to set "extern" urls in extract, while using "intern" urls in our code (because we have sometimes complex proxies configuration)
Unfortunately, this does not work for the following attributes :
LogoPLRCadastreRef
FederalLogoRef
CantonalLogoRef
MunicipalityLogoRef
In the code, a simple self._request.route_url() is called.
The consequences for us is that the published urls are using internal IP adresses.
Could it be possible to have the same behaviour here, with an overwritable hook method get_logo_ref() instead of a simple route_url() call ?
What do you think ?
Thanks!
The text was updated successfully, but these errors were encountered:
Overwritable hook method get_logo_ref() could be a nice feature.
Please we are still using the reference implementation. (Tessin)
Keep attention in implementing dynamic binding to a new overridable implementation via configuration (strategy pattern).
Thank you.
Hello,
When we generate a xml or json extract, the hook method get_symbol_ref() is called. The configuration allow us to overwrite this method with our own, so that we can control which URL are used and published in the extract. This is very cool, because it allows us to set "extern" urls in extract, while using "intern" urls in our code (because we have sometimes complex proxies configuration)
Unfortunately, this does not work for the following attributes :
In the code, a simple self._request.route_url() is called.
The consequences for us is that the published urls are using internal IP adresses.
Could it be possible to have the same behaviour here, with an overwritable hook method get_logo_ref() instead of a simple route_url() call ?
What do you think ?
Thanks!
The text was updated successfully, but these errors were encountered: