mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-09 02:54:20 +00:00
[DS-1194] Item Level Versioning : Bamboo Test Fixes
This commit is contained in:
@@ -480,10 +480,13 @@ public class VersionedHandleIdentifierProvider extends IdentifierProvider {
|
||||
|
||||
if(handle==null){
|
||||
handle = DatabaseManager.create(context, "Handle");
|
||||
handleId = createId(handle.getIntColumn("handle_id"));
|
||||
}
|
||||
|
||||
if(handleId==null)
|
||||
handleId = createId(handle.getIntColumn("handle_id"));
|
||||
|
||||
modifyHandleRecord(context, dso, handle, handleId);
|
||||
|
||||
return handleId;
|
||||
}
|
||||
|
||||
|
@@ -63,7 +63,7 @@ public class XmlWorkflowItem implements InProgressSubmission {
|
||||
*/
|
||||
// private ArrayList<StepRecord> activeSteps;
|
||||
|
||||
XmlWorkflowItem(Context context, TableRow row) throws SQLException, AuthorizeException, IOException {
|
||||
XmlWorkflowItem(Context context, TableRow row) throws SQLException {
|
||||
ourContext = context;
|
||||
wfRow = row;
|
||||
// activeSteps = new ArrayList<StepRecord>();
|
||||
@@ -369,7 +369,7 @@ public class XmlWorkflowItem implements InProgressSubmission {
|
||||
*
|
||||
* @return workflow item corresponding to the item, or null
|
||||
*/
|
||||
public static XmlWorkflowItem findByItem(Context context, Item item) throws SQLException, AuthorizeException, IOException {
|
||||
public static XmlWorkflowItem findByItem(Context context, Item item) throws SQLException{
|
||||
TableRow row = DatabaseManager.findByUnique(context, "cwf_workflowitem", "item_id", item.getID());
|
||||
|
||||
XmlWorkflowItem wi = null;
|
||||
|
Reference in New Issue
Block a user