Commit 305ec56
Fix: parent features with explicit defaults not overridden by subfeature derivation
When a feature like create-calendar has an explicit default (full), it
represents an independent capability. The _derive_from_subfeatures
logic should not override that default based on subfeature statuses.
Previously, create-calendar would incorrectly derive as unsupported
when only create-calendar.set-displayname was set to unsupported
(the Zimbra case: calendar creation works, but setting display name
on creation does not).
The fix guards the final derivation attempt (before falling back to
default) with the same 'default' not in feature_info check used
in the tree-walk phase.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 3e86b04 commit 305ec56
2 files changed
Lines changed: 30 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
468 | 468 | | |
469 | 469 | | |
470 | 470 | | |
471 | | - | |
472 | | - | |
473 | | - | |
474 | | - | |
475 | | - | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
476 | 480 | | |
477 | 481 | | |
478 | 482 | | |
| |||
970 | 974 | | |
971 | 975 | | |
972 | 976 | | |
973 | | - | |
974 | | - | |
975 | 977 | | |
976 | 978 | | |
977 | 979 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
324 | 324 | | |
325 | 325 | | |
326 | 326 | | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
327 | 348 | | |
328 | 349 | | |
329 | 350 | | |
| |||
0 commit comments