• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

rero / rero-ils / 28779637764
91%

Build:
DEFAULT BRANCH: staging
Ran 06 Jul 2026 09:42AM UTC
Jobs 1
Files 612
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Jul 2026 08:53AM UTC coverage: 91.33% (+0.004%) from 91.326%
28779637764

push

github

PascalRepond
fix(acquisition): allow cancelling the last non-received order line

Cancelling the last non-received line of a partially received order makes
the order fully received. The REST PUT calls the record's overridden
update() (which commits and reindexes), then invenio commits again and
re-runs extended_validation, which then saw the order as RECEIVED and
rejected it with "wrong status" -- even though the cancellation had
already persisted, leaving the line cancelled but surfacing an error.

Accept RECEIVED in extended_validation when the line is being cancelled:
a cancellation is always valid, and the update permission (evaluated once
on the prior status) remains the real gate. Also fix and translate the validation
docstring (it omitted the order-status check and claimed a False return)
and reword the message to "save" instead of "create" so it no longer
implies a creation on updates.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-by: Pascal Repond <pascal.repond@rero.ch>

3 of 3 new or added lines in 1 file covered. (100.0%)

6 existing lines in 2 files now uncovered.

24249 of 26551 relevant lines covered (91.33%)

0.91 hits per line

Coverage Regressions

Lines Coverage ∆ File
4
93.98
0.14% rero_ils/modules/ext.py
2
95.92
-1.81% rero_ils/modules/patrons/permissions.py
Jobs
ID Job ID Ran Files Coverage
1 28779637764.1 06 Jul 2026 09:42AM UTC 612
91.33
GitHub Action Run
Source Files on build 28779637764
  • Tree
  • List 612
  • Changed 4
  • Source Changed 4
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28779637764
  • 05886c19 on github
  • Prev Build on staging (#28647141676)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc