Uploaded image for project: 'Hibernate Search'
  1. Hibernate Search
  2. HSEARCH-2739

Some error message use the indexed type and field path inconsistently

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.8.0.Beta3
    • Component/s: mapping
    • Labels:
      None

      Description

      For instance, if in entity A I add an @SortableField annotation pointing to a unknown field, and if I embed this entity A in entity B, then I will get an error message along the lines of "@SortableField on property A#propertyOfA refers to unknown field propertyOfB.unknownField".
      Here, "propertyOfB" should not appear at all: we're in the context of A.

      We should have a look at existing messages and try to remove any existing inconsistencies.

        Attachments

          Activity

            People

            • Assignee:
              yrodiere Yoann Rodière
              Reporter:
              yrodiere Yoann Rodière
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: