Islandora-Collaboration-Group / islandora_webform

islandora_webform
GNU General Public License v3.0
6 stars 8 forks source link

Undefined property, line 645 submodules/islandora_webform_ingest/includes/utilities.inc #39

Closed petermacdonald closed 4 years ago

petermacdonald commented 7 years ago

Hi Pat:

I guess we are going to contract for some more work on the Islandora webform, so I thought I'd download it and test it out on the Islandora 7x-1.9 Vagrant image. Here is my experience so far...

I added and set up the various modules, webform, ajax, etc. and created a simple webform with one component and enabled the Islandora Settings as usual.

I then used that webform on a real (book CM) object and the display and submission all went fine and the submission now shows up on the "Submissions" page of that object. All good.

On the "Submissions" page I noticed that there was no "Ingest" link, and then I realized I had not checked "Enable" in all the right configuration menus, so I went back and did so.

I went to the "page" Islandora Settings", went down to section "Islandora Ingest" and I checked "Enable". When I clicked "Save configuration" I got the following "Notice" from Drupal:

Notice: Undefined property: stdClass::$islandora in iwi_save_webform_configuration() (line 645 of /var/www/drupal/sites/all/modules/islandora_webform/submodules/islandora_webform_ingest/includes/utilities.inc).

Now when I go back to the "Submissions" page I still don't see an "Ingest" option on the "Submissions" page like I think I used to.

Thanks, Peter