Skip to Content
0
Oct 04 at 10:02 PM

Analytical List Page fails with Error: adding element with duplicate id for OData V4 endpoint

1121 Views

Hello SAP Fiori Elements Community,

I'm doing local development with VS Code and have the SAP Fiori Tools - Extension Pack v1.7.5 installed. With that I've generated the Analytical List Page based on the OData V4 Service of my sap-support-message-reporting project. The app was created to the app/alpv4 subfolder. When I now start the application using

npm start

and then open http://localhost:4004/launchpad-ui5-latest.html#SupportIncident-analyzeV4 I see the following error message in the console:

Error: adding element with duplicate id 
'test.alpv4::MessageHeaderSetList--fe::table::MessageHeaderSet::LineItem::SegmentedButton::TemplateContentView' - Error: Error: adding element with duplicate id
'test.alpv4::MessageHeaderSetList--fe::table::MessageHeaderSet::LineItem::SegmentedButton::TemplateContentView' Error: Error: adding element with duplicate id
'test.alpv4::MessageHeaderSetList--fe::table::MessageHeaderSet::LineItem::SegmentedButton::TemplateContentView' at onDuplicate (Element-dbg.js:218:12) at p.e [as register] (ManagedObjectRegistry-dbg.js:44:5) at ManagedObject-dbg.js:505:11 at p.constructor (ManagedObject-dbg.js:498:4) at p.constructor (Element-dbg.js:200:18) at p.constructor (Control-dbg.js:181:12) at new p (Metadata-dbg.js:454:19) at eval (XMLTemplateProcessor-dbg.js:1644:25) at S (Component-dbg.js:214:14) at E.runAsOwner (Component-dbg.js:712:10)

The ALP using the OData V2 Endpoint at http://localhost:4004/launchpad-ui5-latest.html#SAPIncidentReporting-display works without issues.

I'm using the current SAPUI5 Version:

SAPUI5 Distribution 1.106.0 (built at 2022-09-07T12:41)

Looking forward for your input.

Best Regards
Gregor

CC: Stefanie Hager