archesproject / arches-her

5 stars 12 forks source link

Adding Associated Consultation in Application Area resource causes console error #1277

Closed SDScandrettKint closed 3 weeks ago

SDScandrettKint commented 1 month ago

Adding an associated consultation in an Application Area causes report to break image

SDScandrettKint commented 1 month ago

More helpful log from Firefox: image

aj-he commented 1 month ago

@SDScandrettKint @csmith-he - disabling paging in the table config fixes the issue, so it is something to do with paging. There are a couple of other reports/scenes that use paging and my very limited testing does not show the same error, but I suggest it is checked.

Image

SDScandrettKint commented 1 month ago

Note: this issue is not specific to just associated consultations, but any associations that use the relatedResourceTwoColumnTableConfig table e.g. Consultations, Activities, Digital Files etc.

Update: nevermind, it affects all tables in resources.js, as Associated Mons/Areas/Artefacts is also affected which has the table type relatedResourceThreeColumnTableConfig. Strangely, the associated Application Areas table is not affected, which comes from it's own file application-area.html / .js