openui5-fhir
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -0,1 +1,8 @@ | ||
## [2.0.1](https://github.com/SAP/openui5-fhir/compare/v2.0.0...v2.0.1) (2020-10-15) | ||
### Bug Fixes | ||
* dont trigger request failed for aborted requests ([#186](https://github.com/SAP/openui5-fhir/issues/186)) ([05286bb](https://github.com/SAP/openui5-fhir/commit/05286bbb2b7d1ee8ac311019c3821259dc022520)), closes [/github.com/SAP/openui5/blob/master/src/sap.ui.core/src/sap/ui/model/odata/ODataModel.js#L869](https://github.com//github.com/SAP/openui5/blob/master/src/sap.ui.core/src/sap/ui/model/odata/ODataModel.js/issues/L869) | ||
# [2.0.0](https://github.com/SAP/openui5-fhir/compare/v1.1.7...v2.0.0) (2020-09-07) | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "openui5-fhir", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"author": "SAP SE", | ||
@@ -28,12 +28,12 @@ "license": "Apache-2.0", | ||
"devDependencies": { | ||
"eslint": "^7.8.1", | ||
"eslint": "^7.11.0", | ||
"eslint-watch": "^7.0.0", | ||
"js-beautify": "^1.13.0", | ||
"jsdoc": "^3.6.5", | ||
"karma": "^5.2.1", | ||
"jsdoc": "^3.6.6", | ||
"karma": "^5.2.3", | ||
"karma-chrome-launcher": "^3.1.0", | ||
"karma-coverage": "^2.0.3", | ||
"karma-junit-reporter": "^2.0.1", | ||
"karma-ui5": "^2.3.0", | ||
"@ui5/cli": "^2.4.2", | ||
"karma-ui5": "^2.3.1", | ||
"@ui5/cli": "^2.4.5", | ||
"coveralls": "^3.1.0", | ||
@@ -40,0 +40,0 @@ "replace-in-file": "^6.1.0", |
@@ -11,3 +11,3 @@ sap.ui.define(function() { | ||
* @author SAP SE | ||
* @version 2.0.0 | ||
* @version 2.0.1 | ||
* @public | ||
@@ -17,3 +17,3 @@ */ | ||
name : "sap.fhir", | ||
version : "2.0.0", | ||
version : "2.0.1", | ||
noLibraryCSS: true, | ||
@@ -20,0 +20,0 @@ dependencies : [ "sap.ui.core" ], |
@@ -34,3 +34,3 @@ /*! | ||
* @since 1.0.0 | ||
* @version 2.0.0 | ||
* @version 2.0.1 | ||
* | ||
@@ -37,0 +37,0 @@ * @see sap.fhir.model.r4.Context.create |
@@ -36,3 +36,3 @@ /*! | ||
* @since 1.0.0 | ||
* @version 2.0.0 | ||
* @version 2.0.1 | ||
*/ | ||
@@ -39,0 +39,0 @@ var FHIRContextBinding = ContextBinding.extend("sap.fhir.model.r4.FHIRContextBinding", { |
@@ -21,3 +21,3 @@ /*! | ||
* @since 1.0.0 | ||
* @version 2.0.0 | ||
* @version 2.0.1 | ||
*/ | ||
@@ -24,0 +24,0 @@ var FHIRFilterOperatorUtils = {}; |
@@ -25,3 +25,3 @@ /*! | ||
* @since 1.0.0 | ||
* @version 2.0.0 | ||
* @version 2.0.1 | ||
*/ | ||
@@ -28,0 +28,0 @@ var FHIRFilterProcessor = {}; |
@@ -48,3 +48,3 @@ /*! | ||
* @since 1.0.0 | ||
* @version 2.0.0 | ||
* @version 2.0.1 | ||
*/ | ||
@@ -51,0 +51,0 @@ var FHIRListBinding = ListBinding.extend("sap.fhir.model.r4.FHIRListBinding", { |
@@ -33,3 +33,3 @@ /*! | ||
* @since 1.0.0 | ||
* @version 2.0.0 | ||
* @version 2.0.1 | ||
*/ | ||
@@ -36,0 +36,0 @@ var FHIRPropertyBinding = PropertyBinding.extend("sap.fhir.model.r4.FHIRPropertyBinding", { |
@@ -27,3 +27,3 @@ /*! | ||
* @since 1.0.0 | ||
* @version 2.0.0 | ||
* @version 2.0.1 | ||
*/ | ||
@@ -30,0 +30,0 @@ var FHIRUtils = {}; |
@@ -31,3 +31,3 @@ /*! | ||
* @since 1.0.0 | ||
* @version 2.0.0 | ||
* @version 2.0.1 | ||
*/ | ||
@@ -34,0 +34,0 @@ var BindingInfo = function(sResourceId, sResourceType, sResourcePath, sRelativePath, sAbsolutePath, aBinding, sGroupId, sRequestPath, aResourcePath, sResourceServerPath, sETag) { |
@@ -21,3 +21,3 @@ /*! | ||
* @since 1.0.0 | ||
* @version 2.0.0 | ||
* @version 2.0.1 | ||
*/ | ||
@@ -24,0 +24,0 @@ var FHIRBundle = function(sBundleType, sGroupId) { |
@@ -23,3 +23,3 @@ /*! | ||
* @since 1.0.0 | ||
* @version 2.0.0 | ||
* @version 2.0.1 | ||
*/ | ||
@@ -26,0 +26,0 @@ var FHIRBundleEntry = function(sFullUrl, oResource, oRequest) { |
@@ -31,3 +31,3 @@ /*! | ||
* @since 1.0.0 | ||
* @version 2.0.0 | ||
* @version 2.0.1 | ||
*/ | ||
@@ -34,0 +34,0 @@ var FHIRBundleRequest = function(oBinding, sMethod, sUrl, fnSuccess, fnError, sIfMatch, sIfNoneMatch, sIfNoneExist, sIfModifiedSince) { |
@@ -21,3 +21,3 @@ /*! | ||
* @since 2.0.0 | ||
* @version 2.0.0 | ||
* @version 2.0.1 | ||
*/ | ||
@@ -24,0 +24,0 @@ var FHIROperationOutcome = function (oResource) { |
@@ -39,3 +39,3 @@ /*! | ||
* @since 1.0.0 | ||
* @version 2.0.0 | ||
* @version 2.0.1 | ||
*/ | ||
@@ -314,4 +314,4 @@ var FHIRRequestor = function(sServiceUrl, oModel, bCSRF, sPrefer, oDefaultQueryParams) { | ||
var jqXHR = jQuery.ajax(mParameters); | ||
if (jqXHR.statusText !== "canceled") { | ||
jqXHR.complete(function(oGivenRequestHandle) { | ||
if (!oRequestHandle.isAborted()) { | ||
jqXHR.complete(function (oGivenRequestHandle) { | ||
this.oModel.fireRequestCompleted(this._createEventParameters(oGivenRequestHandle)); | ||
@@ -343,3 +343,5 @@ }.bind(this, oRequestHandle)); | ||
fnError(oGivenRequestHandle); | ||
this.oModel.fireRequestFailed(this._createEventParameters(oGivenRequestHandle)); | ||
if (!oGivenRequestHandle.isAborted()) { | ||
this.oModel.fireRequestFailed(this._createEventParameters(oGivenRequestHandle)); | ||
} | ||
}.bind(this, oRequestHandle)); | ||
@@ -346,0 +348,0 @@ }; |
@@ -22,3 +22,3 @@ /*! | ||
* @since 1.0.0 | ||
* @version 2.0.0 | ||
* @version 2.0.1 | ||
*/ | ||
@@ -25,0 +25,0 @@ var FHIRUrl = function(sUrl, sServiceUrl) { |
@@ -20,3 +20,3 @@ /*! | ||
* @since 1.0.0 | ||
* @version 2.0.0 | ||
* @version 2.0.1 | ||
*/ | ||
@@ -23,0 +23,0 @@ var HTTPMethod = { |
@@ -22,3 +22,3 @@ /*! | ||
* @since 1.0.0 | ||
* @version 2.0.0 | ||
* @version 2.0.1 | ||
*/ | ||
@@ -184,3 +184,15 @@ var RequestHandle = function(oBinding) { | ||
/** | ||
* Checks if the request is aborted or canceled | ||
* | ||
* @returns {boolean} true if the request is aborted or canceled | ||
* @protected | ||
* @since 2.0.1 | ||
*/ | ||
RequestHandle.prototype.isAborted = function () { | ||
return this.getRequest().statusText === "abort" || this.getRequest().statusText === "canceled"; | ||
}; | ||
return RequestHandle; | ||
}); |
@@ -24,3 +24,3 @@ /*! | ||
* @since 1.0.0 | ||
* @version 2.0.0 | ||
* @version 2.0.1 | ||
*/ | ||
@@ -27,0 +27,0 @@ var Sliceable = {}; |
@@ -20,3 +20,3 @@ /*! | ||
* @since 1.0.0 | ||
* @version 2.0.0 | ||
* @version 2.0.1 | ||
*/ | ||
@@ -23,0 +23,0 @@ var OperationMode = { |
@@ -19,3 +19,3 @@ /*! | ||
* @since 1.0.0 | ||
* @version 2.0.0 | ||
* @version 2.0.1 | ||
*/ | ||
@@ -22,0 +22,0 @@ var SubmitMode = { |
@@ -18,3 +18,3 @@ /*! | ||
* @since 1.1.0 | ||
* @version 2.0.0 | ||
* @version 2.0.1 | ||
*/ | ||
@@ -21,0 +21,0 @@ |
@@ -15,3 +15,3 @@ /*! | ||
* @since 1.1.0 | ||
* @version 2.0.0 | ||
* @version 2.0.1 | ||
*/ | ||
@@ -18,0 +18,0 @@ |
@@ -15,3 +15,3 @@ /*! | ||
* @since 1.1.0 | ||
* @version 2.0.0 | ||
* @version 2.0.1 | ||
*/ | ||
@@ -18,0 +18,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
326256
7493