#10502·nocobase

[Bug] Comment Edit action appears in normal v2 table and crashes

Author: MosesMachuaCreated Sep 14, 2026Updated Sep 15, 2026

* Describe the bug

In a Modern Page (v2) table, the row Actions menu shows two different Edit options.

The normal/top Edit works correctly.

The lower toggle-style Edit, shown near Delete and Quote reply, causes a runtime error when used on a normal table row:

TypeError: e.setEditing is not a function

The failing flow is editRecordComment, which suggests a comment-specific action is being exposed in a normal table context.

* Environment

  • NocoBase version: 2.2.12
  • Database type and version: PostgreSQL 16
  • OS: macOS
  • Deployment Methods: Docker
  • Docker image version: nocobase/nocobase:latest-full
  • NodeJS version: N/A / Docker image

* How To Reproduce

  1. Create a Modern Page (v2).
  2. Add a normal Table block, for example using the built-in Users collection.
  3. Add an Actions column.
  4. Open the available row actions.
  5. Select the lower toggle-style Edit.
  6. Click Edit on a row.

The action fails with:

TypeError: e.setEditing is not a function

and the console references:

flow 'editRecordComment'

Expected behavior

Comment-specific Edit actions should not appear for normal table rows, or should not execute editRecordComment outside a comment context.

The normal/top Edit action works correctly.

Screenshots

Attached:

  • Screenshot showing the two Edit options. The upper one works, the lower one doesn't.
Image
  • Screenshot showing the console error if you use the lower "Toggle Style" Edit
Image

Logs

Browser console:

TypeError: e.setEditing is not a function

BaseModel.applyFlow: Error executing step 'edit' in flow 'editRecordComment'