openui5 icon indicating copy to clipboard operation
openui5 copied to clipboard

js error when navigate from master to detail "Cannot read properties of undefined (reading 'getSubSections') "

Open xpr0gamers opened this issue 3 years ago • 1 comments

OpenUI5 version: 1.102.1

When navigating from a master view (item in table) to the detail view, the errors "Error while setting the focus - TypeError: Cannot read properties of undefined (reading 'getSubSections')
TypeError: Cannot read properties of undefined (reading 'getSubSections') at Q1 (ObjectPageController-dbg.controller.js:792:57) at ObjectPageController-dbg.controller.js:814:11" appears. Important!! This error only appears, when the master view including the table is in edit mode. In display mode, it works correct.

Proposal:" if(oSelectedSection){ _this7._updateFocusInEditMode(oSelectedSection.getSubSections());}".

image image image

xpr0gamers avatar May 27 '22 03:05 xpr0gamers

Hi @xpr0gamers,

thank you for finding this issue. Could you provide an example, which reproduces the issue?

DonkeyCo avatar May 27 '22 12:05 DonkeyCo

Since there is no response from the author for more than 4 weeks I'm closing the ticket.

flovogt avatar Sep 06 '22 06:09 flovogt