Fix AttributeError crash in IDL compatibility checker when comparing unstable fields with mismatched array types

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • ALL
    • v8.3, v8.2, v8.0, v7.0
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The idl_check_compatibility.py script crashes when checking IDL compatibility between v7.0.34 and v7.0.35-staging releases.

      The crash occurs when comparing an unstable field that was refactored from bare array type to properly typed array<T>.

      The check_array_type() function returns ArrayTypeCheckResult.TRUE for this case, which is considered as "both types are ArrayType instances" and unconditionally accesses .element_type on both, causing the crash when the old type is a bare Type object.

            Assignee:
            Matt Olma
            Reporter:
            Matt Olma
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: