Comment 7 for bug 957466

Revision history for this message
Bill Erickson (berick) wrote :

Considering options to address Martha's comment, I also noticed that Vandelay does not honor 905$u values when creating new records. It always sets the creator/editor to the logged in user. I think we need to move (or duplicate) the 905$u logic in the Vandelay Perl code so that we can set the correct value on newly created records as well.

Something like this should resolve the outstanding issues:

1. Vandelay record comes in to the Perl service
2. Extract the 905$u value. If none is present, default to the logged in user.
3. Before passing the record down to the DB for merge/overlay, if no 905$u was originally present, add one to match the value from #2 so the DB has access to the value.
4. When creating new records, use the value from #2 directly as the creator and editor.