core_el_strategic_roadmap2.xsl throws error in browser due to special characters

Post Reply
mdpremkumar
Posts: 26
Joined: 17 Apr 2017, 09:06

Hi,

We are in the process of creating several roadmap models and like to render them using enterprise/core_el_strategic_roadmap2.xsl. We have established essential_viewer using v6 released on April 18, 2017.

One of the roadmap models is not rendering properly.
When viewing the console of browser, below is the message shown.

-----------------------------------------------------------
SCRIPT1009: Expected '}'
File: report, Line: 594, Column: 647
----------------------------------------------------------

When I inspected the source loaded in browser, the error was actually happening when JSON data is being added to strategic plan items. Below is the extract from source html.
--------------------------------------------
stratPlanItems.add([
{id:
--------------------------------------------

On checking strategic plans defined for that model, one of the strategic plans' description slot was having a word with single quote (isn't is that word). On removing that character and publishing the model back to viewer, the report worked fine.

is it like we should avoid these kinds of characters inside EA Model or is there a proper way for using such characters?

Please share some thoughts.

Thanks.
Prem
jmk
Posts: 137
Joined: 31 May 2012, 12:08
Location: France

The attached files should correct the problem you encounter.

You should copy core_utilities.xsl under webapp/common and core_el_strategic_roadmap2.xsl under webapp/enterprise.


J.-M.
You do not have the required permissions to view the files attached to this post.
mdpremkumar
Posts: 26
Joined: 17 Apr 2017, 09:06

Hi J.M,

Sorry for the late reply.
Just now I have got a chance to test the files you have posted.
Thanks for your help.
Report works as expected.

Cheers,
Prem
Post Reply