On 2015-12-12 01:23, Diego Abad wrote:
> About this topic...
>
> BIG_IMAGE_SIZE value is set to Math.pow(10, 6) -> 1MB
>
> however apparently the error is that the comparison
> if (value > Sao.common.BIG_IMAGE_SIZE) is true
> although my image size is 482kB.
Did you get this by using a debugger?
What was the value of 'value'?
> I test changing BIG_IMAGE_SIZE to Math.pow(10, 7) and works.
> But I when I return BIG_IMAGE_SIZE to original value Math.pow(10, 6) now
> also works...
This is very strange. Unreproducible bugs are most of the time
impossible to fix.
PS: Please don't top-post on this mailing list, see
http://groups.tryton.org/netiquette