Modifying equip profile from recipe panel broken
Bug #1592190 reported by
Sim
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Brewtarget |
Invalid
|
Undecided
|
Unassigned |
Bug Description
OSX 10.10.5
Brewtarget 2.3.0
If I modify equipment profile from recipe panel, save, then switch to use other profile then back, changes are gone.
Seems as though save button broken on equip ed when started from recipe panel.
Workaround: Only edit equipment by starting equipment editor from toolbar..
To post a comment you must log in.
It isn't actually broken, just terribly confusing.
When you add an equipment profile to a recipe, we make a copy of the profile. When you edit the profile from the recipe panel, you are editing the copy and not the original.
When you switch to another profile and then back, we make another copy of the original profile. Yes, the changes you made to the previous copy are gone because they were made to a copy that no longer exists.
The same is true, by the way, for almost anything else you add to a recipe: hops, fermentables, etc. We copy the original and add the copy to the recipe. Editing anything associated with a recipe almost always -- I think it is always, but there may be an exception I am forgetting -- edits only the copy and not the original.
If you want to change the original, you need to either open the equipment editor via the tool bar or double click the profile in the tree. That will modify the original profile directly. Just to make it more confusing, that will only modify the original and not any copy of it. If you want those changes made to the copy, you will either have to modify the copies manually or select the profile again.