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

curationexperts / laevigata / 9dd97c1e-7c61-4a5d-8488-23f75b0905af / 3
97%
main: 97%

Build:
DEFAULT BRANCH: main
Ran 07 Sep 2024 07:29PM UTC
Files 124
Run time 2s
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 Sep 2024 05:52PM UTC coverage: 78.587% (-4.6%) from 83.228%
9dd97c1e-7c61-4a5d-8488-23f75b0905af.3

push

circleci

mark-dce
[FIX] Embargo selections reset when editing ETDs

**ISSUE**
When a student or admin edits a submitted ETD, the "Content to Embargo"
setting is always reset to "Files Embargoed" regardless of what was
previously saved.

**DIAGNOSIS**
The library (and corresponding tests) that converts saved embargo
settings used a string values instead of boolean values. The source
ETD stores `files_embargoed`, `toc_embargoed`, and `abstract_embargoed`
as boolean values, bt the translation code was comparing against string
values. Examples:
```
true == 'true'
=> false

[true, true, false] == ['true', 'true', 'false']
=> false
```

**RESOLUTION**
Add test cases that demonstrate the bug and update the code to
do the comparisions using the correct data types.

2158 of 2746 relevant lines covered (78.59%)

14.79 hits per line

Source Files on job 9dd97c1e-7c61-4a5d-8488-23f75b0905af.3
  • Tree
  • List 0
  • Changed 68
  • Source Changed 0
  • Coverage Changed 25
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 9
  • d78ca4cb on github
  • Prev Job for on main (#fdfbbfd8-02c8-4a74-94ec-f797e7e2306e.1)
  • Next Job for on main (#ac241a7d-3809-494f-930e-b5e18f88afdf.1)
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