Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-3714

Taxonomy entries are not version-aware but rather content-aware

    XMLWordPrintable

Details

    Description

      Steps to reproduce:

      1. Create two new Tags under the Root tree: Car and Plane.
      2. Add taxonomy assignment fieldtype to Article Content Type.
      3. Create two Articles and add both newly created Tags to both of them.
      4. Edit first Article and remove Car tag.
      5. Visit "Tags" module and Car tag.

      Result:
      One can observe that the Car Tag is visible in two Articles.

      Expected result:
      The Car Tag should be visible in a single Article.

      Note:
      The same occurs for TaxonomyEntryId Criterion:

              $criteria[] = new TaxonomyEntryId([51]); //51 = ID of Car Tag
              $criteria[] = new Repository\Values\Content\Query\Criterion\ContentTypeIdentifier('article');
       
              $query = new Repository\Values\Content\LocationQuery(
                  [
                      'filter' => new Repository\Values\Content\Query\Criterion\LogicalAnd(
                          $criteria
                      )
                  ]
              );
       
              $results = $this->searchService->findLocations($query);
      

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              bartlomiej.wajda@ibexa.co Bartłomiej Wajda
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: