Closed (fixed)
Project:
Web File Manager
Version:
6.x-2.17
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Apr 2010 at 14:01 UTC
Updated:
23 Jan 2012 at 02:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
cgmonroe commentedI can't seem to duplicate this. One possibility is that it's theme related. Have you tried it using Garland?
Any other details on how to duplicate it would be nice... e.g. via admin but node was owned by someone else? etc.
Comment #2
nhck commentedroball, thank you for reporting this!
Actually I can duplicate it this way:
* Edit an existing node (in this case created by myself as uid=1)
* Choose "Detach from node" and confirm the detachment
** The file disappears from the list.
* Choose preview
** The file is back in the list.
I am using Garland on a vanilla install and did this as uid=1. I guess we are missing something in webfm_nodeapi
Comment #3
cgmonroe commentedI wonder if this is a page/javascript caching issue? E.g. preview is using what's in the browser memory and not doing a refresh of the attachments?
Some debug thoughts: Use firebug to track the ajax calls to see if the attachments changes are being reloaded during preview.
Comment #4
nhck commentedThank you for reporting this. A patch is attached - its kind of a strange solution thus I'd like to hear some of the test results first.
Thank you.
Comment #5
nhck commentedIssue #783044 by nhck | roball: Fixed Detaching file from node gets lost on node preview.
Comment #6
nhck commentedComment #7
nhck commented