Affiliate Plans - can't save percent

2 views
Skip to first unread message

Ilya

unread,
Mar 11, 2011, 4:23:15 PM3/11/11
to in-port...@googlegroups.com
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
-------------------------------------------------
1 / 100 / 10
100 / 500 / 20
500 / infinity / 30

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.

Alexander Obuhovich

unread,
Mar 11, 2011, 4:25:09 PM3/11/11
to in-port...@googlegroups.com
This is a duplicate discussion of https://groups.google.com/d/topic/in-portal-bugs/Rd7vvR6vM7E/discussion.

Please use search, before posting.


--
You received this message because you are subscribed to the Google Groups "In-Portal Bugs Team" group.
To post to this group, send email to in-port...@googlegroups.com.
To unsubscribe from this group, send email to in-portal-bug...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/in-portal-bugs?hl=en.



--
Best Regards,

http://www.in-portal.com
http://www.alex-time.com
Reply all
Reply to author
Forward
0 new messages