Files
FreeCADWasmDev/docs/current/web-commandtest-boundaries.md
wangdequan 9a7c4f0335 Save FreeCAD Web workspace sources and user validation evidence
IFC native binding remains incomplete; preserve accurate test results.
2026-09-15 22:01:58 +08:00

1.5 KiB

Web CommandTest batch 54f4c3d584e06baacdc49265

Incomplete native connection; no build, sync, tests, or business validation performed.

  • Std_Test5 and Std_Test6: CommandTest.cpp:248 and :279 have empty activated bodies after checking for a document. Their isActive methods require a document. The existing Web adapter checks the native document identity through its view owner and preserves the empty operation. Command-specific native registration remains unresolved.
  • Std_TestCmdFuncs: CommandTest.cpp:308 creates an App::Annotation, performs application and GUI object lookups, changes application and GUI visibility through command helpers, requests edit mode, prints through Gui::doCommandT, and copies DisplayMode. It requires an active document.
  • PartBoxProbe.cpp:3099 restricts batch ownership to Part records. The previous Web adapter submitted a Web record and replaced any result envelope with unconditional mutation success, hiding the per-record rejection. Removed that submission and false success. The adapter now checks document identity and reports the missing native entry explicitly.

Remaining work: locate the build-owned GUI command-helper execution path and connect the real Std_TestCmdFuncs behavior, then register applicable routes through the actual catalogs and tools/generate_feature_capability_registry.py. Do not widen the Part batch ownership filter without implementing the operations. Build/sync/route receipts belong to the outer pipeline.