In the work to separate the item service into a reusable component, a reference to $scope was left hanging around. This causes the service to die before it can complete its work. The code using $scope does seem to be necessary, so we'll have the function accept an outer_scope parameter and adjust the call sites.
I've pushed a branch to address this:
http:// git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ miker/lp- 1736269- mark-missing- pieces
From the commit message:
In the work to separate the item service into a reusable component, a reference to $scope was left hanging around. This causes the service to die before it can complete its work. The code using $scope does seem to be necessary, so we'll have the function accept an outer_scope parameter and adjust the call sites.