-
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-20282] Authors unable to select Excel and Word documents into …
…dialog (#2709) Adding for DownloadV2 component possibility to upload Xlsx files. Also adding integration test for this scenario.
- Loading branch information
Showing
5 changed files
with
59 additions
and
8 deletions.
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
30 changes: 30 additions & 0 deletions
30
...nt/src/content/jcr_root/content/dam/core-components/core-comp-test-xlsx.xlsx/.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,30 @@ | ||
<?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" xmlns:dc="http://purl.org/dc/elements/1.1/" | ||
jcr:mixinTypes="[mix:referenceable]" | ||
jcr:primaryType="dam:Asset" | ||
jcr:uuid="d59dfca8-2c84-4ea6-ba7d-c187b24440d3"> | ||
<jcr:content | ||
dam:assetState="processed" | ||
jcr:lastModified="{Date}2024-04-01T18:08:30.637+02:00" | ||
jcr:lastModifiedBy="admin" | ||
jcr:primaryType="dam:AssetContent"> | ||
<metadata | ||
dam:Application="Microsoft Excel" | ||
dam:AppVersion="{Decimal}14.0300" | ||
dam:created="{Date}2017-08-03T11:50:33.000Z" | ||
dam:DocSecurity="{Long}0" | ||
dam:extracted="{Date}2024-04-01T18:08:30.599+02:00" | ||
dam:modified="{Date}2017-08-04T11:27:53.000Z" | ||
dam:revision="{Long}4" | ||
dam:sha1="524d370df08e2543a52ddb5c907e017e0df12a42" | ||
dam:size="{Long}8227" | ||
dam:TotalTime="{Long}84507" | ||
dc:format="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | ||
dc:language="[en-US]" | ||
dc:title="Test Xlsx" | ||
dc:language_xmpArrayType="rdf:Bag" | ||
jcr:mixinTypes="[cq:Taggable]" | ||
jcr:primaryType="nt:unstructured"/> | ||
<related jcr:primaryType="nt:unstructured"/> | ||
</jcr:content> | ||
</jcr:root> |
Binary file added
BIN
+8.03 KB
...oot/content/dam/core-components/core-comp-test-xlsx.xlsx/_jcr_content/renditions/original
Binary file not shown.
8 changes: 8 additions & 0 deletions
8
...ore-components/core-comp-test-xlsx.xlsx/_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.spreadsheetml.sheet" | ||
jcr:primaryType="oak:Resource"/> | ||
</jcr:root> |