If you try to upload the one of the attached Word documents  (or PDF, PPT), it sometime fails and detect it as an image/jpeg, and leave the workflow instance stale.

Some error related to the image thumbnail creation also indicate that it tries to process the file as an image instead of the original content type (doc, ppt, pdf etc..).


This issue is due to the wrong dc:format metadata created. There is a workaround by extending the DAM update asset workflow model to fix this.

  1. Install attached content package via CQ Package Manager
       * This provides a workflow ecma-script at /etc/workflows/scripts/dam/resetMimeType.ecma
  2. Open the Workflow admin console
  3. Edit the 'DAM Update Asset' workflow model
  4. Insert a Process step right after the 'Metadata extraction' step
  5. Set any title, e.g. 'Reset mimetype'
  6. In the Process tab of the properties dialog, select above ecma script: /etc/workflows/scripts/dam/resetMimeType.ecma
  7. Check the 'Handler Advance' flag checkbox
  8. Submit the dialog
  9. Save the workflow model

Now, try to upload the word document (or other document type that failed).


Applies to

CQ 5.3

CQ 5.4

이 작업에는 Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License의 라이센스가 부여되었습니다.  Twitter™ 및 Facebook 게시물은 Creative Commons 약관을 적용받지 않습니다.

법적 고지 사항   |   온라인 개인 정보 보호 정책