{"action":"created","issue":{"url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/issues/780","repository_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons","labels_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/issues/780/labels{/name}","comments_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/issues/780/comments","events_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/issues/780/events","html_url":"https://github.com/Adobe-Consulting-Services/acs-aem-commons/issues/780","id":172254655,"number":780,"title":"Named Transform Image Servlet: cropping issue","user":{"login":"chunshengluo","id":7684278,"avatar_url":"https://avatars.githubusercontent.com/u/7684278?v=3","gravatar_id":"","url":"https://api.github.com/users/chunshengluo","html_url":"https://github.com/chunshengluo","followers_url":"https://api.github.com/users/chunshengluo/followers","following_url":"https://api.github.com/users/chunshengluo/following{/other_user}","gists_url":"https://api.github.com/users/chunshengluo/gists{/gist_id}","starred_url":"https://api.github.com/users/chunshengluo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chunshengluo/subscriptions","organizations_url":"https://api.github.com/users/chunshengluo/orgs","repos_url":"https://api.github.com/users/chunshengluo/repos","events_url":"https://api.github.com/users/chunshengluo/events{/privacy}","received_events_url":"https://api.github.com/users/chunshengluo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-20T05:29:11Z","updated_at":"2016-08-20T22:08:43Z","closed_at":null,"body":"We use this capability for adaptive images. There is one issue when we crop the images with cropConfig settings from the classic dialog. It worked OK on the author. There is an issue after activation to publishers. The error is pasted below. I have not checked the servlet code. Any thoughts?\r\n\r\n20.08.2016 01:12:45.570 *ERROR* [50.59.141.27 [1471669965382] GET /content/icop/ico/home/locations/orange-county/irvine-spectrum/alton-corporate-center/_jcr_content/mainParsys/section_container_1386025988/width-container/containerwidth/new_mondrian/grid/rollover_element_1053832790/image/large.transform/mondrianSquareLarge/image.jpg HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught SlingException\r\njava.awt.image.RasterFormatException: (x + width) is outside of Raster\r\n\tat sun.awt.image.ByteInterleavedRaster.createWritableChild(ByteInterleavedRaster.java:1245)\r\n\tat java.awt.image.BufferedImage.getSubimage(BufferedImage.java:1203)\r\n\tat com.day.image.Layer.crop(Layer.java:1569)\r\n\tat com.day.cq.commons.ImageResource.crop(ImageResource.java:553)\r\n\tat com.adobe.acs.commons.images.impl.NamedTransformImageServlet.getLayer(NamedTransformImageServlet.java:423)\r\n\tat com.adobe.acs.commons.images.impl.NamedTransformImageServlet.doGet(NamedTransformImageServlet.java:214)\r\n\tat org.apache.sling.api.servlets.SlingSafeMethodsServlet.mayService(SlingSafeMethodsServlet.java:269)"},"comment":{"url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/issues/comments/241226809","html_url":"https://github.com/Adobe-Consulting-Services/acs-aem-commons/issues/780#issuecomment-241226809","issue_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/issues/780","id":241226809,"user":{"login":"chunshengluo","id":7684278,"avatar_url":"https://avatars.githubusercontent.com/u/7684278?v=3","gravatar_id":"","url":"https://api.github.com/users/chunshengluo","html_url":"https://github.com/chunshengluo","followers_url":"https://api.github.com/users/chunshengluo/followers","following_url":"https://api.github.com/users/chunshengluo/following{/other_user}","gists_url":"https://api.github.com/users/chunshengluo/gists{/gist_id}","starred_url":"https://api.github.com/users/chunshengluo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chunshengluo/subscriptions","organizations_url":"https://api.github.com/users/chunshengluo/orgs","repos_url":"https://api.github.com/users/chunshengluo/repos","events_url":"https://api.github.com/users/chunshengluo/events{/privacy}","received_events_url":"https://api.github.com/users/chunshengluo/received_events","type":"User","site_admin":false},"created_at":"2016-08-20T22:08:43Z","updated_at":"2016-08-20T22:08:43Z","body":"Just checked the image replication. Yes. The image fileReference URL is tested as a valid full image. I tested the replicated images by prefixing with the domain. The issue is when there is imageCrop property. The error occurs. One example of the imageCrop from CRXDE Lite:\r\nimageCrop String 1314,284,2914,1884/1,1"}}
{"actor":{"display_login":"chunshengluo"}}