How to make available a feature implementation

View: New views
2 Messages — Rating Filter:   Alert me  

How to make available a feature implementation

by Hugo Braga :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


In my project I needed to get the last violation constraint name
generated by database in order to show custom error messages in view
files. I search for this feature in CakePHP but I didn't find.
Actually, database files have a function called lastError but the
problem with it is sometimes the function returns null and sometimes
the message returned isn't the message with the violation constraint
information.
        I implement the feature mentioned above (I wrote a new function
called getLastViolationConstraint and altered other function) and
created a patch. Since we have a postgres database I just implemented
this feature for this database. Do CakePHP developers intend to
implement this feature or something similar ? If not, how could I make
this feature available ?

Thanks,

Hugo Braga.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@...
To unsubscribe from this group, send email to cake-php+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: How to make available a feature implementation

by Hugo Braga :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I made a mistake. After first review we implemented a generic feature
(it's no more specific to postgres database).
Thanks,

Hugo Braga
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@...
To unsubscribe from this group, send email to cake-php+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---