# Viaplay IMF Import Plugin
### [FE] Progress bar for `0% - Failed` should be red. Similar, for `0% Completed` it should be green

^ This happens when the csv is invalid (eg: mandatory columns are missing)

^ This happens when the csv has all the mandatory columns but is otherwise empty
- [ ] FE
- [ ] QA
FE: There are 0 titles parsed.
#
### Connect issues
#
### [[CD-8277](https://ownzones.atlassian.net/browse/CD-8277)] [BE] Some workflows get stuck after canceling an import
Update 18.05:
- only 3 ingest workflows remained stuck in `started (67%)` after multiple imports canceled
- https://connect.newstaging.ownzones.dev/viaplay-plugin/workflows/2d963f60-647f-495f-9ab1-ccf1da88619f
- https://connect.newstaging.ownzones.dev/viaplay-plugin/workflows/9fa9d5e1-ce23-4501-a931-3a891709d10a
- https://connect.newstaging.ownzones.dev/viaplay-plugin/workflows/4726c836-adb9-470b-a91a-f6d21fbf74ce
---
- Canceled Ingest - remained "stuck" on Detect Interlace - swf shows RequestCancelActivityTaskFailed
- https://connect.char.ownzones.dev/viaplay-plugin/workflows/bd73f56a-05c3-496b-8f06-9c136c81e29f
*Note: This workflow was eventually manually canceled.*
- Canceled Transcodes:
- Cancel button still available & workflow status is `started (50%)`:
- https://connect.newstaging.ownzones.dev/viaplay-plugin/workflows/c5aff882-399e-403c-b5e9-2efbe99e1014
- https://connect.newstaging.ownzones.dev/viaplay-plugin/workflows/d0434401-413a-4d88-a4f1-c1da5ce3b619
- https://connect.newstaging.ownzones.dev/viaplay-plugin/workflows/2055f657-218e-4d71-8c38-e6dc050d2591
- Workflow status is Canceled but Transcode task is still "running"
- https://connect.newstaging.ownzones.dev/viaplay-plugin/workflows/837ef093-077f-4aa0-ae9b-3952f0f116a4
#
### [[CD-7974]((https://ownzones.atlassian.net/browse/CD-7974))] The updateFile mutation timeouts when updating title
QA Note: Happened after 80+ children

#
### [[CD-8061]((https://ownzones.atlassian.net/browse/CD-8061))] [BE] Probe error on ingest
#
### [[CD-7967](https://ownzones.atlassian.net/browse/CD-7967)] [BE] Transcodes stuck in progress
#
### [[CD-7733](https://https://ownzones.atlassian.net/browse/CD-7733)] [BE] On the CPL Fields: Annotation, Issuer, Creator and Content Originator, "Ownzones" is filled in by default
**Viaplay might want to display something else:**

