Illegal assignment from Email to String

Issue #932 resolved
paulromer created an issue

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)

  1. Scott Wells repo owner

    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 type String which removes this false negative.

  2. Scott Wells repo owner

    Resolving assuming that will fix the issue for you, but if it doesn't just reopen and let me know. Thanks!

  3. Scott Wells 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.

  4. Log in to comment