Currently we are facing the following issue.
We make a new page in our application ( via wizard => blank page just click next next next ).
When we try to open this page in the designer the loading icon keeps spinning and the page doesn't load.
In the background we can see the message "No page or page has no template" ( see screenshot )
When we switch to component view there is no problem.
In the Chrome Developer Tools we can see the following error:
Uncaught TypeError: Cannot read property 'themeId' of undefined at t (f4000_p4500_all.min.js?v=5.0.4.00.12:1) at u (f4000_p4500_all.min.js?v=5.0.4.00.12:1) at G._setGridProperties (f4000_p4500_all.min.js?v=5.0.4.00.12:3) at b (f4000_p4500_all.min.js?v=5.0.4.00.12:1) at H (f4000_p4500_all.min.js?v=5.0.4.00.12:1) at Object.setCurrentPageId (f4000_p4500_all.min.js?v=5.0.4.00.12:3) at Array.<anonymous> (f4000_p4500_all.min.js?v=5.0.4.00.12:9) at j (jquery-2.1.3.min.js?v=5.0.4.00.12:2) at Object.fireWith [as resolveWith] (jquery-2.1.3.min.js?v=5.0.4.00.12:2) at Object.<anonymous> (jquery-2.1.3.min.js?v=5.0.4.00.12:2)
We debugged the issue and did following steps in Google Chrome:
- Open the file mentioned in the console
- The line on which the error occurs changes to 230 which is the following piece of code
- ha is here undefined which is the reason for the error
ha = ea.userInterfaces[ra[ia.PAGE][ga].getProperty(ja.USER_INTERFACE).getValue()],
- Via breakpoints we managed to see the values of all the variables involved
ia.PAGE = 5000
ga = <PAGE_ID>
ja.USER_INTERFACE = 253
- When checking the value of this property ( ra[<PAGE_ID>]._properties ) we saw that this was empty.
- In a page where there is no error the value = USER_INTERFACE_ID
This USER_INTERFACE_ID can be found with the following statement
select * from wwv_flow_steps where id = <PAGE_ID> and flow_id = <APPLICATION_ID>;
Anyone managed to resolve this issue?
Seen this a few times posted already but not with a solution that works for us.
We already tried exporting and importing the application again but this only temporarily solved the issue.
Info: Our application has 76 pages.
Thanks in advance.