Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the CollectiveAccess support forum! Here the developers and community answer questions related to use of the software. Please include the following information in every new issue posted here:

  1. Version of the software that is used, along with browser and version

  2. If the issue pertains to Providence, Pawtucket or both

  3. What steps you’ve taken to try to resolve the issue

  4. Screenshots demonstrating the issue

  5. The relevant sections of your installation profile or configuration including the codes and settings defined for your local elements.


If your question pertains to data import or export, please also include:

  1. Data sample

  2. Your mapping


Answers may be delayed for posts that do not include sufficient information.

Relationship UI: Empty white area instead of input form?

I've defined a very simple UI form with 2 metadata elements for an Object<->Object relationship.

However, when I create a relationship and click the small paperclip icon, a white overlay appears (as expected) - but it's never filled with any input form elements, and just stays empty.
I wouldn't know where to start debugging this.

Any hints greatly appreciated!

Comments

  • Hi Peter,
    Could you give us screen capture of what you made?

  • I didn't find any CA providence logs, but in the Apache logs, I found this:

    [Fri Jul 03 13:50:37.335170 2020] [php7:emerg] [pid 19226] [client 94.130.40.108:43450] PHP Parse error: syntax error, unexpected ''YTo5NDp7czozMjoiNmM2ZjNlY2Y0Y' (T_ENCAPSED_AND_WHITESPACE) in /var/www/providence/app/tmp/collectiveaccessCache/0fea6a13c52b4d47/25368f24b045ca84/38a865804f8fdcb6/57cd99682e939275/efd02694d21a801f/598ce1b6114171fe/c21f969b5f03d33d/43e04f8f136e7682/e92d1ceb7caccf1b/c14ac4c40a5783fd.php on line 14

    [Fri Jul 03 13:55:52.124696 2020] [php7:error] [pid 18235] [client 212.95.6.246:4558] PHP Fatal error: Uncaught Error: Call to a member function getParameter() on null in /var/www/providence/app/lib/ResultContext.php:617\nStack trace:\n#0 /var/www/providence/app/lib/BaseInterstitialController.php(127): ResultContext->getParameter('ca_objects_x_ob...')\n#1 /var/www/providence/app/lib/Controller/RequestDispatcher.php(273): BaseInterstitialController->Form(NULL)\n#2 /var/www/providence/app/lib/Controller/AppController.php(113): RequestDispatcher->dispatch(Array)\n#3 /var/www/providence/index.php(120): AppController->dispatch(true)\n#4 {main}\n thrown in /var/www/providence/app/lib/ResultContext.php on line 617, referer: http://xxx/providence/index.php/editor/objects/ObjectEditor/Save/Screen105/object_id/3

    [Fri Jul 03 13:56:40.714298 2020] [php7:error] [pid 18235] [client 212.95.6.246:4570] PHP Fatal error: Uncaught Error: Call to a member function getParameter() on null in /var/www/providence/app/lib/ResultContext.php:617\nStack trace:\n#0 /var/www/providence/app/lib/BaseInterstitialController.php(127): ResultContext->getParameter('ca_objects_x_ob...')\n#1 /var/www/providence/app/lib/Controller/RequestDispatcher.php(273): BaseInterstitialController->Form(NULL)\n#2 /var/www/providence/app/lib/Controller/AppController.php(113): RequestDispatcher->dispatch(Array)\n#3 /var/www/providence/index.php(120): AppController->dispatch(true)\n#4 {main}\n thrown in /var/www/providence/app/lib/ResultContext.php on line 617, referer: http://xxx/providence/index.php/editor/objects/ObjectEditor/Save/Screen105/object_id/3

    [Fri Jul 03 13:59:58.741302 2020] [core:notice] [pid 1155] AH00051: child pid 18243 exit signal Bus error (7), possible coredump in /etc/apache2

    [Fri Jul 03 14:19:40.105960 2020] [php7:error] [pid 18237] [client 212.95.6.246:5535] PHP Fatal error: Uncaught Error: Call to a member function getParameter() on null in /var/www/providence/app/lib/ResultContext.php:617\nStack trace:\n#0 /var/www/providence/app/lib/BaseInterstitialController.php(127): ResultContext->getParameter('ca_objects_x_ob...')\n#1 /var/www/providence/app/lib/Controller/RequestDispatcher.php(273): BaseInterstitialController->Form(NULL)\n#2 /var/www/providence/app/lib/Controller/AppController.php(113): RequestDispatcher->dispatch(Array)\n#3 /var/www/providence/index.php(120): AppController->dispatch(true)\n#4 {main}\n thrown in /var/www/providence/app/lib/ResultContext.php on line 617, referer: http://xxx/providence/index.php/editor/objects/ObjectEditor/Save/Screen105/object_id/4

  • I mean a screen capture of "when I create a relationship and click the small paperclip icon, a white overlay appears (as expected) - but it's never filled with any input form elements, and just stays empty" ;)

  • Sorry, was AFK for 3 weeks :)

    Here are screenshots:

    Relationship object<->object defined, and clicking on the "paperclip" icon should open the relationship UI editor:

    ...but only shows an empty white area:

    The UI screen for object<->object relationship is defined as follows:

    The selected relationship types are correct.

  • Oh! Will check!

    Thank you :smile:

  • edited July 30

    So if I understand correctly, the issue is a regression in v1.7.8 and said to be fixed in v1.7.8-develop git branch?

    I'm curious though: Is no one else using the relationship annotation feature, or is everyone else running on later-than-1.7.8-release git branch?

  • I'm currently trying to switch to "develop" branch, but now I'm running into loads of unsatisfiable PHP dependencies during installation (due to PHP version 7.0.33 on Debian9).

    Which PHP version is the preferred/tested version for the current development branch?

  • AriAri
    edited August 7

    Hi Peter,
    I'm running develper branch on Ubuntu 18.04 and php is PHP 7.2.24-0ubuntu0.18.04.4.

    I was also wondering if relationship annotations was used at all. But maybe most of the instances are running older versions than 1.7.8 (where they did work AFAIK)

Sign In or Register to comment.