Bug #3291

There are SQL errors during 'fo-postinstall -l" call during installation

Added by Brian Pomerantz 9 months ago. Updated 8 months ago.

Status:New Start date:08/15/2012
Priority:Normal Due date:
Assignee:Dong Ma % Done:

0%

Category:Build/install/config
Target version:-
Rank:99 Tester:

Description

There are SQL errors during 'fo-postinstall -l" call during installation, these are caused by the incorrect escaping of single quotes with a backslash \'. The correct SQL escape for single quote is to use two single quotes: ''. A quick sed invocation, database drop, and call of fo-postinstall fixed the issue.

sed -i "s/\\\\'/''/g" licenseref.sql

History

Updated by Bob Gobeille 8 months ago

  • Rank set to 99

Change unranked issues to rank 99 so they show up in a ranking report at the bottom. Otherwise, they show up on top.

Also available in: Atom PDF