LightningFlowComponents icon indicating copy to clipboard operation
LightningFlowComponents copied to clipboard

FlowScreenComponentsBasePack - Install Failed - MockHTTPResponseGenerator: Expression is too long

Open Garywoo opened this issue 2 years ago • 2 comments

I'm trying to upgrade FlowScreenComponentsBasePack from v2.5.3 to v3.0.10, so that I can install another package which requires base packs 3.0 or higher.

I get the following error when upgrading the package in our production org. I did not get any errors when installing in our sandbox org.

Package: FlowScreenComponentsBasePack (04t5G000003rV1T)

Problem:

1.  Apex compile failure

Apex class MockHTTPResponseGenerator: line -1, column -1: Expression is too long, please split this expression into multiple statements

I believe this apex class was included in another package already installed in our production and sandbox orgs - Component Finder.

Any advice on solutions or workarounds to this problem would be very much appreciated.

Garywoo avatar Aug 11 '22 16:08 Garywoo

I was able to work around this issue after I discovered that the other package was no longer in use in our org, so I was able to just uninstall it. I don't expect this to be a solution for others who might experience the same issue though.

Garywoo avatar Aug 11 '22 17:08 Garywoo

@Garywoo, If your issue has been resolved please make sure you close your issue. The MockHTTPResponseGenerator is a class from Salesforce to help with building Test Class. It is interesting that this failed you.

AndyHaas avatar Aug 16 '22 21:08 AndyHaas