tdraier 2004/09/16 18:29:23 CEST
Modified files:
core/src/java/org/jahia/services/fields ContentField.java
Log:
fixed activation problem
Revision Changes Path
1.10 +10 -0 jahia/core/src/java/org/jahia/services/fields/ContentField.java
http://jahia.mine.nu:8080/cgi-bin/cvsweb.cgi/jahia/core/src/java/org/jahia/services/fields/ContentField.java.diff?r1=1.9&r2=1.10&f=h
Index: ContentField.java
===================================================================
RCS file:
/home/cvs/repository/jahia/core/src/java/org/jahia/services/fields/ContentField.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- ContentField.java 20 Aug 2004 13:34:56 -0000 1.9
+++ ContentField.java 16 Sep 2004 16:29:22 -0000 1.10
@@ -408,6 +408,16 @@
ContentObjectEntryState.WORKFLOW_STATE_START_STAGING,
languageCode);
}
+
+ public synchronized ActivationTestResults activate(Set languageCodes,
+ boolean versioningActive,
+ JahiaSaveVersion saveVersion,
+ JahiaUser user,
+ ParamBean jParams,
+ StateModificationContext
stateModifContext) throws JahiaException {
+ return activate(languageCodes, saveVersion.getVersionID(), jParams,
stateModifContext);
+ }
+
/**
* This method should be called when the staged version has to be activated.
*