Move PropertyType and RelationJsonType from SolrBundle to ContentBundle, add unit tests and improve code

Description

  • The PropertyType and RelationJsonType add a dependency to the ContentBundle, but this one isn't added to the composer.json and also this dependency shouldn't be added.

  • All other Solr types have unit tests, these ones should also have it.

  • Create PropertyAccessor only once (as in FieldMapperType)

Technical tasks

None

Deployment actions

None

Status

Assignee

Unassigned

Client

Marijn Otte

Sprint

None

Fix versions

Configure