/scripts/ahub.form.attachments.js
0

hcm_lrq_cre extension

Jan 04, 2017 at 03:18 PM

120

avatar image

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

sap-web-ide.png (3.9 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Michal Keidar
Jan 15, 2017 at 08:36 AM
0

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.

Share
10 |10000 characters needed characters left characters exceeded
Skip to Content