Skip to content

Nebula Logger: Illegal assignment from List<Schema.PicklistEntry> to List<PicklistEntry> #272

@aranwe

Description

@aranwe

Hi,

when trying to install Nebula Logger I get the following error:

1.  Illegal assignment from List<Schema.PicklistEntry> to List<PicklistEntry>
LogHandler: Illegal assignment from List<Schema.PicklistEntry> to List<PicklistEntry>

2.  Method does not exist or incorrect signature: void getValue() from the type PicklistEntry
LogHandler: Method does not exist or incorrect signature: void getValue() from the type PicklistEntry

3.  Method does not exist or incorrect signature: void getValue() from the type PicklistEntry
LogHandler: Method does not exist or incorrect signature: void getValue() from the type PicklistEntry

4.  Dependent class is invalid and needs recompilation:
 Class LogHandler : Illegal assignment from List<Schema.PicklistEntry> to List<PicklistEntry>
LogHandler_Tests: Dependent class is invalid and needs recompilation:
 Class LogHandler : Illegal assignment from List<Schema.PicklistEntry> to List<PicklistEntry>

5.  Invalid type: LogHandler
Log: Invalid type: LogHandler

6. (LoggerLogManagement) No classes found for LogHandler_Tests.
LoggerLogManagement: No classes found for LogHandler_Tests.

I have actually noticed that Salesforce has recently changed the return type of getPicklistValues() and started to throw type mismatch on Schema vs global PicklistEntry.

I can make PR if needed :)

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugSomething isn't working

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions