Illegal assignment from Email to String
Issue #932
resolved
With the upgrade to 2.0 I'm seeing this now anytime I set a String value of a variable from an Email field such as User.Email.
Comments (6)
-
repo owner -
repo owner - changed status to resolved
Resolving assuming that will fix the issue for you, but if it doesn't just reopen and let me know. Thanks!
-
reporter @RoseSilverSoftware , how do I update the OST?
-
repo owner You can use the action Illuminated Cloud>Generated Offline Symbol Table. Minimally you'd need to generate the SObjects portion since that's where the data types for fields like this are defined. Let me know if you can't find it or if it doesn't resolve the issue for you.
-
reporter Thanks. This appears to have resolved it.
-
repo owner Wonderful. Thanks for confirming!
- Log in to comment
Paul, can you verify that your offline symbol table is up-to-date for IC2? Fields of type
Email
should now be rendered into the OST as typeString
which removes this false negative.