[Koha-bugs] [Bug 6874] File upload in MARC

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 3 04:06:41 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6874

--- Comment #142 from M. Tompsett <mtompset at hotmail.com> ---
Testing with Javascript enabled.

click plugin icon
click Submit Query with nothing filled in.
- Was only told about the file location not filled in. I would expected to be
told neither were filled in, if I get told this.

Selected a file
click Submit Query
- expected to be told location not filled it. As expected.

closed pop up window.
click plugin icon
click location, but not select a file.
- Refreshed blank. A valid behaviour, but confusing since now we have the file
location validation.

selected a file and chose a location
click Submit Query
- File uploaded as expected.

click close
- URL is filled in nicely, as expected.

click plugin icon
- Would you like to delete window pops up. Okay behaviour.

click cancel
- windows closes no changes as expected.

click plugin icon
click delete
- told it was deleted successfully, as expected. URL is blanked, as expected.

click close
repeat steps to get back to delete popup and click delete
upload a new file

-- after a few cycles of trying to repeat the nothing, browse, root, browse &
root selections, I realized I would really like a way to clear the file
selected. Though, perhaps this isn't the real need.

I did try testing with Javascript off, but it is nearly impossible to work with
different browers and scripting off. I was able to trigger your non-javascript
red message under IE 10, but not Firefox 24 since the plugin icon refused to
popup a window. The problem with it disabled was that then the 'close' doesn't
work with javascript disabled, and the URL isn't filled in, but the file is
uploaded.

On a positive note it continues to behave as if there was no file uploaded,
which is what is expected from a blank 856$u field. However, there are table
entries and files sitting on the server now.

SUGGESTIONS FOR IMPROVEMENTS:
- If we validate the location, could we also validate if the filename is set?
- Could we add a 'Cancel' which just closes the window to this? Not just a
'Submit Query' button.
- Could we change 'Submit Query' to 'Upload File'?
- When nothing was selected, got a refresh, which is okay, but strange in light
of validation message logic that was added.
- Javascript off generates bizarre (but not unstable) state of file uploaded
and table pointing to it, but textbox empty, under IE 10. I couldn't even open
the new popup windows under FireFox 24. I think if we document this requires
Javascript, this is passable.

This is getting really close to useable. Thank you for working on this, Julian.
:)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list