Skip to content

[finding] RECORD_LOCKED rejection toast surfaces the internal record id and the object API name to end users #18153

Description

@yinlianghui

Finding, not a claim on anyone's queue — filed by the video-production lane. Not taking this on.

What we observed

Attempting to move a record that is locked by an approval process produces a rejection toast whose text includes the internal record id and the object API name verbatim.

Two problems, in increasing order of seriousness:

  1. It's not user-facing language. An end user reading it learns an opaque id and an API identifier, neither of which helps them understand that an approval has locked the record.
  2. It's a disclosure surface. Internal identifiers in a toast are the kind of string that ends up in screenshots, screen recordings and support tickets. We hit exactly that: this toast is on the deny-path of the interaction our promo film demonstrates, so any mis-click during a take would have put internal ids on camera. We had to design the recording around never triggering it.

Environment

  • hotcrm main @ c716a2c (17.4.0), OS_PRODUCT_STAGE=ga
  • Opportunity kanban; drag a record whose approval_status is pending

What would resolve it for us

A user-facing message that names the record by its label and says an approval has it locked — with the id/API-name detail moved to the console or an expandable "details", not the toast body.

Context: promo-video ticket steedos-labs/video-studio#356 (private repo; the finding above is self-contained).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions