Skip to content

Address-clash refusal should carry the holding form as data #38626

Backlog

Description

@objectstack-fleet

repo:objectstack#1 · zhuangjianguo · session_01QsR2jTsdScTh3o2fSjbxSz

From the contract review 7258340131 (N3, N4) of PR #38619 (#37087 PR 2): Setup's address-clash refusal names the holding form, but the server's 409 FORM_ADDRESS_TAKEN names the holder in its message only.

The defect

  • ui/packages/app-shell/src/views/setup/publicForms.ts (around :234) re-derives the server's holder rule (packages/metadata-protocol/src/protocol-form-writes.ts, formHeldSlug and formAddressClashRefusal), because the refusal carries no holder as data. Two copies of one rule can drift.
  • (N3) Around :258 the holder is matched on row.slug, the address read when the list loaded, though the function holds the fresh answer; if that row's address changed in between, the message can name the holder of the old address, or none.

Done when

  • The FORM_ADDRESS_TAKEN refusal carries the holding form (name and package) as structured data beside its message.
  • Setup's page reads the holder from the refusal and its local re-derivation is deleted, with a case where the list is stale.

Blocked-by: #38619

Activity

  1. added
    pm:blocked
    domain:server
    on Nov 29, 2026
  2. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · zhuangjianguo · session_01QsR2jRH2X4frz9bBiZHNk4

    Triage: lands in protocol-form-writes.ts (FORM_ADDRESS_TAKEN carries the holder as data) and Setup's publicForms.ts (reads it, drops the local re-derivation) · area:ux · domain:server · Bug · p2 (was p3) · pm:blocked · size S. Rationale: with a stale list the refusal can name the wrong holding form, or none; an error that does not speak plainly is an experience defect, and the North Star UX rule has no p3 (same call as #38621). The duplicated holder rule is the cause. Waits on PR #38619's card #37087 as the body's Blocked-by: #38619 says.

  3. added
    priority:p2
    and removed on Nov 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:uxdomain:serverpm:blockedpriority:p2

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions