OpenShot can be tricked into importing the same file

Bug #844152 reported by Berg on 2011-09-07
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenShot Video Editor
Low
Unassigned

Bug Description

1) Ubuntu 11.04
2) PPA
3) 1.4.0 alfa 1

Steps to reproduce:
1) Add an "alternative path" to a media file that can be imported into OpenShot by making a symbolic link to the folder it lies in.
2) Import the file to OpenShot by navigating through the not-symbolic-link folder.
3) Import the file again, but this time by navigating through the symbolic link.
4 ) You should see that the same file has been added twice to the project. This can also be done with symbolic links pointing directly to the files.

What should happen:
The program should not allow duplicates of the same file.

Patch attached.

Related branches

Berg (emil-berg91) wrote :
Olivier Girard (eolinwen) wrote :

Hi Emil,
Thanks (yet) a lot :-)
Olivier

Changed in openshot:
importance: Undecided → Low
milestone: none → 1.4.0
status: New → Confirmed
Andy Finch (fincha) on 2011-09-08
Changed in openshot:
status: Confirmed → Fix Committed
Andy Finch (fincha) on 2011-09-23
Changed in openshot:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers