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.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | wf-drop-tec-dependency-2012040-2.patch | 9.2 KB | dfranca |
| #1 | wf-drop-tec-dependency-2012040-1.patch | 9.98 KB | dfranca |
Comments
Comment #1
dfranca commentedThe 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.
Comment #2
dfranca commentedFixed patch to apply at the correct path.
Comment #3
skwashd commentedThanks for the patch, it has been applied in commit 5c8e531.