Skip to content

Adding ability to update inventory date #11

@misilot

Description

@misilot

Hi,

We are trying to update the inventory date in a Grima. We added the following to the $el_addresses array:

      'inventory_date' => '//inventory_date',

This appears to work and update the inventory_date if it already exists in the Alma record. However, if we want to set the inventory date for an item that never had data in that field, we get the following error:

[08-Jan-2020 09:06:53 America/Chicago] PHP Notice:  Indirect modification of overloaded element of DOMNodeList has no effect in /grima/grimas/grima-lib.php on line 1610
[08-Jan-2020 09:06:53 America/Chicago] PHP Warning:  Creating default object from empty value in /grima/grimas/grima-lib.php on line 1610

Do you have any suggestions on how we might resolve this error?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions