Thanks for your suggestion!
It turns out I was using the clean function of CakePHP's Sanitize
class. It was doing something to my dashes :)
One I moved that function AFTER my validation, everything worked
great!
KS
On Mar 8, 5:00 am, Graham Weldon wrote:
> Hey,
>
> Try escap
Hi there,
This might not be a cakePHP issue, but here goes...
I use CakePHP + WAMP on Windows.
My problem is that whenever there is a dash in a pattern and an input
string has a dash, no match occurs.
As a result, validation fails (like the built in e-mail and phone
number validations).
I have
In session.php in functions __checkValid
There is a check with the Config.time.
if ($this->_userAgent == $this->read("Config.userAgent") && $this-
>time <= $this->read("Config.time")) {
We have run into issues where sometimes users get logged out and found
the session id string empty but als
the __( ...) method seems to call the debug_backtrace() method to get
the directory by getting the stacktrace
Looking at the data returned and the call, it looks expensive to do
this for every string I call to translate.
Is there a way to do it differently or override this?
Thanks,
Krishnan
-
Mariano,
Am I missing something simple? Can you let me know an example were you
were able to use with redirect? Should I do something different in my
application.
I am keen to use your new framework for our unit tests but right now I
am blocked on this.
Thanks
Krishnan
On May 1, 8:26 am, ks
is useful for the web application)
but the test framework exits when that happens.
What is the best way to handle this? In TestSuite, I think the
dispatch maybe handled differently since I was able to test the same
action with a post.
Thanks
Krishnan
On Apr 25, 2:04 am, ks <[EMAIL PROTEC
I am dont know if this is the best way to accomplish this but you can
use the requestAction and renderElements to accomplish this.
Create a view - say cpanel/home
This will include elements - userelement, categoryelement,
itemselement
e.g.
renderElement('userelement'); ?>
Create each element i
you set
> 'fixturize' to an array of models, then only those models will be
> auto-fixturized while the other will remain with live tables.
>
> - data: see last item
>
> - method: see last item
>
> * testAction()can auto-fixturize the model so if you
rt coders answer ten questions for every question they ask.
> So be smart, be cool, and share your knowledge.
>
> BAKE ON!
>
> blog:http://www.MarianoIglesias.com.ar
>
> -Mensaje original-
> De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
> de ks
&g
Both use SimpleTest. In the case of test suite, you have add that in
your vendors folder as well.
>From what I was able to do:
TestSuite allows you to test your controllers using get/post as well
which is useful. I did not find that in the CakeTest
TestSuite integrates with bake2 and can run fr
We are building a site that needs to support multiple languages -
content ( titles of topics etc), user names and DB strings etc. will
be in multiple languages - including chinese.
>From the information I found on the site, the 1.1 version will not
support this right? Will the alpha version (1.2
11 matches
Mail list logo