You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
metadata-protocol: the object door does not see its package's published extension fields, and a batch accepts a hop through an extension-added lookup into a missing field #33378
Loose-ends card for #33152 (landed as #33300). ⛔ Not a claim.
What happens
Both were reported by the #33152 implementer and are outside that PR's file surface.
Per-item object door. reach: named producer, PUT /api/v1/meta/object (the reviewer's probe on the real door). An object's own formula cannot read a field that its package's published extension adds: the door answers unknown field, while os build accepts the same package. The object save's destructive-change guard also reads such a field as removed unless the save is forced. Cause: the object door judges the WRITTEN body, which replaces the served object (with the extension folded on) in the snapshot it validates against.
Batch door, lenient direction. reach: protocol.publishPackageDrafts on the real store rig (the method behind the package publish route). Not measured over HTTP or against os build. Example: { extend: crm_account, fields: { region__c: lookup crm_region, tier_label__c: formula "record.region__c.tier__c + '!'" } }, with crm_region lacking tier__c, answered success: true. A hop through a lookup that the same extension adds into a field that exists nowhere is accepted, while a hop through a base lookup is refused (pinned by fix(metadata-protocol): a package publish judges each draft with the batch's own extension drafts folded onto their targets #33300's CONTROL).
A hop through an extension-added lookup is judged like a hop through a base lookup.
Dedupe words: object door published extension field formula unknown field, destructive-change guard extension field removed, extension formula hop extension-added lookup unknown field accepted.
Related: #33152, #33300, #33072.
Activity