Opened 8 years ago
Closed 7 years ago
#12732 closed defect (wontfix)
Description of existing attachment cannot be replaced by new attachment of the same name with replace
Reported by: | Jun Omae | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | attachment | Version: | |
Severity: | minor | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Existing attachment can be replaced with new attachment of the same name with replace checkbox. However, description of the attachment cannot be replaced if new description is empty when attaching new file.
Attachments (0)
Change History (7)
follow-up: 2 comment:1 by , 8 years ago
comment:2 by , 7 years ago
Replying to Christian Boos:
And besides, it would be nice if we had an (Edit) button for just editing the description without having to replace the file itself.
⇒ #787.
comment:3 by , 7 years ago
Replying to Jun Omae:
However, description of the attachment cannot be replaced if new description is empty when attaching new file.
It appears the behavior is intentional: #7209. It seems like desirable behavior to me.
We could fetch the description after selecting the file, when the file exists. In that case we could also dynamically show the replace checkbox after the file is selected. That would be a fair bit of work, but I think we could do it with a callback in JavaScript.
A simpler idea would be to add a second checkbox Replace existing attachment description, and enable the checkbox when Replace existing attachment of the same name is selected.
Do you have a different idea for improvement on the existing behavior?
comment:4 by , 7 years ago
Another idea, with drag and drop attachments (#9127) we could display a dialog with a checkbox to select replace, and the dialog could have a description field with the existing description.
follow-up: 6 comment:5 by , 7 years ago
IMO, that behavior is not intuitive. I wanted to remove description of the attachment in that time but it cannot.
I'd like to close as wontfix. I don't want to add other controls to attachment form.
comment:6 by , 7 years ago
comment:7 by , 7 years ago
Milestone: | next-stable-1.2.x |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
Okay. Closing.
Also, I think #787 is good idea and it would be more better to me if the filename can be renamed.
And besides, it would be nice if we had an (Edit) button for just editing the description without having to replace the file itself.