Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] web_editor: improve comment in loadImageInfo method
The goal of this commit is to improve the comment in the `loadImageInfo` method. We decided to retarget [1] to master for a potential merge over there, although it might just get cancelled entirely. We leave the small regression in stable: not being possible to customize an image (filter, optimization, etc) of an image-added-by-url when the URL is actually... an image in a static folder of your own instance's website. This worked in the past but this is kinda a weird use case which has alternatives. Fixing it in stable would be choosing between two possibilities: - Checking that the URL is actually a "local" URL -> this is exactly what we cannot do anymore if we want another bug fix to remain: the updated comment explains why. - Also supporting customizing images added by URL for "external" URL -> this is too risky in stable, that is why [1] will be considered in master only, although it will not be strictly necessary over there since the improvements made with [2]. [1]: odoo#151858 [2]: odoo@943944d closes odoo#153438 Signed-off-by: Quentin Smetz (qsm) <[email protected]> Co-authored-by: qsm-odoo <[email protected]>
- Loading branch information