cancel
Showing results for 
Search instead for 
Did you mean: 

SAPUI5: Date picker produces error "duplicate id" in mobile browsers (but not in desktop browsers)

PetraMi
Explorer
357

Dear experts,

In our app there is an oData function import with an import parameter of type date. When the action is initiated, an input field is rendered with datepicker value help, and it opens the usual calendar and clockface dialog:

PetraMi_0-1734630520672.png

PetraMi_1-1734630574602.png

This works perfectly in the desktop browsers but on mobile devices via SAP Start there is a strange malfunction:

  • the first time the action popup is opened, date picker works normally, i.e. as in screenshots above
  • but if the user performs following sequence:
    1. picks a date
    2. then cancels the action
    3. then reopens the action again,

        the date picker dialog no longer appears. The datepicker icon is seemingly activated when touched (it briefly flickers in colour when you press), but it is unresponsive.

  • if the action is cancelled again and the page is refreshed, everything is again back to normal.

This happens on both Android and iOS.

Please suggest what could be the problem, or how to analyse further. I am currently trying to remote-debug it on Android and I will post any interesting findings.

Update: in remote debugging this comes up:

adding element with duplicate id 'ActionUtil-BLAHBLAHDIBLAH_MY_SERVICE_Entities-<My_Action_Name>-<My_Parameter_Name>-input-PC' -

PetraMi_1-1734633678146.png

Thank you, 

BR Petra

 

View Entire Topic
PetraMi
Explorer
0 Kudos

Update: fixed by SAP with SAPUI version 1.133.0 and retrofitted into 1.120.26.