-
Notifications
You must be signed in to change notification settings - Fork 755
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SITES-21186] Issue with uploading .pptx and other file types in AEM …
…Download Core Component (#2731) Added option to upload pptx files to download component
- Loading branch information
Showing
17 changed files
with
139 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
64 changes: 64 additions & 0 deletions
64
...nt/src/content/jcr_root/content/dam/core-components/core-comp-test-pptx.pptx/.content.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<jcr:root xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:dam="http://www.day.com/dam/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:mix="http://www.jcp.org/jcr/mix/1.0" xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:dc="http://purl.org/dc/elements/1.1/" | ||
jcr:mixinTypes="[mix:referenceable]" | ||
jcr:primaryType="dam:Asset" | ||
jcr:uuid="4a72941d-6041-4dbe-88b3-a006cfcf0a95"> | ||
<jcr:content | ||
dam:assetState="processed" | ||
jcr:lastModified="{Date}2024-04-16T14:14:21.311+02:00" | ||
jcr:lastModifiedBy="admin" | ||
jcr:primaryType="dam:AssetContent"> | ||
<metadata | ||
dam:Application="Microsoft Office PowerPoint" | ||
dam:AppVersion="{Decimal}14.0000" | ||
dam:created="{Date}2011-12-30T10:34:04.000Z" | ||
dam:extracted="{Date}2024-04-16T14:14:20.604+02:00" | ||
dam:HeadingPairs="Theme1Slide Titles1" | ||
dam:HiddenSlides="{Long}0" | ||
dam:HyperlinksChanged="false" | ||
dam:i4="{Long}1" | ||
dam:lastModifiedBy="muthu" | ||
dam:LinksUpToDate="false" | ||
dam:lpstr="PowerPoint Presentation" | ||
dam:MMClips="{Long}0" | ||
dam:modified="{Date}2011-12-30T10:40:39.000Z" | ||
dam:Notes="{Long}0" | ||
dam:numPages="{Long}1" | ||
dam:Paragraphs="{Long}7" | ||
dam:PresentationFormat="On-screen Show (4:3)" | ||
dam:revision="{Long}3" | ||
dam:ScaleCrop="false" | ||
dam:sha1="590aa4b373f559f8e4e2a01f6de12e5702211af1" | ||
dam:SharedDoc="false" | ||
dam:size="{Long}60908" | ||
dam:Slides="{Long}1" | ||
dam:TitlesOfParts="Office ThemePowerPoint Presentation" | ||
dam:TotalTime="{Long}6" | ||
dam:variant="{Long}1" | ||
dam:vector="Office ThemePowerPoint Presentation" | ||
dam:Words="{Long}37" | ||
dc:creator="[muthu]" | ||
dc:creator_xmpArrayType="rdf:Bag" | ||
dc:format="application/vnd.openxmlformats-officedocument.presentationml.presentation" | ||
dc:modified="{Date}2024-04-16T14:14:20.501+02:00" | ||
dc:title="Test PPTX" | ||
jcr:lastModified="{Date}2024-04-16T14:14:20.501+02:00" | ||
jcr:lastModifiedBy="admin" | ||
jcr:mixinTypes="[cq:Taggable]" | ||
jcr:primaryType="nt:unstructured" | ||
jcr:title="Test PPTX"/> | ||
<related jcr:primaryType="nt:unstructured"> | ||
<pages | ||
jcr:primaryType="nt:unstructured" | ||
sling:resourceType="sling/collection"> | ||
<sling:members | ||
jcr:primaryType="nt:unstructured" | ||
sling:resources="[/content/dam/core-components/core-comp-test-pptx.pptx/subassets/slide_1.pptx]"> | ||
<slide_1.pptx | ||
jcr:primaryType="nt:unstructured" | ||
sling:resource="/content/dam/core-components/core-comp-test-pptx.pptx/subassets/slide_1.pptx"/> | ||
</sling:members> | ||
</pages> | ||
</related> | ||
</jcr:content> | ||
</jcr:root> |
Binary file added
BIN
+2.2 KB
...s/core-comp-test-pptx.pptx/_jcr_content/renditions/cq5dam.thumbnail.140.100.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions
7
...comp-test-pptx.pptx/_jcr_content/renditions/cq5dam.thumbnail.140.100.png.dir/.content.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<jcr:root xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:oak="http://jackrabbit.apache.org/oak/ns/1.0" | ||
jcr:primaryType="nt:file"> | ||
<jcr:content | ||
jcr:lastModifiedBy="workflow-process-service" | ||
jcr:primaryType="oak:Resource"/> | ||
</jcr:root> |
Binary file added
BIN
+6.76 KB
...s/core-comp-test-pptx.pptx/_jcr_content/renditions/cq5dam.thumbnail.319.319.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions
7
...comp-test-pptx.pptx/_jcr_content/renditions/cq5dam.thumbnail.319.319.png.dir/.content.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<jcr:root xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:oak="http://jackrabbit.apache.org/oak/ns/1.0" | ||
jcr:primaryType="nt:file"> | ||
<jcr:content | ||
jcr:lastModifiedBy="workflow-process-service" | ||
jcr:primaryType="oak:Resource"/> | ||
</jcr:root> |
Binary file added
BIN
+522 Bytes
...nts/core-comp-test-pptx.pptx/_jcr_content/renditions/cq5dam.thumbnail.48.48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions
7
...e-comp-test-pptx.pptx/_jcr_content/renditions/cq5dam.thumbnail.48.48.png.dir/.content.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<jcr:root xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:oak="http://jackrabbit.apache.org/oak/ns/1.0" | ||
jcr:primaryType="nt:file"> | ||
<jcr:content | ||
jcr:lastModifiedBy="workflow-process-service" | ||
jcr:primaryType="oak:Resource"/> | ||
</jcr:root> |
Binary file added
BIN
+18.9 KB
...ents/core-comp-test-pptx.pptx/_jcr_content/renditions/cq5dam.web.1280.1280.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions
7
...re-comp-test-pptx.pptx/_jcr_content/renditions/cq5dam.web.1280.1280.jpeg.dir/.content.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<jcr:root xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:oak="http://jackrabbit.apache.org/oak/ns/1.0" | ||
jcr:primaryType="nt:file"> | ||
<jcr:content | ||
jcr:lastModifiedBy="workflow-process-service" | ||
jcr:primaryType="oak:Resource"/> | ||
</jcr:root> |
Binary file added
BIN
+59.5 KB
...oot/content/dam/core-components/core-comp-test-pptx.pptx/_jcr_content/renditions/original
Binary file not shown.
8 changes: 8 additions & 0 deletions
8
...ore-components/core-comp-test-pptx.pptx/_jcr_content/renditions/original.dir/.content.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<jcr:root xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:oak="http://jackrabbit.apache.org/oak/ns/1.0" | ||
jcr:primaryType="nt:file"> | ||
<jcr:content | ||
jcr:lastModifiedBy="admin" | ||
jcr:mimeType="application/vnd.openxmlformats-officedocument.presentationml.presentation" | ||
jcr:primaryType="oak:Resource"/> | ||
</jcr:root> |
5 changes: 5 additions & 0 deletions
5
...tent/jcr_root/content/dam/core-components/core-comp-test-pptx.pptx/subassets/.content.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<jcr:root xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:sling="http://sling.apache.org/jcr/sling/1.0" | ||
jcr:primaryType="sling:OrderedFolder"> | ||
<slide_1.pptx/> | ||
</jcr:root> |
14 changes: 14 additions & 0 deletions
14
.../content/dam/core-components/core-comp-test-pptx.pptx/subassets/slide_1.pptx/.content.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<jcr:root xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:dam="http://www.day.com/dam/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:mix="http://www.jcp.org/jcr/mix/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" | ||
jcr:mixinTypes="[mix:referenceable]" | ||
jcr:primaryType="dam:Asset" | ||
jcr:uuid="fda7b727-e202-4261-b234-387ccd7d86d9"> | ||
<jcr:content | ||
dam:assetState="unProcessed" | ||
jcr:primaryType="dam:AssetContent"> | ||
<metadata | ||
jcr:mixinTypes="[cq:Taggable]" | ||
jcr:primaryType="nt:unstructured"/> | ||
<related jcr:primaryType="nt:unstructured"/> | ||
</jcr:content> | ||
</jcr:root> |
Binary file added
BIN
+52.5 KB
...mponents/core-comp-test-pptx.pptx/subassets/slide_1.pptx/_jcr_content/renditions/original
Binary file not shown.
8 changes: 8 additions & 0 deletions
8
...p-test-pptx.pptx/subassets/slide_1.pptx/_jcr_content/renditions/original.dir/.content.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<jcr:root xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:oak="http://jackrabbit.apache.org/oak/ns/1.0" | ||
jcr:primaryType="nt:file"> | ||
<jcr:content | ||
jcr:lastModifiedBy="workflow-process-service" | ||
jcr:mimeType="application/vnd.openxmlformats-officedocument.presentationml.presentation" | ||
jcr:primaryType="oak:Resource"/> | ||
</jcr:root> |