Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Unable to delete the duplicate asset

Avatar

Avatar
Validate 1
Level 1
nirbhays3027754
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
nirbhays3027754
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
nirbhays3027754
Level 1

04-04-2019

Unable to delete the duplicate asset by giving delete during upload

Steps to Recreate:

1> Login into DAM Author
2> Upload an asset.
3> Upload Same asset again.
4> Name conflict popup appears with 4 options(Cancel, Keep Both, Replace and Create Version)
5> Click on Keep Both button.
6> Duplicate Asset Detected popup appears with 2 options(Keep and Delete).

Issue 1: If duplicate asset is detected, path of the original asset is not getting displayed in the popup

Now click on Delete button

Issue 2: After clicking on 'Delete' button, Duplicate asset is getting uploaded

Kindly share the solution.

Replies

Avatar

Avatar
Validate 1
Level 6
Prince_Shivhare
Level 6

Likes

72 likes

Total Posts

363 posts

Correct Reply

57 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 1
Give Back 50
View profile

Avatar
Validate 1
Level 6
Prince_Shivhare
Level 6

Likes

72 likes

Total Posts

363 posts

Correct Reply

57 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 1
Give Back 50
View profile
Prince_Shivhare
Level 6

04-04-2019

I am using AEM 6.4 and when I click on to keep both then I am able to upload the asset however it automatically renamed.

like if it is image.png, it will rename to image1.png.

Capture.PNG

~ Prince

Avatar

Avatar
Ignite 1
Employee
aemmarc
Employee

Likes

183 likes

Total Posts

243 posts

Correct Reply

92 solutions
Top badges earned
Ignite 1
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile

Avatar
Ignite 1
Employee
aemmarc
Employee

Likes

183 likes

Total Posts

243 posts

Correct Reply

92 solutions
Top badges earned
Ignite 1
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile
aemmarc
Employee

04-04-2019

Do you have a requirement for duplicate detection? There's virtually no real usecase for this feature. Simply turn it off, it's disabled by default.

/system/console/configMgr/com.day.cq.dam.core.impl.servlet.CreateAssetServlet

Uncheck detect duplicate.

The reason you can't delete is because the user doesn't have those permissions to delete but the dialog doesn't differentiate that. The uploaded asset gets added and the duplicate remains. This is not a product issue and you'll need to raise a Daycare ticket with a strong business impact to have the functionality changed.

Avatar

Avatar
Boost 5
Level 2
mr_chawla
Level 2

Likes

5 likes

Total Posts

16 posts

Correct Reply

5 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 5
Affirm 3
View profile

Avatar
Boost 5
Level 2
mr_chawla
Level 2

Likes

5 likes

Total Posts

16 posts

Correct Reply

5 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 5
Affirm 3
View profile
mr_chawla
Level 2

20-05-2019

HI nirbhays30277546

In an OOTB 6.4.4.0 scenario if you have detect duplicate enabled /system/console/configMgr/com.day.cq.dam.core.impl.servlet.CreateAssetServlet , you should firstly see below dialog as below asking you with Keep Both and other options

Upload_Dialog_1.png

And Once you select "Keep Both" option it should show you a Dialog as below showing original asset path where Clicking on Delete shouldn't upload the duplicate asset anymore and just refresh the page.

Upload_Dialog_2.png

In case you are seeing a different behaviour it would be best to check if you have any overlay defined at your end and if the issue is reproducible with admin. If overlay doesn't exist and the issue persists with admin too please go and ahead and raise a daycare ticket.

Thanks.