Closed
Uncategorized
If a field name is the same as managed package field name on the same object, a ClassCastException could happen in a trigger
Summary
If a field name of a custom field created by an org own is the same name as a field contained in a package, and they are in a same entity/object, a value of the package field could be obtained instead when the field created by the org own is accessed while triggers are processed. And it causes a ClassCastException if their data types are different.
Workaround
We haven't loaded the full details for this issue yet. Check the official page.
History
First tracked here as Closed with 22 reports
Nov 30, 2026