Bug 40826 - nbofuser not incremented when using a mana report
Summary: nbofuser not incremented when using a mana report
Status: ASSIGNED
Alias: None
Product: Koha
Classification: Unclassified
Component: Mana-kb (show other bugs)
Version: Main
Hardware: All All
: P5 - low trivial
Assignee: elias.lorgnier@biblibre.com
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks: 40885
  Show dependency treegraph
 
Reported: 2025-09-17 14:06 UTC by elias.lorgnier@biblibre.com
Modified: 2025-10-13 12:13 UTC (History)
2 users (show)

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Bug 40826: nbofuser increment when importing report from mana (785 bytes, patch)
2025-10-13 11:36 UTC, elias.lorgnier@biblibre.com
Details | Diff | Splinter Review
Bug 40826: nbofuser increment when importing report from mana (1.20 KB, patch)
2025-10-13 12:13 UTC, elias.lorgnier@biblibre.com
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description elias.lorgnier@biblibre.com 2025-09-17 14:06:14 UTC
When importing a report from mana, the nbofuser dosen't go up as it should. 

By looking at the code, I think that feature is not implemented, even though the function Koha::SharedContent::increment_entity_value, wich works for subscriptions is implemented. It is simply never used with reports.
Comment 1 elias.lorgnier@biblibre.com 2025-10-13 11:36:57 UTC
Created attachment 187831 [details] [review]
Bug 40826: nbofuser increment when importing report from mana
Comment 2 elias.lorgnier@biblibre.com 2025-10-13 12:13:11 UTC
Created attachment 187832 [details] [review]
Bug 40826: nbofuser increment when importing report from mana

Test plan:
1. Connect your koha instance to an instance of mana, with an account that is validated. (make sure activationdate is not null for your librarian)
2. Select a report already present on the mana instance to verify if the nbofuser will be incremented or create a new one
3. Import it in koha by searching it's name in the "create with mana" menu
4. Once imported, check on the mana instance that the nbofuser has been incremented.