Consider class B deriving from class A. There is an entity C referencing class B as a component. Envers includes the properties of class B, but ignores the properties of class A. In normal queries, NHibernate does not ignore the properties of class A. I attached a unit test for demonstration (using an SQLite database).
However, there is a workaround for this: Make class A's properties virtual and override them in class B. But it would be nice, if Envers includes them without this ugly workaround.
Thanks for your input.
Any particular reason your test case depends on SqliLite?
Thanks for you report. Fixed.
I removed the dependency to SqlLite (also, I "tabified" your test classes - see here; https://bitbucket.org/RogerKratz/nhibernate.envers/src/f18b2ee0ab92bf13813c3c9beccb74d2670e8401/HOW_TO_CONTRIBUTE.txt?at=default)
I ran the tests using SQLite and left the reference in there, because the project file was modified as well. Sorry for that. Next time, I will clean up the modifications and try a pull request.
Thanks for the quick fix.