Skip to content

Cant delete the sample link #18847

@Mor10Mort

Description

@Mor10Mort

Preconditions (*)

  1. Magento ver. 2.2.6

Steps to reproduce (*)

  1. Created a "sample link" for a "Downloadable product"
  2. I try to delete the "sample link", but upon saving, the link keeps reappearing (both in front and backend (of the product)

Expected result (*)

  1. I expected that the sample link would be deleted from backend and on product page.

Actual result (*)

  1. The sample link is still there after trying to delete it.
    linkdoesntremovefrontendeither

samplelinkcantbedeleted

Additional information

  1. Additional clarification for steps to reproduce from comment Cant delete the sample link #18847 (comment)

Presently, I am able to reproduce this issue on magento instance and my local system as well. To reproduce this issue one more step is required which is missing in issue description.
Here, If we directly create sample link and save than it work as expected. If we delete that sample link than it will be delete too.
But, If we set Link and Sample and press save than it work as expected. If we delete that sample link than issue is arised.
Third case, If we delete both the link than both get deleted. No issue arise.
So, we have to fix for second case only.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: DownloadableEvent: squashtoberfestIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions