celador / ForceCode

ForceCode is a Visual Studio Code extension for Salesforce development
MIT License
160 stars 69 forks source link

invalid cross reference Id #390

Closed Rihan9 closed 3 years ago

Rihan9 commented 3 years ago

Describe the bug Unable to save any apexclass on some orgs.

The apexclass actually is updated on org, but forceCode get the error on subject

To Reproduce Steps to reproduce the behavior:

  1. edit an apex class
  2. save it

Expected behavior Save on orgs and get OK if it is saved correctly

Desktop (please complete the following information):

Additional context output message: { "resource": "/src/classes/CartDetailsController.cls", "owner": "fcDiagCol", "severity": 8, "message": "invalid cross reference id", "startLineNumber": 1, "startColumn": 1, "endLineNumber": 1, "endColumn": 3 }

Rihan9 commented 3 years ago

Any news? maybe this query in "containerService" file?

SELECT Id, MetadataContainerId, MetadataContainerMemberId, State, IsCheckOnly, DeployDetails, ErrorMsg FROM ContainerAsyncRequest WHERE Id='${this.containerAsyncRequestId}'

SergioXp commented 3 years ago

Same problem

Rihan9 commented 3 years ago

It seems that it was a problem in the latest salesforce update. It seems that it is now fixed.