You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Data import utility displays incorrect progress in console mode due to off-by-one error since frappe.publish_realtime() takes 1-indexed progress while update_progress_bar() takes 0-indexed.
Steps to reproduce the issue
Import any import file as is intended to be used.
frappe.core.doctype.data_import.data_import import import_file
import_file(doctype, file_path, 'insert' or 'update', console=True)
Observed result
Importing 4 records : [==================================================] 125%
Successfully imported 4 records out of 4
Expected result
Importing 4 records : [==================================================] 100%
Successfully imported 4 records out of 4
The text was updated successfully, but these errors were encountered:
Description of the issue
Data import utility displays incorrect progress in console mode due to off-by-one error since
frappe.publish_realtime()
takes 1-indexed progress whileupdate_progress_bar()
takes 0-indexed.Steps to reproduce the issue
Import any import file as is intended to be used.
Observed result
Expected result
The text was updated successfully, but these errors were encountered: