Project

General

Profile

Feature #8756

Modifyable database comment string must support double quoted values

Added by Tijs Wickardt about 2 years ago. Updated about 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
Due date:
% Done:

0%

billable:
No
vendor_id:
GCD
case_num:
version_reported:
version_resolved:
reviewer:
production:
No
env_name:
topics:

History

#1 Updated by Tijs Wickardt about 2 years ago

Modifyable database comment string must support double quoted values.
This is needed, because for example Label, ColumnLabel, and Format can contain just about any character, including whitespace, pipe, comma, single quotes, double quotes, endlines.

At the moment, the delimiter is the pipe | symbol, and the format is token=value .
For strings, also support: token="value" , which should use (a small extention on) progress.g , so the normal 4GL string parsing is utilized.
That means that the following ColumLabel and LegacyName and Format "DDL comment" must succeed:

ColumLabel="=Line ~"1~"!|Line ~"2~""|LegacyName=MyTestTable|Format=x(256)

and the following DDL comment must give the exact same result, with a ColumnLabel of (verbatim) =Line "1"!|Line "2" :

ColumLabel="=Line ~"1~"!|Line ~"2~""|LegacyName="MyTestTable"|Format="x(256)"

After implementation, please update the Redmine wiki on Non-standard SAVE CACHE.

Also available in: Atom PDF