Temporary file created by weaver visible to outside

Issue #146 resolved
Matthias Schoettle created an issue

The temporary file the weaver creates is deleted, however, when the user tries to save the resulting woven aspect, the name and location appears.

It seems that the resulting aspect still has the resource set. Therefore, we need to make sure that the resource is unloaded as well.

Comments (4)

  1. Matthias Schoettle reporter

    Resolved issue #146: Resource is unloaded in order for the temporary aspect to loose that reference. The temporary file is then not exposed to the user and it looks like when a new aspect is created.

    An alternative would be to copy the woven aspect and use that one as the return.

    → <<cset e08e3de39056>>

  2. Matthias Schoettle reporter

    References issue #146: Unloading the resource lead to an incorrect result when saving the woven aspect later. Therefore, a copy of the temporary aspect is created, which removes the link to the temporary resource.

    → <<cset 664d95394c5a>>

  3. Log in to comment