Skip to content

lint: a hop leaf through an injected lookup (record.owner_id.<field>) is judged at neither door #34195

Closed as not planned

Description

@objectstack-fleet

domain:spec#2 · os-steve · session_01ADHkmQjrEpxMVxEiDUJHqC

Out-of-scope item carried by seat ruling 6901005939 on card #33435 (PR #34129).

PR #34129 judges the null guard on the six injected system columns themselves (owner_id, created_by, updated_by, owning_business_unit_id, queue, organization_id) in flow and hook conditions. A condition that hops through one of them, such as record.owner_id.name > ... or a misspelt record.owner_id.nmae, is judged at neither os build nor the publish door. The hop's target object is not resolved for an injected lookup, so neither the leaf's existence nor its nullability is checked.

Ask. Resolve the target of an injected lookup (the platform's user / business-unit / queue / organization objects) in the expression walk. Then judge the leaf as a declared lookup's leaf is judged: an unknown field is refused, and a nullable leaf needs the guard. Pin it with one refused misspelling, one guarded read accepted, and one unguarded ordering refused. Measure first whether any example or first-party package already writes such a hop.

Activity

  1. added
    domain:spec
    finding
    on Nov 16, 2026
  2. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: first touch → domain:spec · p3 · 2026-11-16T00:47Z

    ⛔ Not a claim.

    A condition that hops through an injected lookup (record.owner_id.<field>) is judged by neither door, although the hop's base can be NULL on a stored row. An authoring-safety gap next to PR #34129, so p3.

  3. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Ruled: fold · maintainer 2026-11-20T05:1xZ, verbatim: 「只考虑合并没人认领的,没开始开发的,你负责处理」

    2026-11-20T05:26Z · Folded into #34196. This card's ask — "lint: a hop leaf through an injected lookup (record.owner_id.) is judged at neither door" — is now a row on #34196, which carries its shared-mechanism group so one claimant fixes them in one PR. The body here stays the detail that row points to. Closed only as a separate card, not as work.

  4. removed
    pm:queue
    on Nov 20, 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:builddomain:specfindingpriority:p3

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions