Ignore:
Timestamp:
4 Dec 2011, 21:08:53 (13 years ago)
Author:
Henrik Bettermann
Message:

Add test for student data migration to be sure that student_ids provided in import files are correctly produced and that the random id generator is thus neutralized.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/utils/batching.py

    r7196 r7273  
    300300                    continue
    301301                obj = self.callFactory()
    302                 self.updateEntry(obj, row, site)
     302                # Override all values in row, also
     303                # student_ids and applicant_ids which have been
     304                # generated in the respective __init__ methods before.
     305                self.updateEntry(obj, row, site)
    303306                try:
    304307                    self.addEntry(obj, row, site)
Note: See TracChangeset for help on using the changeset viewer.