View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002616 | OXID eShop (all versions) | 4.07. Source code, Test | public | 2011-03-15 15:55 | 2012-12-10 13:44 |
Reporter | tjungcl | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.4.7 revision 33396 | ||||
Fixed in Version | 4.5.3 revision 39087 | ||||
Summary | 0002616: oxuser: addToGroup and inGroup inconsistent | ||||
Description | The function addToGroup does not check if the given group exists, so calling addToGroup('nonsense') is successfull and a new entry is written to oxobject2group. But: If you call inGroup('nonsense') after adding, the function returns false. Either inGroup should return true whenever the object2group entry exists, even if the group does not exist, or addToGroup should fail if the group does not exist. | ||||
Tags | No tags attached. | ||||
Theme | |||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||