azerbini / eamena_dev

Arches is a web-based, geospatial information system for cultural heritage inventory and management.
GNU Affero General Public License v3.0
1 stars 2 forks source link

unable to upload images #69

Closed pascalflohr closed 5 years ago

pascalflohr commented 5 years ago

When uploading images, either directly in the Information Resource or in the Heritage Resource, the image is not uploaded. When doing this in the Heritage Resource, no information resource is produced at all.

pascalflohr commented 5 years ago

This is in the Al Ula database - quite high priority for me, as I am currently training people in this

pascalflohr commented 5 years ago

There also seems a problem with indexing, it seems not possible to find back information resources that have been made, the search shows 0. I am in the middle of giving training so cannot check what the problem is exactly - @mradamcox could you look into this as Andrea is on holiday?

pascalflohr commented 5 years ago

I have looked into this issue more. Creating an information resource from scratch via Resource Manager - Information Resource is fine and the record can be found back and edited etc., until an image (or presumably any attachment) is added. This does not work, the image is being loaded, a red cross appears, and the screen goes back to what it was like before, without any image showing. After this, the record then does not show up in the search anymore, although the number exist:

screen shot 2018-10-18 at 14 30 14 screen shot 2018-10-18 at 14 26 44 screen shot 2018-10-18 at 14 27 12

A similar thing happens when attaching an image through the wizard menu in an Heritage Resource, although I am not sure if an Information Record is created at all in that case (but I think it is).

mradamcox commented 5 years ago

Ok, I found a setting that was not configured correctly for file uploading and updated it. @pascalflohr could you test again?

pascalflohr commented 5 years ago

Thanks - I have now also been able to add a file to the record without problems, great!

Is there a way to get to those five 'lost' records and edit or delete them? (INFORMATION-0000001 to 5).

When I click on the Information resource in the search I get the following, but I think that must just be the report page not being ready yet, so a different issue (and for now we can go directly to edit):

screen shot 2018-10-18 at 18 26 03
mradamcox commented 5 years ago

@pascalflohr I'll see what I can do about deleting these resources. You're correct that the report template is just not ready yet, and that's causing the error above.

mradamcox commented 5 years ago

@pascalflohr I have reindexed the database, and it seems to have solved this issue of the leftover resources:

image

I'm going to close this ticket (the original issue has been addressed), so if you still find issues along these lines, please open up a new ticket.