]> git.evergreen-ils.org Git - working/Evergreen.git/commit
When loading the IDL code in C or Perl: generate the array_positions
authorscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 29 Apr 2009 16:06:00 +0000 (16:06 +0000)
committerscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 29 Apr 2009 16:06:00 +0000 (16:06 +0000)
commitb836e15784038508af8a7bbda9ff3859d61e21b3
tree87b1e8efb3a494d55c0efdf4e471e4b064960da0
parentcf76cb772501073d36cbf3539382d5257f9f7977
When loading the IDL code in C or Perl: generate the array_positions
based on the sequence in which the fields appear in the IDL file
(rather than from attributes in the <field> elements).

In most cases this change will make no difference, because the
fields appear in sequence.  However for classes "brn" and "mvr" the
sequences of fields in the IDL are scrambled.  For those classes,
this change will effectively renumber the fields.

This commit does not affect the corresponding Python or Java code.
So don't go editing the IDL yet to remove the array_position
attributes.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@13015 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/src/c-apps/oils_idl-core.c
Open-ILS/src/perlmods/OpenILS/Utils/Fieldmapper.pm