I would submit it to trac. Submit them to make CakePHP more
generalized to support all databases the support for ENUM in the
scaffolding needs to be removed to make it more consitent with the rest
of the code that is general for all databases. That way you know to
use ENUM (::hack, cough::) you would always have to use custom code.
The issue has been submitted to trac a couple of times and PhpNut has decided that since it was a MySQL specific issue and didn't translate to other databases that the issue would be left to be solved outside of the cake core.
I orginally posted the snippet solution that was working for me, but I am sure there are bugs as some people have reported above.
The snippet is meant to be placed in /app/app_model.php, that way you don't have to put it in each individual model. Make sure to follow the example for use at the end of the snippet.
I will look at some of the issues reported above and update the snippet accordingly. I think one other person has already updated it with some improvements.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---
