Redaction App - Applying Partial Redaction on Full Page Redaction Changes Page Flag
- Dominant language
- Python
- Stars
- 8
- Forks
- 2
- Avg merge
- 14h 34m
- Merged PRs (30d)
- 46
Description
**Describe the bug in current situation**
When you have selected to redact a page in full ('Withheld in Full' page flag), either by using the left pane or the 'Redact Page(s)' feature, if you apply a partial disclosure on top of the full page redaction, it automatically flags the page with the 'Partial Disclosure' page flag.
When a page has been flagged with the 'Withheld in Full' page flag, when a user applies a partial redaction overtop of the full page redaction, the page flag should remain 'Withheld in Full'. The page flag should not change automatically.
**Link bug to the User Story**
**Impact of this bug**
Describe the impact, i.e. what the impact is, and number of users impacted.
Low
**Chance of Occurring (high/medium/low/very low)**
Medium
**Pre Conditions: which Env, any pre-requesites or assumptions to execute steps?**
Test-Marshal
**Steps to Reproduce**
Steps to reproduce the behavior:
1. Redact a page in full (i.e., 'Withheld in Full' page flag), using the left pane or 'Redact Page(s)' - page will be flagged as 'Withheld in Full'
[Private Zenhub Image](https://api.zenhub.com/attachedFiles/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBK3FDQVE9PSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9pZCJ9fQ==--a6a1f005f3b213e246843fc7788504286120077b/image.png)
[Private Zenhub Image](https://api.zenhub.com/attachedFiles/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBK3lDQVE9PSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9pZCJ9fQ==--1b65e4da4f9e1cb00b3ffc7b92de2f3a6ded819d/image.png)
2. On the same page, apply a partial redaction
[Private Zenhub Image](https://api.zenhub.com/attachedFiles/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBKzZDQVE9PSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9pZCJ9fQ==--5825cb83c1bd678fa56bfd2bb5b8f3f17a63a546/image.png)
3. See error, where the 'Withheld in Full' flag is replaced with the 'Partial Disclosure' page flag automatically
**Actual/ observed behaviour/ results**
'Withheld in Full' page flag overwritten by the 'Partial Disclosure' page flag automatically
**Expected behaviour**
GIVEN a user has redacted a page in full ('Withheld in Full')
WHEN a user applies a partial disclosure overtop of the full page redaction
THEN the redaction is applied
AND the page flag does not automatically change, and it remains 'Withheld in Full'
**Screenshots/ Visual Reference/ Source**
If applicable, add screenshots to help explain your problem. You an use screengrab.
Contributor guide
Research direction
The issue names the left-pane flow and the “Redact Page(s)” feature, with Test-Marshal as the reproduction environment. Start by reproducing the sequence and trace those entry points to where the page flag is updated; done means the partial redaction is applied while “Withheld in Full” remains unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100