diff --git a/ccm-bundle/bundles/devel/cfg/project.xml b/ccm-bundle/bundles/devel/cfg/project.xml index f35585921..27b8fac4c 100644 --- a/ccm-bundle/bundles/devel/cfg/project.xml +++ b/ccm-bundle/bundles/devel/cfg/project.xml @@ -70,7 +70,7 @@ --> - + diff --git a/ccm-cms-assets-dublincore/src/com/arsdigita/cms/contentassets/DublinCoreConfig.java b/ccm-cms-assets-dublincore/src/com/arsdigita/cms/contentassets/DublinCoreConfig.java index 76b182441..633ab8660 100755 --- a/ccm-cms-assets-dublincore/src/com/arsdigita/cms/contentassets/DublinCoreConfig.java +++ b/ccm-cms-assets-dublincore/src/com/arsdigita/cms/contentassets/DublinCoreConfig.java @@ -21,6 +21,7 @@ import com.arsdigita.runtime.AbstractConfig; import com.arsdigita.util.parameter.Parameter; import com.arsdigita.util.parameter.StringParameter; import com.arsdigita.util.parameter.BooleanParameter; +import com.arsdigita.util.parameter.IntegerParameter; import org.apache.log4j.Logger; @@ -101,7 +102,7 @@ public class DublinCoreConfig extends AbstractConfig { private Parameter m_assetStepSortKey = new IntegerParameter( "com.arsdigita.cms.contentassets.dublincore.asset_step_sortkey", - Parameter.Optional, + Parameter.OPTIONAL, 3); /** diff --git a/ccm-cms-assets-dublincore/src/com/arsdigita/cms/contentassets/DublinCoreInitializer.java b/ccm-cms-assets-dublincore/src/com/arsdigita/cms/contentassets/DublinCoreInitializer.java index d327ce786..5efdb7ff8 100755 --- a/ccm-cms-assets-dublincore/src/com/arsdigita/cms/contentassets/DublinCoreInitializer.java +++ b/ccm-cms-assets-dublincore/src/com/arsdigita/cms/contentassets/DublinCoreInitializer.java @@ -87,6 +87,6 @@ public class DublinCoreInitializer extends ContentAssetInitializer { * The sort key for the authoring step */ public int getAuthoringStepSortKey() { - return DublinCoreInstance.instanceOf().getAssetStepSortKey(); + return DublinCoreConfig.instanceOf().getAssetStepSortKey(); } }