-
Type: Bug
-
Status: Resolved
-
Priority: Critical
-
Resolution: Cannot Reproduce
-
Affects Version/s: 3.0.6
-
Fix Version/s: None
-
Component/s: Core
-
Tags:
-
Sprint:UI - 2021-13
If an error happens during the processing, the catch block is never executed
<nuxeo-operation id="publishOp" op="MediaPublish" schemas="*" async></nuxeo-operation> this.$.publishOp.execute() .then((response) => { this.document = response; }).catch((error) => { console.log(error); }).finally(() => { this.$.progress.disabled = true; this.shadowRoot.querySelector('#action').disabled = false; });
If the call is sucessful, the then block is executed
- is related to
-
ELEMENTS-1403 async nuxeo-operation doesn't return properties
- Open