Page MenuHomePhabricator

Use "getInlines()", not "_inlines", to access inlines on client Changeset objects
ClosedPublic

Authored by epriestley on Oct 2 2020, 4:11 PM.
Tags
None
Referenced Files
F19470071: D21475.id.diff
Mon, Jan 5, 8:36 AM
F19469423: D21475.diff
Sun, Jan 4, 10:40 PM
F19083392: D21475.id51117.diff
Dec 2 2025, 12:35 PM
F19083391: D21475.id51116.diff
Dec 2 2025, 12:35 PM
F18993571: D21475.id51115.diff
Nov 19 2025, 8:11 AM
F18774438: D21475.id.diff
Oct 10 2025, 8:07 AM
F18761205: D21475.id51116.diff
Oct 6 2025, 12:55 PM
F18734362: D21475.id.diff
Sep 30 2025, 10:52 PM
Subscribers
None

Details

Summary

See PHI1898. An install is reporting an execution/initialization order issue where this code is reachable before _inlines is initialized.

I can't immediately reproduce it, but using "getInlines()" is preferable anyway and seems likely to fix the problem.

Test Plan

Viewed revisions with inlines, added/removed/edited/replied to inlines, didn't find anything broken.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

  • Fix a possible call reentrancy issue, where "getInlines()" and "getInlineForRow()" could call one another.
This revision was not accepted when it landed; it landed in state Needs Review.Oct 2 2020, 4:19 PM
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.