@ardimedia/angular-portal-azure 0.2.210 → 0.2.211
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/apn.js +2 -5
- package/package.json +1 -1
package/apn.js
CHANGED
|
@@ -1369,7 +1369,6 @@ var angularportalazure;
|
|
|
1369
1369
|
// TODO:2017-01-09/hp: [any] will be [Response] in angular2
|
|
1370
1370
|
Exception.prepareException = function (response) {
|
|
1371
1371
|
console.log('angularportalazure.Exception.prepareException - Logging Exception: Find more information in [Responsee] and [Exception] below. [Exception] does contain data from [Response.]');
|
|
1372
|
-
console.log(response);
|
|
1373
1372
|
var exception = new angularportalazure.Exception();
|
|
1374
1373
|
if (response.headers === undefined) {
|
|
1375
1374
|
exception = Exception.processDotNetException1(response);
|
|
@@ -1403,7 +1402,6 @@ var angularportalazure;
|
|
|
1403
1402
|
return exception;
|
|
1404
1403
|
};
|
|
1405
1404
|
Exception.getOneLineMessage = function (exception) {
|
|
1406
|
-
console.log(exception);
|
|
1407
1405
|
var message = 'FEHLER ';
|
|
1408
1406
|
if (exception.Message !== undefined) {
|
|
1409
1407
|
message = message + ': ' + exception.Message + ' ';
|
|
@@ -1467,13 +1465,12 @@ var angularportalazure;
|
|
|
1467
1465
|
exception.ExceptionType = 'DbUpdateConcurrencyException';
|
|
1468
1466
|
return;
|
|
1469
1467
|
}
|
|
1470
|
-
|
|
1471
|
-
|
|
1468
|
+
// ClassName should by ExceptionType
|
|
1469
|
+
if (response.json().ClassName !== undefined && response.json().ClassName.indexOf('ValidationsException') > 0) {
|
|
1472
1470
|
exception.ExceptionType = 'ValidationsException';
|
|
1473
1471
|
return;
|
|
1474
1472
|
}
|
|
1475
1473
|
exception.ExceptionType = response.json().ExceptionType;
|
|
1476
|
-
console.log(exception.ExceptionType);
|
|
1477
1474
|
};
|
|
1478
1475
|
return Exception;
|
|
1479
1476
|
}(angularportalazure.ValidationsExceptionDotNet));
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@ardimedia/angular-portal-azure",
|
|
3
3
|
"description": "Angular Portal Azure - GUI Framework.",
|
|
4
4
|
"author": "Ardimedia Anstalt <info@ardimedia.com> (http://www.ardimedia.com)",
|
|
5
|
-
"version": "0.2.
|
|
5
|
+
"version": "0.2.211",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"typings": "apn.d.ts",
|
|
8
8
|
"dependencies": {
|