bigfoot90/DoctrineOrmPhpcrAdapterTest — pull request #1 by ElectricMaxxx (2014-12-17 07:19:02+00:00)
Title: fixes to get the adapter work

Hi,
except from the chaos i created with the IDE config files, i solved your problem. Basically it had two reasons:

1. Mapping was not valid:
- mapping definition in the config was not correct -> my fault in the docs, will correct it
- the refferenced document need to be referenced by the FQCN to be found

-> that leads to `MetadataException` which looks like as the referencing does not work. But before inserting/updating a reference the metadata for the reference mapping is checked. Just one Exceptiong here leads to do nothing for the reference to not disturb not mapped stuff.

2. When defining a common field the page document does need it and does need a value for it