[Koha-bugs] [Bug 34362] New: Progress bar does not progress

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jul 24 17:14:36 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34362

            Bug ID: 34362
           Summary: Progress bar does not progress
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: pedro.amorim at ptfs-europe.com
        QA Contact: testopia at bugs.koha-community.org
        Depends on: 31666

Test plan:
1) Go to stage MARC records for import
/cgi-bin/koha/tools/stage-marc-import.pl
2) Upload a .mrc file with a couple thousand records
3) Click upload file and then the bottom button "Stage for import"
4) Notice how the bar never progresses, until the job is done successfully.

I believe this is because $self->size and $self->progress are both inside
$schema->storage->txn_begin and they are not updated in the database in real
time until the job is successfully done.
I also think $self->progress should be $self->step but I'm not 100% sure about
that one.


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31666
[Bug 31666] Add job progress bar to stage-marc-import.pl
-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list