I am having trouble with entity_load returning an empty array on an entity api custom entity which previously was fine. The only change I've made is to add revision support which apart from creating the revision table etc. has also created a revision ID column in my custom entity table and filled this with
NULL by default.
In troubleshooting why this is and trying to pin down if the revision is causing my problem, I've come across something which seems peculiar to me: creating an Article and unchecking
"create new revision" still creates a revision.
My custom entity revision table is currently completely empty and I've been debugging and stepping through the code within
entity_load but I cannot see where the problem is.
Where is my problem with the entity_load? Is the new revision being created despite unchecking the option a localised problem?