Details
-
Bug
-
Resolution: Fixed
-
Medium
-
None
-
None
-
None
-
Version: 3.8
PHP Version: 4.4.2
Webserver: apache
Database: mysql
Description
Hi!
I was wondering with eZkeyword datatype and found that in one object it is possible to add same keyword several time.
Which is not a proper behaviour of the datatype in my openion.
How to reproduce
- Create a new class from admin interface -> setup.....
and add attribute for "keyword" datatype.
- Create object of the above class and type for e.g. "cat,cat,cat,key,key,key" in the field of keyword datatype.
- Store the object.
- Object is stored, without showing any error.
Here either it should show error or should not store same keyword several times in ezkeyword table,
If you will try to edit the same object again and will try to add same keyword "cat,cat,key,key" several time then it will not store, which is conflict.