Project

General

Profile

Bug #2161

Remote forms - Error escaping quotes in messages

Added by Ricardo Memoria over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Target version:
Start date:
09/07/2016
Due date:
% Done:

0%

Complexity:

Description

If there is a message in the resource bundle with quotes (example, "Mothe's name"), the form sent to the client generates an error because the message is wrapped around quotes as well.

Example of generated code:
custom: false,
property: 'motherName',
name: 'motherName',
id: 'ctrl1',
label: 'Mother's name', // ERROR IS HERE
type: 'string'

Possible solution - When generating the JavaScript code in the server side, strings must have quotes escaped.

History

#1 Updated by Maurício Dos Santos over 8 years ago

  • Status changed from New to In Progress

#2 Updated by Maurício Dos Santos over 8 years ago

  • Status changed from In Progress to Resolved

#3 Updated by Maurício Dos Santos over 8 years ago

  • Target version set to No version defined

Also available in: Atom PDF