ref 12977: SAI - Force the path of the project folder to be updated to a new format
https://support.d4science.org/issues/12977 Now, when the project is open the path is forced to be updated git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/statistical-algorithms-importer@174903 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
59dee8d2d6
commit
60f4d47855
|
@ -260,7 +260,7 @@ public class StatAlgoImporterController {
|
||||||
if (eventType == null) {
|
if (eventType == null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Log.debug("StatAlgoRibbonEvent: " + event);
|
Log.info("StatAlgoRibbonEvent: " + event);
|
||||||
|
|
||||||
switch (eventType) {
|
switch (eventType) {
|
||||||
case PROJECT_CREATE:
|
case PROJECT_CREATE:
|
||||||
|
@ -327,6 +327,7 @@ public class StatAlgoImporterController {
|
||||||
UtilsGXT3.alert("Attention", event.getError());
|
UtilsGXT3.alert("Attention", event.getError());
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
|
Log.info("Input Ready: "+inputRequestType);
|
||||||
if (inputRequestType == null) {
|
if (inputRequestType == null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,7 +6,7 @@ import com.google.gwt.event.shared.HandlerRegistration;
|
||||||
import com.google.gwt.event.shared.HasHandlers;
|
import com.google.gwt.event.shared.HasHandlers;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Input Save Event
|
* Input Request Event
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* @author Giancarlo Panichi
|
* @author Giancarlo Panichi
|
||||||
|
|
|
@ -703,6 +703,7 @@ public class ProjectManager {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void softwareRepackageOnServer() {
|
private void softwareRepackageOnServer() {
|
||||||
|
Log.info("Software Repackage On Server");
|
||||||
final StatAlgoImporterMonitor monitor = new StatAlgoImporterMonitor();
|
final StatAlgoImporterMonitor monitor = new StatAlgoImporterMonitor();
|
||||||
StatAlgoImporterServiceAsync.INSTANCE.repackageSoftware(new AsyncCallback<Void>() {
|
StatAlgoImporterServiceAsync.INSTANCE.repackageSoftware(new AsyncCallback<Void>() {
|
||||||
|
|
||||||
|
@ -739,6 +740,7 @@ public class ProjectManager {
|
||||||
|
|
||||||
// TODO
|
// TODO
|
||||||
private void softwarePublishOnServer(final StatAlgoImporterMonitor monitor) {
|
private void softwarePublishOnServer(final StatAlgoImporterMonitor monitor) {
|
||||||
|
Log.info("Software Publish On Server");
|
||||||
StatAlgoImporterServiceAsync.INSTANCE.publishSoftware(new AsyncCallback<String>() {
|
StatAlgoImporterServiceAsync.INSTANCE.publishSoftware(new AsyncCallback<String>() {
|
||||||
|
|
||||||
public void onFailure(Throwable caught) {
|
public void onFailure(Throwable caught) {
|
||||||
|
|
|
@ -131,6 +131,7 @@ public class InputVariablePanel extends ContentPanel {
|
||||||
break;
|
break;
|
||||||
case BINARY_CODE_SET:
|
case BINARY_CODE_SET:
|
||||||
setBinaryCode(event.getProject());
|
setBinaryCode(event.getProject());
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue