Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9090

Re: Session expiration and Model in SAPUI5

$
0
0

Sometime it is worth to see sources:

 

  success: function(oData) {  if (!oData) {  jQuery.sap.log.fatal("The following problem occurred: No data was retrieved by service: " + sURL);  }  that.setData(oData, bMerge);  that.fireRequestCompleted({url : sURL, type : sType, async : bAsync, headers: mHeaders,   info : "cache="+bCache+";bMerge=" + bMerge, infoObject: {cache : bCache, merge : bMerge}, success: true});  },  error: function(XMLHttpRequest, textStatus, errorThrown){  var oError = { message : textStatus, statusCode : XMLHttpRequest.status, statusText : XMLHttpRequest.statusText, responseText : XMLHttpRequest.responseText};  jQuery.sap.log.fatal("The following problem occurred: " + textStatus, XMLHttpRequest.responseText + ","  + XMLHttpRequest.status + "," + XMLHttpRequest.statusText);  that.fireRequestCompleted({url : sURL, type : sType, async : bAsync, headers: mHeaders,  info : "cache="+bCache+";bMerge=" + bMerge, infoObject: {cache : bCache, merge : bMerge}, success: false, errorobject: oError});  that.fireRequestFailed(oError);  }

bunch of things are passed to that event even headers


Viewing all articles
Browse latest Browse all 9090


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>