Problem
MQNavigationQuery>>queryFor: assumes each child relation is a collection. SQL view/derived-table sqlQuery is scalar, causing Instances of FmxSQLSelectQuery are not indexable. DSM and Butterfly fail on views and enclosing schemas.
Found during the 2026-09-20 FAMIXNGSQL/Moose 13 compatibility audit.
Implementation scope
Use cardinality-aware containment traversal while preserving existing collection paths, query direction, and local-only semantics. Review shared/cyclic containment safety.
Implementation PR target: deem0n/Famix, in the deem0n fork first. Keep this issue separate from the other v3.0.0 fixes. The PR must explain the previous failure, resulting behavior, compatibility implications, and actual validation.
Acceptance criteria and tests
Scalar child with incoming/outgoing associations; collection and nil child controls; local-only queries; nested/shared containment; existing MooseQuery suite; SQL view DSM/Butterfly acceptance.
Release
Part of the v3.0.0 milestone. An open PR is not a completed fix; release qualification is tracked separately.
Implementation
deem0n/Famix#2
Combined qualification: #32. The implementation is available for review; this issue remains open until its integrated release acceptance is verified.
Problem
MQNavigationQuery>>queryFor: assumes each child relation is a collection. SQL view/derived-table sqlQuery is scalar, causing Instances of FmxSQLSelectQuery are not indexable. DSM and Butterfly fail on views and enclosing schemas.
Found during the 2026-09-20 FAMIXNGSQL/Moose 13 compatibility audit.
Implementation scope
Use cardinality-aware containment traversal while preserving existing collection paths, query direction, and local-only semantics. Review shared/cyclic containment safety.
Implementation PR target: deem0n/Famix, in the deem0n fork first. Keep this issue separate from the other v3.0.0 fixes. The PR must explain the previous failure, resulting behavior, compatibility implications, and actual validation.
Acceptance criteria and tests
Scalar child with incoming/outgoing associations; collection and nil child controls; local-only queries; nested/shared containment; existing MooseQuery suite; SQL view DSM/Butterfly acceptance.
Release
Part of the v3.0.0 milestone. An open PR is not a completed fix; release qualification is tracked separately.
Implementation
deem0n/Famix#2
Combined qualification: #32. The implementation is available for review; this issue remains open until its integrated release acceptance is verified.