force:mdapi:deploy no longer showing error line numbers on failures #356
Labels
area:mdapi
This is an issue for MDAPI server side team.
bug
Issue or pull request that identifies or fixes a bug
owned by another team
The Salesforce CLI team does not own this work but will pass on the information to the correct team.
Summary
force:mdapi:deploy
no longer shows the error line number for components that fail to deploy.Steps To Reproduce:
deploy-test
with following components:ClassWithCompileError.cls
:ClassWithCompileError.cls-meta.xml
:package.xml
:Expected result
Expected error messages in "Component Failures" list would contain the line/column number where the problem occurs, so that I can easily fix the issue and re-deploy:
Note the line/column at the end of each message.
Actual result
No line/column numbers are shown in the error messages making it more difficult for me to track the source of the problem.
Additional information
I also tried using the
--verbose
flag but this does not add the line/column numbers either.Using
--json
flag I can see the line/column numbers are present.As a workaround, I am opening "Deployment Status" page in Salesforce to view errors but really should get that information in
force:mdapi:deploy
without having to use--verbose
or--json
flags.SFDX CLI Version: sfdx-cli/7.52.0-c5ad5c3eff linux-x64 node-v10.15.3
SFDX plugin Version:
OS and version: Ubuntu 18.04.4 LTS
The text was updated successfully, but these errors were encountered: