[OPEN-ILS-DEV] issues with data dump to different server

Robert Soulliere robert.soulliere at mohawkcollege.ca
Tue May 19 08:08:56 EDT 2009


Hi Jason,

This is very helpful, especially in regards to what to look for in the
particular tables if this happens again. We changed our org_unit structure
which fixed the problem. 

Thanks,
Robert

-----Original Message-----
From: open-ils-dev-bounces at list.georgialibraries.org
[mailto:open-ils-dev-bounces at list.georgialibraries.org] On Behalf Of Jason
Etheridge
Sent: May 15, 2009 4:05 AM
To: Evergreen Development Discussion List
Subject: Re: [OPEN-ILS-DEV] issues with data dump to different server

> When I run the autogen script I get the following error when "Updating
> OrgTree HTML":
>
> "Can't call method "depth" on an undefined value at
org.tree.html.options.pl
> line 56"

Hi Robert, did you ever figure this out?

My first stab would be to eyeball the actor.org_unit and
actor.org_unit_type tables.  If the org_unit table forms a tree like
this:

A
|  \
B  C
|      \       \
D     E    F

Then the org unit types associated with each of those orgs must have a
depth equal to the depth in the tree.

So, for example, org A must be of a type with a depth 0.  B and C must
be at depth 1.  D, E, and F must be at depth 2.  All the depths must
be sequential with no gaps.

Does this help?

-- 
Jason Etheridge
 | VP, Community Support and Advocacy
 | Equinox Software, Inc. / The Evergreen Experts
 | phone:  1-877-OPEN-ILS (673-6457)
 | email:  jason at esilibrary.com
 | web:  http://www.esilibrary.com



This E-mail contains privileged and confidential information intended
only for the individual or entity named in the message.  If the reader
of this message is not the intended recipient, or the agent responsible
to deliver it to the intended recipient, you are hereby notified that
any review, dissemination, distribution or copying of this communication
is prohibited.  If this communication was received in error, please
notify the sender by reply E-mail immediately, and delete and destroy
the original message.


More information about the Open-ils-dev mailing list