insum-labs / insum-apex-pro

Browser extension to help with Oracle APEX development
GNU General Public License v3.0
24 stars 8 forks source link

Bugfix: Undefined properties accessed when using the extension in APEX 22.2 #27

Open HeLau1337 opened 1 year ago

HeLau1337 commented 1 year ago

I fixed a bug where the APEX Pro extension tried to access undefined properties of the Page Designer in APEX 22.2.

In APEX 22.2 the properties pe.PROP.USER_INTERFACE and pe.getAll().sharedComponents.userInterfaces don't seem to exist anymore. I figured out that pe.getAll().sharedComponents.userInterface now provides the necessary information instead.

Resolves #24, resolves #25.

I'm sorry about the whitespace changes in the diff view btw. My IDE removed the "dead" whitespace automatically on save. Let me know if it bothers you too much.

HeLau1337 commented 1 year ago

Hey @bjshumway, could you review this, please?