[MGNLDAM-524] Deprecated method used in DownloadAssetAction for DAM app Created: 25/Nov/14  Updated: 12/Mar/21  Resolved: 12/Mar/21

Status: Closed
Project: Magnolia DAM Module
Component/s: DAM App
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Christoph Meier Assignee: Unassigned
Resolution: Obsolete Votes: 0
Labels: assets, assets_app
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Epic Link: DAM improvements
Story Points: 3

 Description   

PXMDAM-2.2

------------------

Dam app uses info.magnolia.ui.framework.action.DownloadBinaryAction for the action "Download asset"; DownloadBinaryAction itself is using deprecated Vaadin method (see line 4, Page.getCurrent().open) and it leads to a request handled by VaadinServlet.

It would be desirable to have a dedicated DownloadAssetAction for and within dam; this would also allow to use the DamDownloadServlet.

Replace the deprecated method with what Vaadin suggests to use now.


Generated at Mon Feb 12 05:00:42 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.