BHoM / RAM_Toolkit

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

Failure on push due to Adapter Cache method key error #215

Closed enarhi closed 1 year ago

enarhi commented 1 year ago

Description:

Push fails due to no key existing in the object dictionary when calling the method below: image

This results from the Cache system added to Core Adapter 2 months ago failing for the single IMaterialFragment that is Read from an empty RAM project before processing the Push. This object has an Id of null, and the key error results from this.

Steps to reproduce:

Push floors, walls, columns etc to RAM (Levels still work as they do not trigger the Read of the MaterialFragment).

Expected behaviour:

Push functioning properly without the key error.

Test file(s):

Default Structural Create - read - update elements script or any scripts with elements pushed to RAM.