Skip to content

Conversation

@s-heppner
Copy link
Owner

Previously, the logic of the verification.check_disallowed_field method was inverted. Instead of returning a violation when the disallowed field was present, it was returning the violation when it was not present. My suspicion is that this was due to a copy/paste error.

This fixes this bug, by returning a violation only when a disallowed field is present.
The bug was first found in the logic of the linter rule of: ieeetran_rules.check_in_collection.

Fixes #18

Previously, the logic of the `verification.check_disallowed_field`
method was inverted. Instead of returning a violation when the
disallowed field was present, it was returning the violation when it
was not present. My suspicion is that this was due to a copy/paste
error.

This fixes this bug, by returning a violation only when a disallowed
field is present.
The bug was first found in the logic of the linter rule of:
`ieeetran_rules.check_in_collection`.

Fixes #18
@s-heppner s-heppner merged commit 9719a6c into main Oct 24, 2025
2 checks passed
@s-heppner s-heppner deleted the Fix/18 branch October 24, 2025 18:40
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.

IEEEtran: Bug in entry type @incollection

2 participants