Repository navigation
Fix/1.1.3 - #28
Closed
victoraigbeghian wants to merge 4 commits into
Closed
Fix/1.1.3#28victoraigbeghian wants to merge 4 commits into
victoraigbeghian wants to merge 4 commits into
Conversation
…andling (1.1.2) fix: remove dead code, correct bulk notifications, and harden input handling (1.1.2) Fixes nine issues identified during a code audit of 1.1.1.
The 1.1.2 change made the bulk handler iterate the IDs returned by bulk_update_status(), but that method added an ID whenever update_status() returned true, and update_status() returns true for a no-op write because Query::update_item() only reports false on a database error. Requests already in the target status were therefore still reported as updated, emailed, and given a history row with identical old and new status. bulk_update_status() now reads each request and skips it when the status would not change. Moderation_Handler applies the same rule to the notification on the single-request form. Also updates two integration tests that still asserted the pre-1.1.2 integer return value of bulk_update_status(). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FD4jdK3UF9epvz4D15yqiW
Bug fixes, code updates in preparation for Intercessor 1.1.3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Squashed some bugs and updated some codes to make Intercessor better