How to make available a feature implementation

2 messages Options
Embed this post
Permalink
Hugo Braga

How to make available a feature implementation

Reply Threaded More More options
Print post
Permalink

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 [hidden email]
To unsubscribe from this group, send email to [hidden email]
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Hugo Braga

Re: How to make available a feature implementation

Reply Threaded More More options
Print post
Permalink

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 [hidden email]
To unsubscribe from this group, send email to [hidden email]
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---