collectiveaccess / providence

Cataloguing and data/media management application
GNU General Public License v3.0
290 stars 166 forks source link

dev/php8 wont connect object_lots and objects through related bundle #1492

Closed Monica-Wood closed 10 months ago

Monica-Wood commented 10 months ago

Not sure how long this has been a problem for, but it's happening on all my php8 servers, some are behind by about 14-18 commits, my dev is up to date.

When I go to add an object to the object lot (or vice versa) using the related bundles, you can search for the record, but it wont let you select it. If you do a quickadd, when you hit save, it forever spins in a 'processing form'

If adding the object from the object lot 'add new' in the inspector, it is created and relates without any issue.

Monica-Wood commented 10 months ago

This is connected with the issue I logged about ca_item_tags. When linking from object lot side the same jquery error is shown, when linking from object side, the error is slightly different, but same line

Uncaught TypeError: Cannot read properties of undefined (reading '64')
    at options.select (ca.relationbundle.js?rev=GIT_2.0:183:45)
collectiveaccess commented 10 months ago

This is just for tags?

Monica-Wood commented 10 months ago

it's for ca_item_tags and object_lot<->object relationships.

Monica-Wood commented 10 months ago

Solved with #1493