Child pages
  • [in-commerce] Affiliate Plans - can't save percent [5.1.0]
Skip to end of metadata
Go to start of metadata

Imported From: http://groups.google.com/group/in-portal-bugs/browse_thread/thread/cf1569e8ea5b92a5#

Nikita recently fixed this in a project. Here is the original bug report: 

  1. I added an Affiliate Plan via Affiliates -> Affiliate Plan (ID: 1)
  2. On the Brackets tab, I setup the following:

    From Amount
    To Amount
    Percent
    110010
    10050020
    500infinity30
  3. I saved the Affiliate plan.
  4. I edited the Affiliate plan, opened the Brackets tab and saw that all of the Percents reset to 9.99. 

Nikita can explain more exactly what was fixed, but as far as I understood,  it had to do with how MySQL now stores DECIMAL(3,2) fields. This was also  fixed in a couple other tables with the same problem.

Original bug report was for version 5.1.0. Also tested on 5.1.2-beta2.

Related Tasks

MINC-72 - Getting issue details... STATUS

1 Comment

  1. This is a duplicate discussion of
    https://groups.google.com/d/topic/in-portal-bugs/Rd7vvR6vM7E/discussion.

    Please use search, before posting.