Skip to content

Add content error for empty question pages#809

Open
sjd210 wants to merge 4 commits into
mainfrom
hotfix/empty-question-content-warning
Open

Add content error for empty question pages#809
sjd210 wants to merge 4 commits into
mainfrom
hotfix/empty-question-content-warning

Conversation

@sjd210

@sjd210 sjd210 commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Adds a content error for question pages without any answerable questions, such as qmp_ch3_q1. These are not valid and so will not behave consistently.

(Also reorders some content errors so that all those related to questions are adjacent and so easier to find)

@codecov

codecov Bot commented Jul 10, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 12 lines in your changes missing coverage. Please review.
✅ Project coverage is 40.88%. Comparing base (d7e3726) to head (56823ba).

Files with missing lines Patch % Lines
...ava/uk/ac/cam/cl/dtg/segue/etl/ContentIndexer.java 0.00% 9 Missing and 3 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #809      +/-   ##
==========================================
- Coverage   40.89%   40.88%   -0.01%     
==========================================
  Files         550      550              
  Lines       23504    23508       +4     
  Branches     2831     2832       +1     
==========================================
  Hits         9611     9611              
- Misses      13026    13029       +3     
- Partials      867      868       +1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Comment thread src/main/java/uk/ac/cam/cl/dtg/segue/etl/ContentIndexer.java Fixed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants