Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy errors are not thrown when main subsidiary language is not english #674

Open
omrilit opened this issue Feb 26, 2023 · 2 comments
Open
Labels
bug Something isn't working

Comments

@omrilit
Copy link

omrilit commented Feb 26, 2023

Your environment

OS : e.g. iOS Monterey 12.2
Node.js version : 16.14.2
suitecloud-cli version : 1.6.2
Terminal/CMD tool : node js

Describe the bug

When using SDF JS for an account that its main subsidiary is set to a non-english language, e.g. French, and there is a deploy failure, the response doesn't indicate a failure(!).

Although the "*** ERREUR ***" log is printed, the "ActionResult.isSuccess()" returns true.

Since we use SDF using code and we consume the returned "ActionResult" object, we cannot rely on it for non-english account due to this bug.

To Reproduce

  1. authenticate an account that its main Subsidiary language is set to French
  2. configure an SDF AccountCustomizationProject that has an XML that will yield a deploy failure
  3. run project deploy

Actual Behavior

The Deploy will fail but an error will only be logged while ActionResult.isSuccess() === true.

Expected Behavior

The Deploy will fail, an error will be logged and ActionResult.isSuccess() === false.

Additional context

This is very important for us as we rely on the ActionResult.isSuccess() in order to determine whether the deploy request has succeeded or not, and with this issue we tell the user that it always succeeds, although it may have failed.

@omrilit omrilit added the bug Something isn't working label Feb 26, 2023
@lfpvillegas
Copy link
Member

Hi @omrilit
Thanks for your message.
We are looking at the issue. We have contacted the team responsible of this error Message and look for a fix.
We would notify you with any update about it.

Thanks

@lfpvillegas
Copy link
Member

Hi again @omrilit
I have already talked with the team and they would find a solution. But before, please contact technical support for creating a ticket, so this issue could be tracked properly.

Thanks and Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants