Skip to main content
GoodFirstPicks
DashboardIssuesReposLeaderboard

GoodFirstPicks by Leaveitblank © 2026

CreatorRequest a RepoPrivacy PolicyTerms of Service
[v16] "Add Workspace" button missing; forcing URL creates broken "Ghost" record that cannot be deleted via UI | GoodFirstPicks

[v16] "Add Workspace" button missing; forcing URL creates broken "Ghost" record that cannot be deleted via UI

frappe/frappe 6 comments 1mo ago
View on GitHub
mediumopenScope: somewhat clearSkill match: maybeFrappe / ERPNextPython

Why this is a good first issue

Missing UI button and corrupted record creation require investigation.

AI Summary

The issue involves a missing 'Add Workspace' button in the UI and a corrupted record creation process that results in a 'ghost' workspace. The problem spans UI visibility, routing, and record deletion, requiring fixes across multiple areas. The exact cause of the corruption is unclear, and CLI intervention is needed to resolve it.

Issue Description

Information about bug

In ERPNext v16, the "Add Workspace" button is missing from the Workspace List view. Attempting to bypass this by manually navigating to /app/workspace/new-workspace-1 allows the form to render and save, but results in a corrupted "ghost" record.

  1. The new workspace appears in the Workspace List.
  2. Clicking on it results in a "Workspace [workspace name] does not exist".
  3. Attempting to delete the record from the List view fails with a "Not Found" error, requiring CLI intervention to fix.

Steps to Reproduce:

  1. Go to Workspace List (observe "Add Workspace" button is missing).
  2. Manually append /app/workspace/new-workspace-1 to the browser URL to force the creation form.
  3. Fill in the details (Title, Name, Module, For User) and click Save.
  4. Go back to Workspace List; the new record is visible.
  5. Click on the new workspace to open it -> Result: "Workspace [workspace name] does not exist".
  6. Return to Workspace List, select the record, and attempt to Delete. -> Result: Error message "Not Found".

Expected Behavior:

  1. The "Add Workspace" button should be visible in the List View.
  2. Creating a workspace should generate a valid route and viewable page.
  3. If a workspace is visible in the List, it should be deletable via the UI.

Actual Behavior:

  • Creation: No UI button available.
  • Routing: Saved workspace does not generate a valid route/view (404 error on load).
  • Deletion: UI throws "Not Found" error when trying to delete the record, effectively locking it in the database until removed via bench console

Extra

I attached a stacktrace of what happens if I tried to delete this "ghost workspace" via frappe.delete_doc.

Version

Frappe Version: 16.6.0 ERPNext Version: 16.5.0

Installation method

docker

Relevant log output / Stack trace / Full Error Message.

In [1]: frappe.delete_doc("Workspace", "Primary View", force=1)
----

GitHub Labels

bug

Want to work on this?

Claim this issue to let others know you're working on it. You'll earn 20 points when you complete it!

Risk Flags

  • potential UI/backend mismatch
  • requires CLI intervention
Loading labels...

Details

Points20 pts
Difficultymedium
Scopesomewhat clear
Skill Matchmaybe
Test Focusedno
Assigneesokumon