Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
attachements added before pressing preview on the issue tracker are lost
and one has to add them again.
if one selects an attachment before switching to preview the
attachement should stay in the attachment field.
Comment | File | Size | Author |
---|---|---|---|
#4 | project_file_previews.patch | 1.46 KB | hunmonk |
Comments
Comment #1
dwwthis is a serious pain in the ass. we should fix it ASAP.
Comment #2
dwwthis seems to be fixed in the HEAD version of project_issue.module (5.x-0.x-dev for now), so i'm marking this fixed. see also http://drupal.org/node/148689 as a related issue in terms of cleaning up the file attachment UI during previews.
Comment #3
aclight CreditAttribution: aclight commentedI've noticed this behavior for at least a few days now. I assume d.o is running the HEAD version, right? So if so, then maybe the problem isn't fixed, or perhaps it was fixed but then was broken again.
AC
Comment #4
hunmonk CreditAttribution: hunmonk commentedattached patch fixes. tested as working w/ both new issues and issue followups, whether no file is uploaded, or it's changed, or whatever. since file_check_upload() caches it's work, there's no issue with it getting called again during the validation code.
Comment #5
dwwCode style looks good. I don't have time to test this myself, but I trust hunmonk's thorough testing...
Comment #6
hunmonk CreditAttribution: hunmonk commentedfixed in HEAD, 4.7.x-1.x, 4.7.x-2.x
Comment #7
(not verified) CreditAttribution: commented