Bug: schedule() allows re-scheduling already-posted items #121

Closed
opened 2026-06-06 11:50:10 +00:00 by jmiller · 1 comment
Owner

Audit Finding

Severity: Low

Issue:
PostsController::schedule() sets any selected post to status=queued regardless of current status. Posts with posted or posting status can be re-queued, causing duplicate cross-posts.

Fix: Add WHERE status filter to only allow scheduling of queued/failed/cancelled posts.

Files: PostsController.php

## Audit Finding **Severity:** Low **Issue:** `PostsController::schedule()` sets any selected post to `status=queued` regardless of current status. Posts with `posted` or `posting` status can be re-queued, causing duplicate cross-posts. **Fix:** Add WHERE status filter to only allow scheduling of queued/failed/cancelled posts. **Files:** `PostsController.php`
Author
Owner

Branch created: feature/121-bug-schedule-allows-re-scheduling-alread

git fetch origin
git checkout feature/121-bug-schedule-allows-re-scheduling-alread
Branch created: [`feature/121-bug-schedule-allows-re-scheduling-alread`](https://git.mokoconsulting.tech/MokoConsulting/MokoJoomCross/src/branch/feature/121-bug-schedule-allows-re-scheduling-alread) ```bash git fetch origin git checkout feature/121-bug-schedule-allows-re-scheduling-alread ```
Sign in to join this conversation.
No labels
Priority High
Type Bug
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoJoomCross#121