bildwelt
E2E FORUM
E2E Bridge E2E Commerce

Reply To: String forward slashes being escaped in classToJSON()

E2E Forum Modeling & Development String forward slashes being escaped in classToJSON() Reply To: String forward slashes being escaped in classToJSON()

#1801

Cliff Faurer
Participant

Hi Alfred,

Thanks for looking at this further and opening a bug report.

I have a workaround but it needs to go into around 200 ActionScripts for REST operations in 16 TMF REST APIs I’ve built – Party, Customer, Product Catalog, Service Catalog, Resource Catalog, Product Order, Service Order, Resource Order, Product Inventory, Service Inventory, Resource Inventory, Usage, Billing, SLA, Performance, Ticket

So sooner rather than later for the bug fix would be very good.

This is the workaround:

local outputString = createdProductSpecification.classToJSON();
set outputString = outputString.replace(“\Q\/\E”, “/”);
set outputContent = transcodeToBlob(outputString, “utf-8”);

Thanks,
Cliff