Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-8530

eZkeyword attribute can have same keyword several time.

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • None
    • None
    • Misc
    • 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.

      Attachments

        Activity

          People

            sa sa
            gv gv
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: