Fixed lost record update with updated user profile
Resolves bug 1220691 Change-Id: I910f6c7de3a35efa5f4bb83670f10ebe6e8f07a6
This commit is contained in:
@@ -142,9 +142,8 @@ def process(runtime_storage_inst, default_data, sources_root, force_update):
|
||||
# need to iterate over full view of records and generate valid
|
||||
# users profiles
|
||||
LOG.debug('Iterate all records to create valid users profiles')
|
||||
for record in record_processor_inst.update(
|
||||
runtime_storage_inst.get_all_records(), release_index):
|
||||
pass
|
||||
for record in runtime_storage_inst.get_all_records():
|
||||
record_processor_inst.update_user(record)
|
||||
# update records according to generated users profiles
|
||||
LOG.debug('Update all records according to users profiles')
|
||||
updated_records = record_processor_inst.update(
|
||||
|
||||
Reference in New Issue
Block a user