Skip to content

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

Open
HeLau1337 wants to merge 1 commit intoinsum-labs:masterfrom
HeLau1337:master
Open

Bugfix: Undefined properties accessed when using the extension in APEX 22.2#27
HeLau1337 wants to merge 1 commit intoinsum-labs:masterfrom
HeLau1337:master

Conversation

@HeLau1337
Copy link

@HeLau1337 HeLau1337 commented Mar 2, 2023

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 HeLau1337 changed the title Bugfix for insum-labs/insum-apex-pro#25: Undefined properties accessed when using the extension in APEX 22.2 Bugfix: Undefined properties accessed when using the extension in APEX 22.2 Mar 2, 2023
@HeLau1337
Copy link
Author

Hey @bjshumway, could you review this, please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can't click "OK" in modal dialog "Template Options" in APEX 22.2 Modification du contenu statique et des données du modèle.

1 participant