[Koha-bugs] [Bug 6874] File upload in MARC
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Sep 27 18:53:29 CEST 2013
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6874
--- Comment #132 from M. Tompsett <mtompset at hotmail.com> ---
initial state: blank, no records in uploaded_files, no files on filesystem.
click plug in icon
- expected window pops up.
click submit query with nothing clicked.
- nothing happens, refreshes as expected.
click submit query with root selected
- nothing happens, refreshes as expected.
click browse, but cancel
- nothing happens as expected
click browse and choose a file
- file name appears as expected
click submit query with root not selected
- "Error: Failed to upload file. See logs for details."
current state: file is uploaded, but database is blank.
checked error logs
jquery.js issue and "Use of uninitialized $dir" error.
click Close.
delete file from file system.
make sure the jquery.js line in upload.tt has interface not themelang
click plug in icon
- expected window pops up
click browse and choose a file
- file name appears as expected
click submit query with root not selected
- "Error: Failed to upload file. See logs for details."
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
FIX REQUESTED:
I was expecting to have a refresh of the page with perhaps a "You forgot to
select a location" in red, just above/beside/below the "Choose where to upload
file".
I was also expect to NOT have the file uploaded.
This disconnect between the file existing and the record not existing in the
database leads to weird problems.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
click Close.
delete file from file system.
click plug in icon
- expected window pops up
click browse and choose a file
- file name appears as expected
click root
- NOTE: I was lazy and didn't create subdirectories in this testing.
click submit query
- happy it worked kind of message
click close
- URL is filled in nicely.
Not finished fully testing, but I thought I'd mention this problem since I
found it.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list