BHoM / BHoM_UI

GNU Lesser General Public License v3.0
9 stars 6 forks source link

Fix failing components for methods with ref, out, or structure parameters #369

Closed adecler closed 3 years ago

adecler commented 3 years ago

Issues addressed by this PR

Closes #368

See issue for more details.

Test files

./TestRunnre.exe UI

Additional comments

PS C:\ProgramData\BHoM\Assemblies> .\TestRunner.exe UI

Testing input and output handling of the 7157 available BHoM components.
0 errors and 0 warnings reported.

Testing copy of the 7157 available BHoM components.
4 errors and 0 warnings reported.
Inner results:
        BH.Engine.Adapter.Query.AdapterId(IBHoMObject bHoMObject, Type adapterIdFragmentType)
        Error: Incorrect copy of BH.Engine.Adapter.Query.AdapterId(IBHoMObject bHoMObject, Type adapterIdFragmentType).
        BH.Engine.Rhinoceros.Convert.FromRhino(Object geometry)
        Error: Incorrect copy of BH.Engine.Rhinoceros.Convert.FromRhino(Object geometry).
        Inner results:
                Method IFromRhino from { "_t" : "System.Type", "Name" : "BH.Engine.Rhinoceros.Convert, Rhinoceros_Engine, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null" } failed to deserialise.
        BH.Engine.Rhinoceros.Convert.FromRhino(Object obj)
        Error: Incorrect copy of BH.Engine.Rhinoceros.Convert.FromRhino(Object obj).
        Inner results:
                Method FromRhino from { "_t" : "System.Type", "Name" : "BH.Engine.Rhinoceros.Convert, Rhinoceros_Engine, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null" } failed to deserialise.
        BH.Engine.Rhinoceros.Convert.ToRhino(CompositeGeometry geometries)
        Error: Incorrect copy of BH.Engine.Rhinoceros.Convert.ToRhino(CompositeGeometry geometries).
        Inner results:
                Method ToRhino from { "_t" : "System.Type", "Name" : "BH.Engine.Rhinoceros.Convert, Rhinoceros_Engine, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null" } failed to deserialise.
                BH.UI.Base.Components.ConvertCaller failed to deserialise itself.

Testing instantiation of the 7157 available BHoM components.
0 errors and 0 warnings reported.

The Rhino stuff is working when tested in Grasshopper as it is just a question of missing referenced dlls. I'll add the exception to the UI verification later.

adecler commented 3 years ago

@BHoMBot check copyright

bhombot-ci[bot] commented 3 years ago
@adecler to confirm, `check-copyright-compliance` task is now queued.
adecler commented 3 years ago

@BHoMBot check installer

bhombot-ci[bot] commented 3 years ago
@adecler to confirm, `check-installer` task is now queued.