Skip to content
Snippets Groups Projects
Commit c227d3ae authored by buczekp's avatar buczekp
Browse files

[LMS-2442] fixed saving location

SVN: 22474
parent 73a75eeb
No related branches found
No related tags found
No related merge requests found
......@@ -583,7 +583,7 @@ final class DataDAO extends AbstractGenericEntityWithPropertiesDAO<DataPE> imple
+ SQLBuilder.inEntityIds();
}
// TODO refactor - it is very similar code to the one in AbstractGenericEntityWithPropertiesDAO
// TODO refactor - it is very similar code to the one in AbstractGenericEntityWithPropertiesDAO
protected class DeleteDataSetsPermanentlyBatchOperation implements IBatchOperation<Long>
{
......@@ -742,14 +742,13 @@ final class DataDAO extends AbstractGenericEntityWithPropertiesDAO<DataPE> imple
public String toString(Object value)
{
return value == null ? "" : delegatee.toString();
return value == null ? "" : delegatee.toString(value);
}
};
final String allPermIdsAsString =
CollectionUtils.abbreviate(permIds, -1, toStringConverter,
CollectionStyle.NO_BOUNDARY);
sqlQueryInsertEvent.setParameter(IDENTIFIERS_PARAM, allPermIdsAsString);
// FIXME handle null locations for containers
final String description =
CollectionUtils.abbreviate(locations, -1, toStringConverter,
CollectionStyle.NO_BOUNDARY);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment