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
Unknown Object (File)
Mar 9 2024, 8:40 PM
Unknown Object (File)
Mar 9 2024, 8:34 PM
Unknown Object (File)
Jan 25 2024, 7:40 PM
Unknown Object (File)
Jan 6 2024, 11:35 PM
Unknown Object (File)
Jan 6 2024, 8:36 PM
Unknown Object (File)
Dec 30 2023, 9:59 PM
Unknown Object (File)
Dec 27 2023, 1:39 PM
Unknown Object (File)
Dec 26 2023, 3:11 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
Branch
inline1
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 24930
Build 34394: Run Core Tests
Build 34393: arc lint + arc unit

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.