Skip to content
Bug Barometer
All issues
Closed

Uncategorized

Classes may not honor namespaces when using Type.forName

Summary

Incorrect object definitions may be returned by Apex executions when a similarly named object exists in a managed package referenced in the same context.

This is only seen when calling a locally-defined Object with the Type.forName() method in the same context as a namespace with an Object with an identical name.

Workaround

We haven't loaded the full details for this issue yet. Check the official page.

History

  1. First tracked here as Closed

    Nov 30, 2026

Classes may not honor namespaces when using Type.forName · Bug Barometer