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

rero / rero-mef / 29008989430 / 1
87%
staging: 87%

Build:
DEFAULT BRANCH: staging
Ran 09 Jul 2026 09:45AM UTC
Files 199
Run time 11s
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

09 Jul 2026 09:40AM UTC coverage: 87.361% (+0.03%) from 87.333%
29008989430.1

push

github

rerowep
fix(mef): resolve redirects via any linked source, not just one

* get_latest() only checked the redirect on the pid_type it was
  called with; add a shared _find_redirect_target() on
  EntityMefRecord that checks every linked source (idref, gnd,
  rero) instead, fixing lookups like
  /agents/mef/latest/gnd:X when only the idref source redirected
* de-duplicate three byte-for-byte identical (and buggy) get_latest
  implementations in agents/concepts/places mef api.py into that
  shared base class method
* theme/views.py: _compute_nav_urls had the same gap for the MEF
  detail page's Latest/Older buttons; add the missing reverse
  redirect_from lookup and extract _own_relation_url /
  _reverse_relation_urls for readability and testability
* add regression tests: a deterministic _find_redirect_target unit
  test (avoids relying on ambiguous Elasticsearch ordering) and a UI
  test for the previously-missing Latest button

Co-Authored-by: Peter Weber <peter.weber@rero.ch>

5488 of 6282 relevant lines covered (87.36%)

0.87 hits per line

Source Files on job 29008989430.1
  • Tree
  • List 199
  • Changed 5
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 29008989430
  • c254dc41 on github
  • Prev Job for on staging (#28873715931.1)
  • Next Job for on staging (#29009405035.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc