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

Ignore status detail of after_submit_failed in error handling #550

Conversation

flats
Copy link
Contributor

@flats flats commented Jun 16, 2022

Addresses issue #444, where some successful requests return an empty error object.

See https://system.netsuite.com/help/helpcenter/en_US/WSDiff/2018_2/FolderComparisonReport_files/FileComparisonReport24.html, line 914 for the change to the platformCore schema, https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/section_4407992281.html for a description of afterSubmit scripts, and https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/section_N3536574.html#bridgehead_1515748728 for a discussion of error reporting for these scripts.

Also adds a line for File requests in the add action spec b/c the existing fixture already includes the after_submit_failed field.

Co-authored-by: Lily Burtness lily.burtness@charitywater.org
Co-authored-by: Shana Schundler shana.schundler@charitywater.org

Addresses issue NetSweet#444, where some successful requests return an empty error object. See https://system.netsuite.com/help/helpcenter/en_US/WSDiff/2018_2/FolderComparisonReport_files/FileComparisonReport24.html, line 914 for the change to the platformCore schema, https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/section_4407992281.html for a description of afterSubmit scripts, and https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/section_N3536574.html#bridgehead_1515748728 for a discussion of error reporting for these scripts.

Also added a line for File requests in the add action spec b/c the existing fixture already includes the `after_submit_failed` field.

Co-authored-by: Lily Burtness <lily.burtness@charitywater.org>
Co-authored-by: Shana Schundler <shana.schundler@charitywater.org>
@flats flats changed the title Status detail of after_submit_failed is not error Status detail of after_submit_failed is not really an error Jun 16, 2022
@flats flats changed the title Status detail of after_submit_failed is not really an error Ignore status detail of after_submit_failed in error handling Jun 16, 2022
@iloveitaly
Copy link
Member

@flats This is a great change! I'll merge this in, would you mind submitting another PR with a changelog entry?

@iloveitaly iloveitaly merged commit a16abcf into NetSweet:master Jun 17, 2022
flats added a commit to charitywater/netsuite that referenced this pull request Jun 17, 2022
@flats
Copy link
Contributor Author

flats commented Jun 17, 2022

@iloveitaly great! No problem at all: #551. Figured it's more of an addition than a fix b/c it's really adding support for more recent API versions.

iloveitaly pushed a commit that referenced this pull request Jun 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants