Все Категории

Max Resource aid amount bug

Max Resource aid amount bug

Поиск
23 авг. 2018, 21:2623.08.18
14.06.17
90

Max Resource aid amount bug

At least on PC.

When one enter maximum resource amount in "Resources aid" input, wrong amount is selected.

Example:

Maximum convoy size is 12,425,000. If one enter that amount manually using digits, only 1.2M is selected / sent.

If one add or subtract 1 unit, or anything above / below, correct amount is sent. E.g:

Max Convoy size: 12,425,000
Tax rate: 8%

Enter          Sent Gross    Sent Net
12,425,001 12,425,000 11,431,000
99,999,999 12,425,000 11,431,000
12,424,999 12,424,999 11,431,000 (rounded up from 11,430,999.08)

12,425,000 1,242,500 1,143,100 (error - last zero vanishes)
12,000,000 12,000,000 11,040,000
124,250,000 12,425,000 11,431,000 (punching an extra zero)

If max amount is entered, exactly, the las digit is eaten up by the code.

If one use slider this bug is not affecting the amount.

Know it is a minor thing, but still.

Have cleared cache and all that.

Tested on Windows and Linux using Firefox, Vivaldi and Chrome.

Просмотры
2k
Комментарии
5
Комментарии
24 авг. 2018, 14:5624.08.18
24 авг. 2018, 14:57(отредактировано)
25.01.17
491

Dear UVUCA,

Thank you for informing us about this situation. This request has been forwarded to our technicians. Have a good day!

27 авг. 2018, 12:4827.08.18
25.01.17
491

Hello UVUCA! We want to help, but to avoid misunderstanding if it's possible please attach video illustrating the issue. Thank you in advance and waiting for your answer.

29 авг. 2018, 04:5429.08.18
14.06.17
90

Here are some GIF's from a recording illustrating the issue.

The big white numbers are keys being physically entered. Displayed by a keyboard software tool.


  1. Entering 1 unit less then max, all OK (12.4M selected):




  2. Entering Max amount Look at "Total Selected" / "To be sent" at bottom.

    It ends at 1.2M not 12.4 even though 12.4 is punched in.




  3. Entering 1 unit more then max, all OK (12.4M selected):




  4. Punching an extra zero at end.

    This "fixes" the issue, and correct amount is selected.



Hope this helps.


29 авг. 2018, 07:5129.08.18
25.01.17
491

Dear UVUCA,


Thank you very much for providing us with this information. This request has been forwarded to our technicians for further investigation. We will contact you if we need any additional information. 

Thank you for your understanding and patience. Have a good day!

29 авг. 2018, 22:0129.08.18
14.06.17
90

No worries. It is a minor nuisance. But – as you hopefully have focus on DRY/WET code etc, some of the thought is that it could affect other parts of the code as well.

Have a great day.