Bug: No validation on project update when no fields provided #8
Labels
No labels
blocked:gate-research
bug
feature-request
in-progress
needs-triage
quickfix
security/medium
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/vikunja-cli#8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Severity: Low
handle_update_projectinproject_commands.py(line 239) callsclient.update_project()with title/description even when both are None. This sends an empty POST{}to the API, which is pointless and may cause unexpected behavior depending on the server implementation.Similarly, the API method
update_projectinclient.pybuildsdata = {}and adds nothing if both are None.Fix: Add a validation check before the API call, similar to how
handle_configurechecksif not updates::Same pattern should be applied to
handle_update_taskand the bulk update handler.Fixed in commit. Closing.