#
### Scenarios
- [x] valid inputs on all fields (even optional ones) - check:
- [x] language is set on audio mxf(s),
- [x] CPL markers
- [x] cpl fields -> content version
- [x] run Photon qc on package - should return "no errors or warnings"
- [x] empty csv, headers only - no errors, marked as "0% - Completed"
- [x] markers outside the video length - should be ignored
- [x] set markers on audio file - should be ignored [BUG]
- [x] use video mxf or mov with just video track - error `"A file has no audio tracks"`
- [x] checked on FE
- [x] file already attached to a different title - error `"File with path: s3://tf-s3-ownzones-newstaging/viaplay-plugin/audio-51.wav is already assigned to title with id: b63261a9-d7bf-4fb5-873d-53154c3729bd."`
- [x] checked on FE
- [x] audio longer than video - is trimmed to video length
- [x] video longer than audio - throws error on CPL step: `"Image sequence is too long, you need to remove 1680 frames"`
- [x] checked on FE
- [x] video framerate doesn't match demux profile framerate - error `"Video file has a different frameRate than the demuxProfile."`
- [x] check possible audio config combinations: LtRt, LRCLfeLsRs, LRCLfeLsRsLtRt, LtRtLRCLfeLsRs.
- [x] check skipped channels
- [x] invalid audio configs
- [x] missing audio config value for title - error `"No valid audioConfiguration was provided"`
- [x] one/more labels missing for surround - error `"Invalid surround configuration, there should be exactly 6 surround labels"`
- [x] one label missing for stereo - error `"Invalid stereo configuration, there should be exactly 2 stereo labels"`
- [x] duplicated left or right for surround - error `Invalid audio config, two "L" channels present`
- [x] duplicated channel (ex: `LtLt` or `LRCLfeLsLs`) - error `"Invalid audioConfiguration LtLt / LRCLfeLsLs, it contains duplicated labels"`
- [x] more channels than file - error `"Invalid audioConfiguration LRCLfeLsRs, configuration has more channels than the file"`
- [x] invalid left or right (ex: `LrRr` or `MRCLfeLsRs`) - error `"Invalid audio config, it should contain both L and R channels"`
- [x] other invalid labels (ex: `LlRr` or `LRCLfmLsRs`) - error `"Invalid audioConfiguration LlRr, it contains one or more invalid labels"`
- [x] invalid/missing language - errors: `Invalid language: \"en_USS\", please see Rfc5646 language tags / Invalid language: \"\", please see Rfc5646 language tags`
- [x] Title with two files. Valid language on the first line, invalid language on the second line. - second line is ignored, import passes.
- [x] Title with two files. Invalid language on the first line, valid language on the second. Import fails with error "invalid language"
- [x] missing/invalid demux profile ID - error: `"invalid input syntax for uuid: \"3052cc1-af1d-4288-9d43-995ea4a7dc36\": {\"response\":{\"errors\":[{\"message\":\"invalid input syntax for uuid: \\\"3052cc1-af1d-4288-9d43-995ea4a7dc36\\\"\"}],\"data\":{\"demuxProfile\":null},\"status\":200},\"request\":{\"query\":\"query { demuxProfile (id: \\\"3052cc1-af1d-4288-9d43-995ea4a7dc36\\\") { id outputProperties { frameRate } } }\",\"variables\":{}}}"` (shows "" instead of uid when it's missing completely)
- [x] wrong Demux profile ID - error `"Demux profile with id 3acf6689-31d7-4fa4-a062-b36981c6304d was not found for'IMF_test_title_1'.
"`
- [x] two vids, one title - error `"There are more than one files with video tracks for title IMF_test_title_5."`
- [x] wrong entity type - error `"Entity type 'Seasonz' not found!"`
- [x] missing/wrong s3 file - errors: `"Url is required"` / `"Some files of IMF_test_title_5 failed ingestion."`
- [x] missing mandatory columns - error `"One or more mandatory columns are missing: X, Y"`
- [x] missing optional columns - no issue
- [x] check titles count is correct and updates in real time on Import Details page
- [x] audio before video in the csv file - valid csv, import passes
- [x] test with interlaced mov BFF
- [x] test with interlaced mov TFF
- [x] different user roles
- [x] import csv when Event Bus and/or Interlace scan are disabled in org settings
- [x] import same csv twice really fast - ok
- [x] find a big interlaced file: https://connect.newstaging.ownzones.dev/amp2/files/90f32bae-c35d-4a51-8685-0cf8dad8227b
- [x] Cancel import:
- [x] during Ingest - ok
- [x] during Transcode - Ingest of the output files is not canceled - bug
- [x] during Demux - outputs ingest is canceled too - ok
- [x] during CPL creation - CPL is still ingested (as designed) - ok
- [x] during Package creation
- [x] Performance
- [x] 100 titles - broke connect :(
- [x] 150 titles - a duduit 💥
- duration 2h (for small movs ~4sec)
- 2 titles failed:
- one with `probe` [error](https://connect.newstaging.ownzones.dev/viaplay-plugin/files/75fa64f1-6d99-49fe-b3bf-191409edbb4b/) - to be investigated separately, not an import issue
- one legit error - file not found in s3
- all other Titles, CPLs and packages were created succesfully
- bugs / timeouts from previous import did not reproduce or were fixed
- [x] 100 small (~1sec) interlaced files
- 71% failed with `Output for workflow f8215089-8aa7-442f-b908-68673247a682 not found!` ([CD-8067](https://ownzones.atlassian.net/browse/CD-8067))
- 24 passed
- 5 stuck in pending at Transcode ([CD-7967](https://ownzones.atlassian.net/browse/CD-7967))
- [x] 1000 small (~4sec) progressive files [1006]:
- Stuck in Demux but workflow shows completed and files are ingested:
- title_422 (p43) workflow: https://connect.newstaging.ownzones.dev/viaplay-plugin/workflows/e40fec78-d2e5-44f3-b03e-99b5afc6d427
- title_439 (p44): https://connect.newstaging.ownzones.dev/viaplay-plugin/workflows/a8f8a371-81cc-425a-9291-3be4b646b443
- title_642 (p65): https://connect.newstaging.ownzones.dev/viaplay-plugin/workflows/26a36310-3f30-4a8d-bfc6-58d8ee37ba73
- Probe error at ingest:
- title_9 (p1)
- title_533 (p54) https://connect.newstaging.ownzones.dev/viaplay-plugin/workflows/32690c50-5f7d-4387-80a8-be6608f64241
- GraphQL Error 504 at Validation:
- title_6 (p1)
- title_100 (p10)
- Create package failed because CPL was still ingesting:
- title_986 (p99)
- Human errors (csv typos or files already attached to different titles):
- title_51 (p6)
- title_463 (p47)
- title_669 (p67)
- title_1000 (p100)
- Total:
- 987 passed
- 9 failed
- 3 still in Progress
- [x] 100 small interlaced [1025]:
- [[CD-8067](https://ownzones.atlassian.net/browse/CD-8067)] - fixed
- [[CD-7967](https://ownzones.atlassian.net/browse/CD-7967)] Files stuck in Pending at Transcode - still occurs (2 imports stuck In progress)
- 98 imports completed successfully
- [x] 100 progressive & 100 interlaced [1057]:
- 4 transcodes stuck in pending because of [[CD-7967](https://ownzones.atlassian.net/browse/CD-7967)] (ex: https://connect.newstaging.ownzones.dev/viaplay-plugin/workflows/86f5593e-27e9-41ff-8486-6c724304f288)
- 1 import failed with invalid audio config
- report doesn't contain the titles stuck in progress - bug @Cristi
- [x] 100i & 100p [1086]:
- ALL titles imported successfully :+1: :boom:
- [ ] 1500 viaplay files?
#
### DONE
#
### [BE] If markers are set on the audio file, they will override the ones set on the video
Import Id: 480
csv: https://connect.newstaging.ownzones.dev/viaplay-plugin/files/958fa29d-553b-427d-b779-6b86607d24be
CPL made through Plugin: https://connect.newstaging.ownzones.dev/viaplay-plugin/titles/96fb5750-8df3-4f9a-95ec-ab3e38e1dfed/compositions/b1b28b41-fc28-4911-9c4d-e185d75a234d
CPL made through existing flow: https://connect.newstaging.ownzones.dev/viaplay-plugin/titles/96fb5750-8df3-4f9a-95ec-ab3e38e1dfed/compositions/d8aba191-3e80-4e92-849d-c03b92d468e6
Markers set on the audio file should be ignored.
- [x] BE
- [x] QA
#
### [FE] Save should be disabled until a file is uploaded

- [x] FE
- [x] QA
#
### [FE] Only completed progress is shown in Import List

- [x] FE
- [x] QA
#
### [FE] User tips on Upload CSV and Import Name are missing
Design:

- [x] FE
- [x] QA
#
### [FE] Pagination needs styling according with design - smaller arrows, rounded corners etc.
Design:

Currently:

- [ ] FE
- [x] QA - not a bug for this feature - the look is consistent across Connect.
*- This is a change that will impact web data grid as well. Need to check with Silviu/Andrei N*
#
### [FE] Network error when trying to upload a csv

- [x] FE
- [x] QA
*- DevOps related*
#
### [FE][Won't fix] Imports should have individual URLs - currently, when an import is opened, the link doesn't change.
It remains the same https://connect.newstaging.ownzones.dev/viaplay-plugin/plugins/e8d940c1-c1e1-4bac-a81a-9e6fea7b23ba?url=https%3A%2F%2Fd1nfs8m4rflqts.cloudfront.net%2F on all imports.
Users should be able to share a link to a particular import.
- [x] FE
- [ ] QA
*- This is not doable due to some limitations in the plugins system*
#
### [FE] Add background behind the steps of each Title for better visual grouping
Now:

Design:

- [x] FE
- [x] QA
#
### [FE] The title of the plugin and back button are missing

- [x] FE
- [x] QA
- Due to some plugin limitations we can not add back button. There is no history to get back to...
#
### [FE] Progress is not real time on the main page - As Intended
Progress bar on the imports list:

Progress on the import details page:

- [x] FE
- [x] QA
- The progress bar from the 1st image shows overall progress for all titles, while the 2nd image shows the progress for the current title. Since there is no parsed title, the overall progress (import progress) should be 0. As soon as you have at least one title parsed, the import progress will be changed.
#
### [FE] Ad link to stepfunction on titles as bellow:

- [x] FE
- [x] QA
#
### [FE] Date format should be "yyyy-mm-dd hh:mm" instead of "dd/mm/yyyy-hh:mm:ss"

- [x] FE
- [ ] QA
*- set to USA standard format*
#
### [FE] Show error details on the Import Details page - currently the workflow is marked as failed but without any aditional information

Sometimes, even if the import is marked as Failed on the imports list, on the details page, no info indicates that:

- [x] FE
- [x] QA
#
### [FE] The Imports list shows only 6 pages so older imports are no longer accessible. Same for the Imports Details page where only 5 pages are displayed.
- [x] FE
- [x] QA
*BE Related. Even if the `first` param of `getCsvImports` is set to `20` the response contains only 10 entries. Temporarily added `10` items per page to match the default be*
#
### [FE] The csv error banner needs to be smaller and the copy alingned to the left
Now:

Design:

- [x] FE
- [x] QA
#
### [FE] Rename Demux step to "Media Warp"

- [x] FE
- [x] QA
#
### [FE][BE] Each step of the import process should have a link to the respective workflow or file (where available)
Old Flow:

Currently:

Needed links:
- [x] On Title's name
- [x] Media Warp - link to the media warp workflow
- [x] CreateCpl - link to CPL
- [x] Package - link to Package
Done:
- [x] BE
- [x] FE
- [x] QA
*- Is there any step that should match this behaviour?*
*- QA: see first screenshot of the old flow: Media Warp should link to the Media Warp Workflow; CPL, Package should link to the created CPL and Package*
#
### [BE] Transcode step shows failed in AWS, still in progress in Connect
Import name: `interlaced mov take 2`
Step function: https://console.aws.amazon.com/states/home?region=us-east-1#/executions/details/arn:aws:states:us-east-1:430866539169:execution:viaplay-plugin-title-package-newstaging:1505a456-3972-4688-b084-29f12cd28860
Connect Workflow (which is successful): https://connect.newstaging.ownzones.dev/viaplay-plugin/workflows/e1002fbd-c64d-4e8f-ab50-24531e069d26
- [x] BE
- [x] QA
#
### [FE][BE] The top error banner should only be displayed for csv validation errors.
Ex in the screenshot bellow, the banner "Title entry with id 497 failed with error" should be removed. Leave only the error on the title.

- [x] BE
- [x] FE
- [x] QA
*- BE Related*
*QA: decided to keep banner for all errors and replace copy with "Some title entries failed"*
#
### [FE][Won't do] Add ability to search for an import
- [ ] FE
- [ ] QA
*FE: Would be nice and useful, but this feature is not listed in specs*
#
### [FE][Won't do] Ability to delete an import?
- [ ] FE
- [ ] QA
*FE: Not in specs so I guess we don't*
#
### [FE] Polish the links on the Import Details page


- [x] FE
- [x] QA
#
### [FE] Rename Save button to "Import" in the csv upload modal

- [ ] FE
- [ ] QA
*The import happens on next step. Is not really an import now, you just 'accept' the uploaded file for the import process. Maybe makes sense to rename that, but not to 'Import'*
*QA: fair enough. Keeping Save*
#
### [FE][User roles] The Plugin is unavailable for any user roles (except Sys Admin):
Org Admins - console error & the interface does not load

Org Operators & LA Operators: 403 - No permission

**The plugin should work for Org Admins and Org Operators**
- [x] FE
- [x] QA
*Based on the current permissions map only org admins are allowed to use plugins. We need to discuss this*
*QA: the plugin works for Org Admins but not in incognito mode*
**Intended to work just for Org Admins.**
#
### [BE] 100 titles import issues:
- Connect shows only 50 import workflows on the Import Details page - pagination issue? yes!
- 64 titles were imported successfully
- 2 titles failed with 504 Timeout erros
- 34 titles are still shown In Progress although the step functions show failure either on Demux or Package creation
See import named `test100`
Done - did an `import150` test and the issues were fixed
#
### [FE] The import fields should clear after hitting Import - currently they remain filled.

- [x] FE
- [x] QA
#
### [FE] If a title's url comes in as `null` then don't show a link on its name
If a title import fails either on the Ingest or Validate steps then FE will receive `null` instead of a title id.

Clicking on such title will show the following error:

**The decision is to remove the link on these titles even if they already exist.**
- [x] FE
- [x] QA
#
### [FE] Add the "Download report" feature

- [x] FE
- [x] BE
- [x] QA
*We do not support a `Generte Report` feature right now*
*QA: will be implemented after NTP*
#
### [FE] Console error if Save is clicked before the progress bar fills in the import modal.
Steps:
1. Open the import modal
2. Add a csv
3. Click on Save before the progress bar fills green
4. Fill in the csv name and transcode profile
5. Click Import
6. Notice that the import doesn't start and no other error or warning is displayed.
7. Open dev tools and notice the error bellow.

Suggestion: Maybe if Save is disabled until the progress bar fills would fix this issue.
- [x] FE
- [x] QA
#
### [FE] Refetch issue - failed workflow is still shown in progress until user refreshes the page

- ^ notice that the timer passed 5mins
- after page refresh - time stamp shows little over 4mins:

- [x] FE
- [x] QA
#
### [FE][BE] Some errors are not very user friendly
| When | Current Error | Updared to |
| -------- | -------- | -------- |
| Missing or invalid Demux Profile ID |`invalid input syntax for uuid: "3acfsada6669-31d7-4fa4-a062-b36981c6304d": {"response":{"errors":[{"message":"invalid input syntax for uuid: \"3acfsada6669-31d7-4fa4-a062-b36981c6304d\""}],"data":{"demuxProfile":null},"status":200},"request":{"query":"query { demuxProfile (id: \"3acfsada6669-31d7-4fa4-a062-b36981c6304d\") { id outputProperties { frameRate } } }","variables":{}}}`| Connect query demuxProfile failed with invalid input syntax for uuid: "30620ecc1-af1d-4288-9d43-995ea4a7dc36" *or:* Connect query demuxProfile failed with invalid input syntax for uuid: ""|
| Video is longer than audio | `Image sequence is too long, you need to remove 1680 frames : {"response":{"errors":[{"message":"Image sequence is too long, you need to remove 1680 frames "}],"data":{"createCpl":null},"status":200},"request":{"query":"mutation ($input: BuildCompositionInput) { createCpl (input: $input) { id file { id type titleId isIngested fileLocator { ... on S3FileLocator { type bucket key url } } tracks { type index properties { ... on VideoTrackProperties { frameRateNominator frameRateDenominator } ... on AudioTrackProperties { channels } } } } } }","variables":{"input":{"titleId":"9f8f622b-d2ed-427d-bfba-2d879ba57425","compositionDefinition":{"id":"fe7d812e-317e-47b7-a177-05c64c76fe92","contentTitle":{"value":"IMF_test_title_8_en_US"},"creator":{"value":"Ownzones"},"markers":[{"offset":25,"label":"FFEC"},{"offset":99,"label":"FFOC"},{"offset":1,"label":"FFTC"},{"offset":0,"label":"LFEC"},{"offset":80,"label":"LFOC"},{"offset":100,"label":"LFTC"}],"contentVersions":[{"id":"id_1","labelText":{"language":"","value":"label_1"}}],"segments":[{"annotation":"main","sequences":[{"type":"image","virtualTrackId":"f6b75996-371e-42ed-8f8a-e4b8cf3619e0","resources":[{"trackFileLocator":{"type":"S3FileLocator","bucket":"tf-s3-ownzones-newstaging","key":"viaplay-plugin/0c92037d-6e12-4519-a62a-1d1638395a80_j2k__video.mxf","url":"s3://tf-s3-ownzones-newstaging/viaplay-plugin/0c92037d-6e12-4519-a62a-1d1638395a80_j2k__video.mxf"}}]},{"type":"audio","virtualTrackId":"889fdf61-3baa-42fd-baed-b43ddda5a65f","resources":[{"trackFileLocator":{"type":"S3FileLocator","bucket":"tf-s3-ownzones-newstaging","key":"viaplay-plugin/AUDIO_7d99d925-bc5d-4955-aacb-ac8a2e241d6c_48000_pcm_s24le_2.mxf","url":"s3://tf-s3-ownzones-newstaging/viaplay-plugin/AUDIO_7d99d925-bc5d-4955-aacb-ac8a2e241d6c_48000_pcm_s24le_2.mxf"}}]},{"type":"audio","virtualTrackId":"a1b282c0-e8f1-4f19-a482-52a965463e01","resources":[{"trackFileLocator":{"type":"S3FileLocator","bucket":"tf-s3-ownzones-newstaging","key":"viaplay-plugin/AUDIO_dcf3ce62-0c4a-4c92-8604-6070227136bf_48000_pcm_s24le_2.mxf","url":"s3://tf-s3-ownzones-newstaging/viaplay-plugin/AUDIO_dcf3ce62-0c4a-4c92-8604-6070227136bf_48000_pcm_s24le_2.mxf"}}]}]}]},"cplLocator":{"type":"S3FileLocator","bucket":"tf-s3-ownzones-newstaging","key":"viaplay-plugin/CPL_fe7d812e-317e-47b7-a177-05c64c76fe92.xml","url":"s3://tf-s3-ownzones-newstaging/viaplay-plugin/CPL_fe7d812e-317e-47b7-a177-05c64c76fe92.xml"}}}}}`| Connect mutation createCpl failed with Image sequence is too long, you need to remove 1680 frames |
| Timeout | `GraphQL Error (Code: 504): {"response":{"error":"<html>\r\n<head><title>504 Gateway Time-out</title></head>\r\n<body>\r\n<center><h1>504 Gateway Time-out</h1></center>\r\n</body>\r\n</html>\r\n","status":504},"request":{"query":"mutation { updateFile (id: \"f91ca71b-0f1f-4696-9210-0f06f439375b\", input: {titleId: \"14cfa275-ba3a-4551-8bdb-56792c950866\"}) { id type titleId isIngested fileLocator { ... on S3FileLocator { type bucket key url } } tracks { type index properties { ... on VideoTrackProperties { frameRateNominator frameRateDenominator scanType } ... on AudioTrackProperties { channels } } } } }","variables":{}}}`|Connect mutation updateFile failed with GraphQL Error (Code: 504)|
- [x] BE
- [x] FE
- [x] QA
*QA: Could not reproduce the 504 Timeout Error. The other ones are fixed and the current error message is show in the table*
#
### [FE] Remove unnecessary X button from upload modal

- [x] FE
- [x] QA
*- ~~It has been removed on the `Dialog` pacakge, but the latest version is not published. As soon as we decide to publish that it will be fixed~~*
Fixed. File uploader dialog is set as modal right now.
#
### [BE] If either `Event Bus` or `Perform Interlace scan` are disabled, no error is thrown and the import stays on Pending
**Please note that if both are disabled, the correct error is thrown**

- [ ] BE
- [ ] QA
*QA: Cannot reproduce this a day later. The same error is thrown when either or both options are off*
#
### [FE] Add download template functionality in the csv import modal
Example from the existing flow

- [x] FE
- [x] QA
#
### [BE] Add the "Error message" column to the import report
The current csv report contains only the failed rows, error message is missing.
- [x] BE
- [x] QA
#
### [FE][BE] Add ability to cancel an import
The design shows a Cancel option in the quick actions

- [x] FE
- [x] BE
- [x] QA
#
### [FE][BE] Add link to download the imported csv on the Import Details page

- [x] BE
- [x] FE
- [x] QA
*BE suppprt is needed*
#
### [FE] Add confirmation when canceling an import?
Ex: Are you sure you want to cancel this import?
- [x] FE
- [x] QA
#
### [BE] Sometimes a workflow is shown as Canceled even if it's technically Completed


*Comment from Marius Vinturis: "pare ca se apeleaza workflow.cancel() pe un IngestWorkflow cu Status=Completed"*
- [x] BE
- [x] QA
#
### [BE][FE] If the import fails with csv errors an alert is displayed when trying to download the report

**The download option should be disabled if the report is not generated.**
- [x] BE
- [x] FE
- [x] QA
#
### [CD-8290](https://ownzones.atlassian.net/browse/CD-8290) [FE] No refech on import details page

- [x] FE
- [x] QA
#
### [CD-8291](https://ownzones.atlassian.net/browse/CD-8291) [BE] Visual artifacts after canceling an import

- [x] BE
- [x] QA
#
### [[CD-8365](https://ownzones.atlassian.net/browse/CD-8365)] [BE] Canceling 1000 titles didn't work
- [x] BE
- [x] QA