You need to sign in to do that
Don't have an account?
Renato Oliveira
Developer console hangs when referencing a managed package's protected component
When developing an app, if I install the app in a organization, and then try to reference a protected component using an anonymous code (in the developer console), if I try to run it, the console stucks with the window saying "Sending Request". It should instead report to me that the managed package's protected component (the custom label) cannot be referenced while protected.
Summary: console shouldn't get stuck with the message. Should throw an error instead.
Summary: console shouldn't get stuck with the message. Should throw an error instead.
Anyawy, I've searched a bit after posting this question, and protected components cannot indeed be referenced like I said, but it just feels wrong to have the console hanging instead of throwing me an error saying something like "Protected components cannot be referenced from outside a package. [component name, line]".