Skip to content
Snippets Groups Projects
Commit 2b409fed authored by gwen-soleil's avatar gwen-soleil
Browse files

Remove unsupported image format when storing values

parent e55b3538
No related branches found
No related tags found
No related merge requests found
...@@ -60,11 +60,12 @@ public class SpringSnapshotPersistenceManagerImpl implements SnapshotPersistence ...@@ -60,11 +60,12 @@ public class SpringSnapshotPersistenceManagerImpl implements SnapshotPersistence
break; break;
case AttrDataFormat._IMAGE: case AttrDataFormat._IMAGE:
if (attribute.getWritable() == AttrWriteType._READ) { logger.warn("{} is an image, format not supported", attribute.getCompleteName());
/* if (attribute.getWritable() == AttrWriteType._READ) {
beans.getIm1ValDAO().create(new Im1Val(attribute, context)); beans.getIm1ValDAO().create(new Im1Val(attribute, context));
} else { } else {
beans.getIm2ValDAO().create(new Im2Val(attribute, context)); beans.getIm2ValDAO().create(new Im2Val(attribute, context));
} }*/
break; break;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment