cancel
Showing results for 
Search instead for 
Did you mean: 

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

gregorw
SAP Mentor
SAP Mentor
0 Kudos
2,280

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.runde

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi Gregor,

We see this issue is fixed with SAP UI5 1.110.0 version. Can you please update your SAP UI5 version and let us know your feedback?

Best Regards,

Siva

gregorw
SAP Mentor
SAP Mentor
0 Kudos

Hi Siva,

do you have any information when 1.110.0 will arrive on the https://ui5.sap.com/ CDN?

Best Regards
Gregor

0 Kudos

Hi Gregor,

I think it will be available on 26th Jan 2023.

Best Regards,

Siva