-
Bug
-
Resolution: Fixed
-
Neutral
-
None
-
None
-
-
Empty show more show less
-
Add-Ons 18
-
2
Step to reproduce:
- Upload asset
- Clean up `mgnl:lastTaggingAttemptDate` and `mgnl:tags`
- Make as deleted (soft delete) by deleting without publishing
- Restart `ImageRecognitionModule` to tag this image
AC
- Filter images which are marked as deleted
Error
2019-08-06 14:27:34,995 ERROR info.magnolia.ai.image.ImageRecognitionModule : Submission of image recognition request has failed.2019-08-06 14:27:34,995 ERROR info.magnolia.ai.image.ImageRecognitionModule : Submission of image recognition request has failed.javax.jcr.PathNotFoundException: jcr:content at org.apache.jackrabbit.core.NodeImpl$8.perform(NodeImpl.java:2167) ~[jackrabbit-core-2.18.1.jar:2.18.1] at org.apache.jackrabbit.core.NodeImpl$8.perform(NodeImpl.java:2161) ~[jackrabbit-core-2.18.1.jar:2.18.1] at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216) ~[jackrabbit-core-2.18.1.jar:2.18.1] at org.apache.jackrabbit.core.ItemImpl.perform(ItemImpl.java:91) ~[jackrabbit-core-2.18.1.jar:2.18.1] at org.apache.jackrabbit.core.NodeImpl.getNode(NodeImpl.java:2161) ~[jackrabbit-core-2.18.1.jar:2.18.1] at info.magnolia.jcr.wrapper.DelegateNodeWrapper.getNode(DelegateNodeWrapper.java:204) ~[magnolia-core-6.2-SNAPSHOT.jar:?] at info.magnolia.jcr.decoration.ContentDecoratorNodeWrapper.getNode(ContentDecoratorNodeWrapper.java:151) ~[magnolia-core-6.2-SNAPSHOT.jar:?] at info.magnolia.jcr.wrapper.DelegateNodeWrapper.getNode(DelegateNodeWrapper.java:204) ~[magnolia-core-6.2-SNAPSHOT.jar:?] at info.magnolia.jcr.decoration.ContentDecoratorNodeWrapper.getNode(ContentDecoratorNodeWrapper.java:151) ~[magnolia-core-6.2-SNAPSHOT.jar:?] at info.magnolia.jcr.wrapper.DelegateNodeWrapper.getNode(DelegateNodeWrapper.java:204) ~[magnolia-core-6.2-SNAPSHOT.jar:?] at info.magnolia.jcr.decoration.ContentDecoratorNodeWrapper.getNode(ContentDecoratorNodeWrapper.java:151) ~[magnolia-core-6.2-SNAPSHOT.jar:?] at info.magnolia.jcr.wrapper.DelegateNodeWrapper.getNode(DelegateNodeWrapper.java:204) ~[magnolia-core-6.2-SNAPSHOT.jar:?] at info.magnolia.jcr.decoration.ContentDecoratorNodeWrapper.getNode(ContentDecoratorNodeWrapper.java:151) ~[magnolia-core-6.2-SNAPSHOT.jar:?] at info.magnolia.jcr.wrapper.DelegateNodeWrapper.getNode(DelegateNodeWrapper.java:204) ~[magnolia-core-6.2-SNAPSHOT.jar:?] at info.magnolia.jcr.decoration.ContentDecoratorNodeWrapper.getNode(ContentDecoratorNodeWrapper.java:151) ~[magnolia-core-6.2-SNAPSHOT.jar:?] at info.magnolia.ai.image.ImageRecognitionModule.getBytes(ImageRecognitionModule.java:285) ~[magnolia-image-recognition-1.1-SNAPSHOT.jar:?] at info.magnolia.ai.image.ImageRecognitionModule.submitImageRecognitionRequests(ImageRecognitionModule.java:166) ~[magnolia-image-recognition-1.1-SNAPSHOT.jar:?] at info.magnolia.ai.image.ImageRecognitionModule.start(ImageRecognitionModule.java:135) ~[magnolia-image-recognition-1.1-SNAPSHOT.jar:?] at info.magnolia.ai.image.ImageRecognitionModule.lambda$new$0(ImageRecognitionModule.java:115) ~[magnolia-image-recognition-1.1-SNAPSHOT.jar:?]
AC:
- The Predicate should exclude soft deleted images or ignore these image during `submitImageRecognitionRequest`
Acceptance criteria
- is cloned by
-
TXTREC-46 Do not submit textClassification request for soft deleted pages
- Closed