btmash / islandora_entity_bridge

Islandora Entity Bridge
MIT License
7 stars 3 forks source link

Errors when displaying a view #5

Open dmoses opened 10 years ago

dmoses commented 10 years ago

Hi: Just creating my first view. Really interesting module ... thanks for sharing it. I've added an image and an XPATH. I'm testing the module in the current Islandora release candidate VM. I'll continue testing.

How are the bridge entity IDs created? In my first default view only a few of the objects in my Islandora appeared. After edit of an object, an entity id appeared to be assigned because an new object displayed in my view. Can I force create IDs for those objects that don't have them? May have missed something.

Would you have a default view you could export share? eg. for XPATH I'm using this format /mods:mods/mods:titleInfo/mods:title. When including a filter based on a content model can it be entered as islandora:myContentModel?

When the view is displayed I get the following errors/warnings:

Warning: Missing argument 1 for FedoraDatastream::getContent(), called in /var/www/drupal/htdocs/sites/all/modules/islandora_entity_bridge/handlers/views_islandora_entity_bridge_handler_field_datastream_xpath.inc on line 98 and defined in FedoraDatastream->getContent() (line 1753 of /var/www/drupal/htdocs/sites/all/libraries/tuque/Datastream.php).
Notice: Undefined variable: file in FedoraDatastream->getContent() (line 1754 of /var/www/drupal/htdocs/sites/all/libraries/tuque/Datastream.php).

bridge_view_test

Thanks, Donald

btmash commented 10 years ago

Thanks for the report Don :) I'll hopefully be able to start taking a look at it this week.