| Summary: | Restore progress bar on record import | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Tomás Cohen Arazi (tcohen) <tomascohen> |
| Component: | Tools | Assignee: | Kyle M Hall (khall) <kyle> |
| Status: | Failed QA --- | QA Contact: | Testopia <testopia> |
| Severity: | enhancement | ||
| Priority: | P5 - low | CC: | andrew, dcook, lisette, lucas, rcoert, tomascohen |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | --- |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: | ||
| Circulation function: | |||
| Bug Depends on: | 31666 | ||
| Bug Blocks: | 31892 | ||
| Attachments: | Bug 31748: Restore progress bar on record import | ||
|
Description
Tomás Cohen Arazi (tcohen)
2022-10-12 19:50:31 UTC
Yes please! Created attachment 144068 [details] [review] Bug 31748: Restore progress bar on record import Test Plan: 1) Apply this patch 2) Upload a marc batch 3) Import the marc batch 4) Note that under the message "The job has been enqueued! It will be processed as soon as possible." There is now a functioning progress bar and the page no longer redirects automatically. With this patch I *do* get a progress bar, but it never progresses from 0%. It just sits there until I get bored and reload the page, at which point Koha shows that the batch has imported. (In reply to Andrew Fuerste-Henry from comment #3) > With this patch I *do* get a progress bar, but it never progresses from 0%. > It just sits there until I get bored and reload the page, at which point > Koha shows that the batch has imported. That's related to the fact Koha doesn't know how many records it needs to process until it processes the MARC file. I guess we could add a pre-flight, to gather those counters, and it would be a win even if it adds one or two extra seconds to the process. |