Missing UI button and corrupted record creation require investigation.
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.
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.
Workspace List./app/workspace/new-workspace-1 to the browser URL to force the creation form.bench consoleI attached a stacktrace of what happens if I tried to delete this "ghost workspace" via frappe.delete_doc.
Frappe Version: 16.6.0 ERPNext Version: 16.5.0
docker
In [1]: frappe.delete_doc("Workspace", "Primary View", force=1)
----
Claim this issue to let others know you're working on it. You'll earn 20 points when you complete it!