Cycling Between Metric and US Deletes ALL Other Ingredients

Discussion in 'Recipe Editor' started by AHarper, Feb 20, 2019.

  1. AHarper

    AHarper Well-Known Member

    Joined:
    Mar 23, 2018
    Messages:
    402
    Likes Received:
    357
    Trophy Points:
    63
    Gender:
    Male
    Occupation:
    Retired
    Location:
    Sussex, UK
    Sorry to say this but when you load an old recipe and cycle between Metric and US volumes results in
    ALL Other Ingredients Volumes to be deleted - well set to zero.

    Not many will do this I guess as they will stick to their preferred Units. I was testing the Temperature values cycling - that now works - but I discovered this one. I think other fields are OK and it must be in the conversion code somewhere.

    BEFORE:
    upload_2019-2-20_23-45-57.png

    AFTER:
    upload_2019-2-20_23-46-26.png

    It is ALL Other Ingredients Amounts not just the top one.
     
  2. Yooper

    Yooper Administrator
    Staff Member

    Joined:
    Nov 16, 2013
    Messages:
    2,489
    Likes Received:
    1,576
    Trophy Points:
    113
    Gender:
    Female
    Occupation:
    Happily retired
    Location:
    Upper Michigan/Florida
    Thank you for the report and the screenshots- I put in a ticket for this. That one would have been tough to find without the screenshots, so we really appreciate it!
     
  3. Yooper

    Yooper Administrator
    Staff Member

    Joined:
    Nov 16, 2013
    Messages:
    2,489
    Likes Received:
    1,576
    Trophy Points:
    113
    Gender:
    Female
    Occupation:
    Happily retired
    Location:
    Upper Michigan/Florida
    I think it's fixed- do you want to try it on the beta site, to see if you can recreate? I'm testing it as well.
     
  4. AHarper

    AHarper Well-Known Member

    Joined:
    Mar 23, 2018
    Messages:
    402
    Likes Received:
    357
    Trophy Points:
    63
    Gender:
    Male
    Occupation:
    Retired
    Location:
    Sussex, UK
    Well loading an old recipe and switching Units does not zero Other Ingredients amounts BUT it doesn't convert the values now.

    I had 4gm when under Metric, then switched to US and I get 4 oz.... problem half fixed.

    Do you want screen shots?
     
  5. AHarper

    AHarper Well-Known Member

    Joined:
    Mar 23, 2018
    Messages:
    402
    Likes Received:
    357
    Trophy Points:
    63
    Gender:
    Male
    Occupation:
    Retired
    Location:
    Sussex, UK
    It also does the same with HOPS - values are not being converted when you switch between units...
     
  6. AHarper

    AHarper Well-Known Member

    Joined:
    Mar 23, 2018
    Messages:
    402
    Likes Received:
    357
    Trophy Points:
    63
    Gender:
    Male
    Occupation:
    Retired
    Location:
    Sussex, UK
    #6 AHarper, Feb 21, 2019
    Last edited: Feb 21, 2019
    However... the TOTAL of the hops does change - but it is the individual hop sections that don't change.

    ############ This is due to rounding errors ########## not an issue####
    As for the total changing, the calculated IBU value alters... why? Surely - if all other volumes and amounts don't change (except for unit conversion) their respective concentrations don't change so the IBU value should not change or am I missing something here?
    ##################################### ##############################
     
  7. AHarper

    AHarper Well-Known Member

    Joined:
    Mar 23, 2018
    Messages:
    402
    Likes Received:
    357
    Trophy Points:
    63
    Gender:
    Male
    Occupation:
    Retired
    Location:
    Sussex, UK
    Switching from one unit to another after loading a previously OK recipe.

    This is in BETA....

    upload_2019-2-21_18-48-29.png

    After switching...

    upload_2019-2-21_18-50-50.png


    Hope this helps...
     
  8. Yooper

    Yooper Administrator
    Staff Member

    Joined:
    Nov 16, 2013
    Messages:
    2,489
    Likes Received:
    1,576
    Trophy Points:
    113
    Gender:
    Female
    Occupation:
    Happily retired
    Location:
    Upper Michigan/Florida
    YES!!!! Thank you.
     

Share This Page

arrow_white