Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-2355

Unexpected behavior with local index provider and mixin properties

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 4.1.0.Final
    • 4.0.0.Final
    • Query
    • None

    Description

      Using the new index feature of modeshape 4 we have detected some queries that do not behave like expected. Without the configured indices the queries work.

      The following node types are defined:

      [my:authored] mixin
      - author (STRING) COPY
      - coAuthors (STRING) multiple COPY
       
      [my:content] > my:authored
      - content (STRING) mandatory COPY
      

      With the following query we'd like to retrieve all contents that are either authored or co-authored by the same person(s):

      select * from [my:content] where author in ($author) or coAuthors in ($author)
      

      But instead of the correct results we always get duplicates of the same node entries.

      Attachments

        Activity

          People

            hchiorean Horia Chiorean (Inactive)
            javagirlie Susanne Königstorfer (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: