Bug #3146
FirewallRules blank page error
Status: | CLOSED | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 100% | |
Category: | nethserver-firewall-base | |||
Target version: | v6.6 | |||
Security class: | Resolution: | |||
Affected version: | v6.6 | NEEDINFO: | No |
Description
The FirewallRules page appears blank with French (fr-FR) translation.
The JavaScript console says
Uncaught SyntaxError: Unexpected identifier
on line 1095 of the attached js resource.
Packages:
nethserver-lang-fr-1.0.2-1.ns6.noarch
nethserver-firewall-base-2.6.0-1.ns6.noarch
References:
http://community.nethserver.org/t/french-translation-is-coming/757/7
Thanks to cyberfrk and stephdl for pointing it out.
Associated revisions
Web UI: escape JS string. Refs #3146
History
#1 Updated by Giacomo Sanchietti about 6 years ago
- Status changed from TRIAGED to ON_DEV
- Assignee set to Giacomo Sanchietti
- % Done changed from 20 to 30
#2 Updated by Davide Principi about 6 years ago
- Description updated (diff)
#3 Updated by Giacomo Sanchietti about 6 years ago
- Status changed from ON_DEV to MODIFIED
- % Done changed from 30 to 60
#4 Updated by Giacomo Sanchietti about 6 years ago
- Status changed from MODIFIED to ON_QA
- % Done changed from 60 to 70
Package in nethserver-testing:
- nethserver-firewall-base-2.6.0-1.3.ga8fb6b0.ns6.noarch.rpm
- Check the bug is not reproducible:
- Install the updated package
- Install the French translation:
yum install nethserver-lang-fr
- Check the firewall rules page usign French: https://_serverip_:980/fr/FirewallRule
#5 Updated by Giacomo Sanchietti about 6 years ago
- Assignee deleted (
Giacomo Sanchietti)
#6 Updated by Filippo Carletti about 6 years ago
- Status changed from ON_QA to VERIFIED
- % Done changed from 70 to 90
I had a system with the french language installed which had the blank page problem.
I updated to nethserver-firewall-base-2.6.0-1.7.g998a560.ns6.noarch and the page now loads correctly and show my firewall rules.
#7 Updated by Giacomo Sanchietti about 6 years ago
- Status changed from VERIFIED to CLOSED
- % Done changed from 90 to 100
Released in nethserver-updates:
- nethserver-firewall-base-2.6.1-1.ns6.noarch.rpm