File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
experiment/src/org/labkey/experiment Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -3182,11 +3182,11 @@ public boolean next() throws BatchValidationException
31823182 if (_oldSampleStateCol == null && getExistingRecord () == null )
31833183 return true ;
31843184
3185- Integer oldState ;
3185+ Long oldState ;
31863186 if (_oldSampleStateCol != null )
3187- oldState = ( Integer ) get (_oldSampleStateCol );
3187+ oldState = asLong ( get (_oldSampleStateCol ) );
31883188 else
3189- oldState = ( Integer ) getExistingRecord ().get (SampleState .name ());
3189+ oldState = asLong ( getExistingRecord ().get (SampleState .name () ));
31903190
31913191 if (oldState == null )
31923192 return true ;
@@ -3202,7 +3202,7 @@ public boolean next() throws BatchValidationException
32023202 return true ;
32033203 }
32043204
3205- Integer newState = ( Integer ) get (_sampleStateCol );
3205+ Long newState = asLong ( get (_sampleStateCol ) );
32063206 DataState newStatus = _allStates .get (newState );
32073207 boolean newAllowsOp = SampleStatusService .get ().isOperationPermitted (newStatus , SampleTypeService .SampleOperations .EditMetadata );
32083208
You can’t perform that action at this time.
0 commit comments