This one really has me stumped.
Thinking it was a caching issue, I deleted the file the error states (MOBOFC04) from the server and recompiled the web page. When I navigated to that panel, it errored out as excepted.
Thinking that the cache had been busted, I checked the file back in and recompiled the page and got the same error.
Then I uninstalled the browser from the device and reinstalled it. Navigate to the page and same error.
Then I stripped everything out and was left with a blank panel, navigate the panel and NO ERROR.
After adding the bits back in in piece by piece, I finally got the error on one of my other panels that MOBOFC04 contains, a panel used as the Tab Sheet in a Tab Folder.
So I did the same trick with that panel, I stripped everything out of it so that is an empty panel and navigated to the page and GOT THE ERROR.
For the curious, here is the Panel that is causing the problem (MOBOfficeInfoPanel).
Code: Select all
function options(*DIRECT)
begin_com role(*EXTENDS #MOBBasePanel) layoutmanager(#Layout1)
define_com class(#PRIM_TBLO) name(#Layout1)
define_com class(#PRIM_TBLO.Row) name(#LayoutRow1) displayposition(1) parent(#Layout1)
define_com class(#PRIM_TBLO.Column) name(#LayoutColumn1) displayposition(1) parent(#Layout1)
define_com class(#PRIM_TBLO.Item) name(#LayoutItem1) column(#LayoutColumn1) manage(#Label1) parent(#Layout1) row(#LayoutRow1) sizing(None)
define_com class(#PRIM_LABL) name(#Label1) caption('Info Panel') displayposition(1) ellipses(Word) height(25) left(190) parent(#COM_OWNER) tabposition(1) tabstop(False) top(123) verticalalignment(Center) width(120)
end_com
Then I created another panel with the EXACT same code (only the label caption is different) this panel is MOBOfficeTestPanel.
Code: Select all
function options(*DIRECT)
begin_com role(*EXTENDS #MOBBasePanel) layoutmanager(#Layout1)
define_com class(#PRIM_TBLO) name(#Layout1)
define_com class(#PRIM_TBLO.Row) name(#LayoutRow1) displayposition(1) parent(#Layout1)
define_com class(#PRIM_TBLO.Column) name(#LayoutColumn1) displayposition(1) parent(#Layout1)
define_com class(#PRIM_TBLO.Item) name(#LayoutItem1) column(#LayoutColumn1) manage(#Label1) parent(#Layout1) row(#LayoutRow1) sizing(None)
define_com class(#PRIM_LABL) name(#Label1) caption('Test Panel') displayposition(1) ellipses(Word) height(25) left(190) parent(#COM_OWNER) tabposition(1) tabstop(False) top(123) verticalalignment(Center) width(120)
end_com
Those panels are both declared in MOBOFC04, with one commented out so I can toggle between the two.
Code: Select all
* define_com class(#MOBOfficeInfoPanel) name(#MOBOfficeInfoPanel) left(5) parent(#InformationSheet) tabstop(False) top(5) height(458) width(677)
define_com class(#MOBOfficeTestPanel) name(#MOBOfficeTestPanel) left(5) parent(#InformationSheet) tabstop(False) top(5) height(458) width(677)
Now here's the crazy part. MOBOfficeInfoPanel throws this

- 20170116_102323.jpg (176.1 KiB) Viewed 11148 times
MOBOfficeTestPanel works as expected.

- 20170116_102159.jpg (103.03 KiB) Viewed 11148 times
My only assumption at this point is that the MOBOfficeInfoPanel is somehow corrupted and has to be trashed. Easily enough done as there is not much code in it.
I would like to know why and how this happened however so that I can prevent it in the future. Any ideas?