For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!
Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.
Hi, the Smart View panel is black so that's impossible to read the text. The User's Office Theme isn't the problem. This is configured coloful and not black. We use the SV Version 21.100. Any ideas? Many thanks in advance
Likely a bug it seems. Can you put the page in debug mode and test again and provide the console errors.
004_Debug Message Data.csv
003_Debug Message Data.csv
002_Debug Message Data.csv
001_Debug Message Data.csv
ConsoleHistory20240103.log
Max cache is set to 100 models
When having a look at ConsoleHistory20240103.log, there are 4 lines with a cache overflow; remove model from cache:
3294: debug.js?v=23.2.1:224 Model: cache overflow; remove model from cache: planterms_grid 3314: debug.js?v=23.2.1:224 Model: cache overflow; remove model from cache: benefitgroups_grid 3334: debug.js?v=23.2.1:224 Model: cache overflow; remove model from cache: planbenefits_grid 3354: debug.js?v=23.2.1:224 Model: cache overflow; remove model from cache: employeeparticipants_grid
whereas from earlier log lines, it proves out there are instances of those models in the model cache:
2248: debug.js?v=23.2.1:224 Model: save in cache model: planbenefits_grid,157 2238: debug.js?v=23.2.1:224 Model: save in cache model: benefitgroups_grid,157 2228: debug.js?v=23.2.1:224 Model: save in cache model: planterms_grid,157 2096: debug.js?v=23.2.1:224 Model: save in cache model: employeeparticipants_grid,4
I just found it suspicious that the model level is getting removed whereas there are still instances, so thought of mentioning it. Maybe it's just ok.
Sharing a small follow-up experiment
I went back to a page with seemingly the same kind of issue. It's a simple page with 4 IG's, no special configuration (apart from master-detail configs), all grids non-editable.
I left MaxCachedModels untouched, so it's the default 10.
After clicking the 4th project:
Notice the task instances without the ig_tasks_grid level:
I did a source override on model.js, changing getModelLRU() a bit by making sure to get an instance only:
and it seems the problem is gone now! - i can keep clicking projects
it is only removing instances from cache now
The levels remain intact:
@john-snyders-oracle : I'm aware this might not be the real solution, but I thought you may find it interesting
~Karel.
Hi Karel, Thanks for your investigation. I am looking into this now.
FYI you may be interested in this internal model method that may be useful for debugging.
apex.model._getStats()
FYI, fix in 23.2.5: see https://forums.oracle.com/ords/apexds/post/master-detail-with-detail-goes-wrong-0630