OpenShot can be tricked into importing the same file

Bug #844152 reported by Berg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenShot Video Editor
Fix Released
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

Revision history for this message
Berg (emil-berg91) wrote :
Revision history for this message
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)
Changed in openshot:
status: Confirmed → Fix Committed
Andy Finch (fincha)
Changed in openshot:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.