v4.12.5 - Bugfix: Name Shadowing Issues for Several Schema Apex Classes #609
jongpie
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Thanks to @amp42 for reporting this bug!
Core Unlocked Package Changes
Switched Using Fully-Qualified Class Names in the
Schema
NamespaceFixed Installation fails #584 (reported by @amp42) by switching to using fully-qualified Apex class references to several classes in the
Schema
namespace, likeSchema.User
, to avoid collision issues in orgs that use name-shadowing classes. These class references are now fully-qualified throughout the codebase. This is the same concept & approach as the changes made inv4.9.0
,v4.9.4
, andv4.9.6
to fully-qualify references to classes & enums in theSystem
namespaceSchema.Account
(these references are only used for tests & sample recipes, not in Nebula Logger's core code)Schema.AuthSession
Schema.LoginHistory
Schema.Network
Schema.Organization
Schema.Profile
Schema.Topic
Schema.TopicAssignment
Schema.User
Installation Info
Core Unlocked Package - no namespace
Full Changelog: v4.12.4...v4.12.5
sf package install --wait 20 --security-type AdminsOnly --package 04t5Y000001Mk5PQAS
sfdx force:package:install --wait 20 --securitytype AdminsOnly --package 04t5Y000001Mk5PQAS
This discussion was created from the release Bugfix: Name Shadowing Issues for Several Schema Apex Classes.
Beta Was this translation helpful? Give feedback.
All reactions