Bug #3146

FirewallRules blank page error

Added by Davide Principi over 6 years ago. Updated about 6 years ago.

Status:CLOSEDStart date:
Priority:NormalDue 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.

nethserver-b37bf097.js - Error on line 1095 (77.4 KB) Davide Principi, 05/06/2015 03:57 AM

Associated revisions

Revision a8fb6b0d
Added by Giacomo Sanchietti about 6 years ago

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
Test case
  • Check the bug is not reproducible:

#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

Also available in: Atom PDF