Bug 322164

Summary: Add properties to an ingredient not work
Product: [Applications] krecipes Reporter: Marc <mtormo>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: aacid, groot, tricotvanille2003
Priority: NOR    
Version: 2.0-beta2   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Marc 2013-07-09 20:20:57 UTC
In the list of ingredients going to the properties and add a new property. Select the property and give the OK, the property is not added to the list. The properties have been created manually, not ingredients USDA. 

Reproducible: Always

Steps to Reproduce:
1. In the properties list, create a new property
2. In the ingredients list, create a new ingredient
3. Go to the properties information
4. Add a new property
5. Select the previously created property

Actual Results:  
The property is not added to the list


The database is MySQL and language is Catalan.
Comment 1 groot 2015-02-21 16:30:25 UTC
 - start krecipes
 - pick "data" from the left-hand menuthingy, pick "properties"
 - click create
 - property name "awesomeness", units g^2/cc
 - notice that property is in the list of properties
 - pick "ingredients" from the left-hand menuthingy
 - click create
 - fill in "armadillo", OK
 - find armadillo in the ingredients list, select it, click the "property information" button, dialog pops up
 - click, in the left-hand box labeled "properties", on "Add"
 - dialog shows up with list of properties
 - select "awesomeness" from list of properties and click ok
 - there is no awesomeness in the left-hand box labeled "properties"
 - click "Add" again
 - choose something boring, like dietary fiber, same result; you can also fill in a unit (say, per gram of armadillo) but that doesn't help either
Comment 2 groot 2015-02-25 12:10:09 UTC
Fixed by 9ce6aa136.
Comment 3 groot 2015-02-25 12:13:05 UTC
*** Bug 290610 has been marked as a duplicate of this bug. ***