cancel
Showing results for 
Search instead for 
Did you mean: 

hcm_lrq_cre extension

0 Kudos

When attempting to extend standard Fiori Leave request application hcm_lrq_cre from WEBIDE

I am faced with the error pictured below, if I try and right click on the extension project and navigate to the "new" menu. The same result happend when using File new. This then renders webide unusable.

I have tried both the HCP hosted WebIDE and the latest on premise (1.45.3) version with the same issue.

Older versions of on-premise do not have this issue but are obviously lacking other features not to mention not production use licensed.

I get this in all browsers.

Unhandled Error P {name: "ParseException", message: "Invalid JSON Format: Unexpected token ,", silent: false}(anonymous function) @ Core-preload.js:38r @ Core-preload.js:38r._settlePromiseFromHandler @ Core-preload.js:37r._settlePromise @ Core-preload.js:37r._settlePromise0 @ Core-preload.js:37r._settlePromises @ Core-preload.js:37r._drainQueue @ Core-preload.js:36r._drainQueues @ Core-preload.js:36drainQueues @ Core-preload.js:36(anonymous function) @ Core-preload.js:38
Core-preload.js:38 undefined(anonymous function) @ Core-preload.js:38r @ Core-preload.js:38r._settlePromiseFromHandler @ Core-preload.js:37r._settlePromise @ Core-preload.js:37r._settlePromise0 @ Core-preload.js:37r._settlePromises @ Core-preload.js:37r._drainQueue @ Core-preload.js:36r._drainQueues @ Core-preload.js:36drainQueues @ Core-preload.js:36(anonymous function) @ Core-preload.js:38

Any help would be much appreciated.

Cheers

Phil

Accepted Solutions (1)

Accepted Solutions (1)

michal_keidar
Active Contributor
0 Kudos

Hi,

This happens because of an invalid manifest.json file in the extension project.

If you open it, you can see it has validation errors in "deviceTypes", which are missing values.

You should enter some default values there (e.g. empty strings) in order to fix the errors.

This is happening because these values are missing in the manifest.json of the original HCM_LRQ_CRE app, and they are mandatory.

So this is a bug in the application and not in Web IDE extensibility framework.

Regards,
Michal.

Answers (0)