Search Engine: Elastic

Article ID: 132149, created on Jan 29, 2018, last review on Jul 14, 2018

  • Applies to:
  • Business Automation 7.3

Symptoms

On-line store is not showing any scenarios, an empty page is shown:

alttext

store.log shows the message like:

[Jan,29 12:41:51][0000484][INFO][STORE]: Locale::GetDictionary locale=
[Jan,29 12:41:51][0000484][INFO][STORE]: Locale::GetDictionary unsupported lang

Apache error log shows many errors among which there is similar to below:

[Mon Jan 29 12:41:21.754859 2018] [:error] [pid 496] [client 10.39.44.2:40174] PHP Warning:  syntax error, unexpected '"' in /usr/local/bm/templatestore/var/tmp/ini-config-kbRGuS on line 134\n in /usr/local/bm/templatestore/src/Factory/ConfigFactory.php on line 217

Store configuration file (/usr/local/bm/templatestore/conf/application/store/store_id/store.json) is incorrect, looks like:

{
"SCREEN": null,
"PATH": null,
"BRANDING": {
    "COUNTRY": "",
    "COUNTRY_CODE": "",
    "CONTACT_MAIL": "",
    "CONTACT_PHONE": "",
    "COPYRIGHT": "",
    "CP_URL": "",
    "TAGLINE": "",
    "KEYWORDS": "",
    "DESCRIPTION": "",
    "WELCOME_TEXT": ""
},
"DESIGN": {
    "COLOR_PALETTE": "general"
},
"GENERAL": null,
"CACHE": null,
"GOOGLE_ADWORDS": null,
"YAHOO_SEARCH": null,
"ORDER": null,
"PACKAGE": null,
"LANGUAGE": null,
"STORE_SKIN": "",
"SHARING": null

}

Cause

In some of the Purchase Scenarios descriptions there is combination of quotes and new line, e.g.:

"All inlcusive"
The service includes ....

which is not parsed correctly because of the bug with id #id #PBA-83825 ("GenerateConfigFile_API escapes quotes incorrectly in case of new line").

Resolution

Correct description - add space, comma, dot or remove the new line or the quotes. Synchronize the store.

198398b282069eaf2d94a6af87dcb3ff caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 1def515ca613a5505aa21a4affa96e6b b2c3b33425dfc50c7d41a2efaa7f84f3

Email subscription for changes to this article
Save as PDF