The Technocrat Entity Controller was a port of the Commerce Entity Controller to add revision support. Entity API now supports revisions and so the code should be updated to use the maintained contrib module.

Comments

dfranca’s picture

StatusFileSize
new9.98 KB

The TEC dependency was removed by changing the controllers to be dependent on the EntityAPIController instead of the TecController.
For being able to apply revision, there was a need to add default_revision field with value TRUE and add it to the form.

There is also some code review using CodeSniffer on the patch and some modifications over the call of controller functions.

dfranca’s picture

StatusFileSize
new9.2 KB

Fixed patch to apply at the correct path.

skwashd’s picture

Status: Needs work » Fixed

Thanks for the patch, it has been applied in commit 5c8e531.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.