Refs #21729: Investigate errors generated in the Root scope

Disabled Spaces in root
This commit is contained in:
Giancarlo Panichi 2021-06-29 12:30:35 +02:00
parent 49f9a8e05c
commit 41e86e44ca
1 changed files with 5 additions and 3 deletions

View File

@ -390,7 +390,7 @@ public class AccountingManagerController {
}
private void retrieveSpace() {
if (rootScope) {
/* if (rootScope) {
AccountingManagerServiceAsync.INSTANCE.getSpaces(new AsyncCallback<Spaces>() {
@ -400,7 +400,7 @@ public class AccountingManagerController {
if (caught instanceof SessionExpiredException) {
eventBus.fireEvent(new SessionExpiredEvent(SessionExpiredType.EXPIREDONSERVER));
} else {
Log.error("Error retrieving sapces for " + accountingType + ":" + caught.getLocalizedMessage());
Log.error("Error retrieving spaces for " + accountingType + ":" + caught.getLocalizedMessage());
UtilsGXT3.alert("Error retrieving spaces ", caught.getLocalizedMessage());
}
@ -414,7 +414,9 @@ public class AccountingManagerController {
});
} else {
createDefaultSeriesRequest(null);
}
} */
createDefaultSeriesRequest(null);
}
private void createDefaultSeriesRequest(Spaces spaces) {