Angular template cache breaks when the template contains backslashes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
High
|
Paulo Matias |
Bug Description
The angular_escapes filter [1] currently does not handle backslashes ('\'), therefore templates containing this character are broken (or have their behaviour modified) when they are cached.
We faced this issue when deploying the LBaaSv2 dashboard [2], which uses ng-pattern=
Although the Horizon code base employs ng-pattern=
We will send in a few minutes a patch to gerrit proposing a fix for this issue.
--
Expected behaviour: It should be possible to create a new load balancer via the dashboard when deploying Horizon together with the LBaaSv2 dashboard.
Actual behaviour: The validator fails on the "port" fields, which are mandatory to create a new load balancer. This blocks the creation of new load balancers through the dashboard.
Steps to reproduce:
* Deploy the environment
* Go to Project > Networks > Load Balancers
* Click on "Create Load Balancer"
* Try to fill a Port in the "Listener Details" tab
Environment:
* OpenStack-Ansible, master branch
* Multi-node deploy
* "neutron_
--
References
Changed in horizon: | |
assignee: | nobody → Paulo Matias (paulo-matias) |
status: | New → In Progress |
Changed in horizon: | |
assignee: | Matt Borland (palecrow) → Paulo Matias (paulo-matias) |
Changed in horizon: | |
milestone: | none → newton-rc1 |
importance: | Undecided → High |
Fix proposed to branch: master /review. openstack. org/361741
Review: https:/