Commit 2773c10
fix(catalog): extractLayoutRef reads page-template LayoutCall (completes layout coverage)
Page templates (Forms$PageTemplate, e.g. all 46 Atlas_Web_Content templates) nest
their layout under LayoutCall, whereas regular pages (Forms$Form) use FormCall.
extractLayoutRef only read FormCall, so every page template reported no layout —
on MxGraphStudioDemo only 22 of 68 pages had a LayoutRef, and the refs table had
22 layout edges.
Both calls nest the same Form (string QN) / Layout (binary GUID) fields, so fall
back to LayoutCall when FormCall is absent. Now 68/68 pages resolve a layout
(e.g. Phone_Detail -> Atlas_Core.Phone_Default) and refs layout edges go 22 -> 68.
TestExtractLayoutRef gains a LayoutCall (page-template) case.
This closes the "layout extraction is partial" follow-up noted on #663 gap 3.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 456803f commit 2773c10
2 files changed
Lines changed: 23 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
191 | 196 | | |
192 | | - | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
193 | 201 | | |
194 | 202 | | |
195 | 203 | | |
196 | 204 | | |
197 | 205 | | |
198 | | - | |
| 206 | + | |
199 | 207 | | |
200 | 208 | | |
201 | 209 | | |
202 | 210 | | |
203 | | - | |
| 211 | + | |
204 | 212 | | |
205 | 213 | | |
206 | 214 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
51 | 62 | | |
52 | 63 | | |
53 | 64 | | |
| |||
0 commit comments