Media admin unused files create fails

Bug #1472058 reported by Bill Wong
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
webtrees
Won't Fix
Undecided
fisharebest

Bug Description

The Create link in the admin Media list for unused files does not work properly in 1.6.2. It presents the default add media for that requires a new file to be uploaded. It should just allow the selection of an individual and entry of the other attributes. Also, the URL (example below) only includes the file name but not the directory.

http://myhost.dom/addmedia.php?action=showmediaform&ged=wong&filename=existing_unused_filename.jpg

This prevents creation of a record for existing unused media.

Changed in webtrees:
status: New → Fix Committed
assignee: nobody → fisharebest (fisharebest)
Revision history for this message
fisharebest (fisharebest) wrote :

Fix released in 1.7.0

Changed in webtrees:
status: Fix Committed → Fix Released
Revision history for this message
Bill Wong (bwong789) wrote :

I applied the changes to 1.6.2 and they work well for the root directory. It does not work for media in subdirectories. I had to add this change to admin_media.php where the URL for the edit form is generated.

Revision history for this message
Bill Wong (bwong789) wrote :

Subdirectory support did not make it into 1.7.1. Here is the patch to make it work properly when the unused file is in a subdirectory.

Changed in webtrees:
status: Fix Released → New
Revision history for this message
fisharebest (fisharebest) wrote :

The launchpad tracker has not been used for a long time. Please do not post new issues here.

Any issues here need reviewing. If they are still relevant, they need transferring to github or discussing on the forum.

Changed in webtrees:
status: New → Won't Fix
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.