NatLabRockies / NatLabRockies/OpenStudio

When you delete a resource the related color object is orphaned (Bugzilla #689)

Open
#114 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

component - Model component - SketchUp severity - Minor Bug
Dominant language
C++
Stars
646
Forks
237
Avg merge
3d 11h
Merged PRs (30d)
10

Description

On 2012-05-07 11:31:14, @DavidGoldwasser wrote:

It it isn't used somewhere else (e.g. not a shared resource) then it should also be deleted. This is similar to bug 662 (rule objects get left behind when you delete a schedule ruleset).

On 2012-05-24 15:40:49, @DavidGoldwasser wrote:

<re-validated with OpenStudio Trunk 052212>

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing deletion of a resource and tracing how its related color object is owned and cleaned up. Compare the behavior with shared resources and the related rule-object issue (Bugzilla #662). Done means an unused color object is deleted with its resource while a shared color object is retained.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.