When updating transactions in the store, if the username is numeric, the module thinks it is a uid and inserts improper values into the database. I have attached a diff that works for me, but I am not certain if I have broken anything else in the process.
Thank you,
Joshua Rubin
| Comment | File | Size | Author |
|---|---|---|---|
| store.diff_0.txt | 1.89 KB | rubinj |
Comments
Comment #1
simeProblem verified.
Comment #2
simeactually I think this is critical, because you could add transactions against the wrong customer.
Comment #3
brmassa commentedGuys,
i confirm the problem too.
besides the patch (i didnt tested the patch), i believe all "uid" references should be changed to "username". Probably thats why the programmer used a is_numeric.
massa
Comment #4
brmassa commentedGuys,
anyone can see if the bug is still there? specially for eC4
regards,
massa
Comment #5
brmassa commentedGuys,
its fixed on eC4
regards,
massa
Comment #6
(not verified) commented