Re: A couple of things with Security Component
Same problem here, almost lost faith till i found this. Here is another link describing the problem: http://www.nabble.com/Multiple-Select-Issues-td20616571.html Any ideas about a fix... On Nov 22, 1:55 am, etipaced <[EMAIL PROTECTED]> wrote: > Thanks for the insight, Nate. I'm having the same issue and just > downloaded the build from 2008-11-21 but it didn't resolve it for me. > FYI. > > On Oct 31, 12:12 pm, Nate <[EMAIL PROTECTED]> wrote: > > > There were a couple of bug fixes related to this issue that got > > committed just recently. If you'renotrunning on the latest SVN > > branch code, try updating to that and see if the problem persists. > > > On Oct 31, 3:54 pm, Stinkbug <[EMAIL PROTECTED]> wrote: > > > > I'm having a bit of a problem with theSecurityComponenton one of my > > > actions. It works on most, but this one action is quiet complex. I'm > > >noteven sure what the problem could possible be. So rather than > > > asking what the problem is with my action, I would rather ask if there > > > is any information that explains how thesecuritycomponentworks (not > > > how to implement it), so that I might be able to pin point the problem > > > with my code. Basically, my request get's black holed when I select a > > > checkbox. I'm using > > > > select('Category.Category', $categories, > > > $selectedCategories, array('multiple' => 'checkbox'));?> > > > > Everything works fine if I don't select a category. But if I select a > > > category, the request get's blackholed. So if I can learn how the > > >securitycomponentactually works, maybe I can figure out my problem. > > > How does thesecuritycomponentcreate it's token? Hidden field > > > values? And at what point does it do this? afterRender perhaps, > > > because how can it know what hidden fields there are if we're setting > > > those values in our controller action? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: A couple of things with Security Component
Thanks for the insight, Nate. I'm having the same issue and just downloaded the build from 2008-11-21 but it didn't resolve it for me. FYI. On Oct 31, 12:12 pm, Nate <[EMAIL PROTECTED]> wrote: > There were a couple of bug fixes related to this issue that got > committed just recently. If you'renotrunning on the latest SVN > branch code, try updating to that and see if the problem persists. > > On Oct 31, 3:54 pm, Stinkbug <[EMAIL PROTECTED]> wrote: > > > I'm having a bit of a problem with theSecurityComponenton one of my > > actions. It works on most, but this one action is quiet complex. I'm > >noteven sure what the problem could possible be. So rather than > > asking what the problem is with my action, I would rather ask if there > > is any information that explains how thesecuritycomponentworks (not > > how to implement it), so that I might be able to pin point the problem > > with my code. Basically, my request get's black holed when I select a > > checkbox. I'm using > > > select('Category.Category', $categories, > > $selectedCategories, array('multiple' => 'checkbox'));?> > > > Everything works fine if I don't select a category. But if I select a > > category, the request get's blackholed. So if I can learn how the > >securitycomponentactually works, maybe I can figure out my problem. > > How does thesecuritycomponentcreate it's token? Hidden field > > values? And at what point does it do this? afterRender perhaps, > > because how can it know what hidden fields there are if we're setting > > those values in our controller action? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: A couple of things with Security Component
There were a couple of bug fixes related to this issue that got committed just recently. If you're not running on the latest SVN branch code, try updating to that and see if the problem persists. On Oct 31, 3:54 pm, Stinkbug <[EMAIL PROTECTED]> wrote: > I'm having a bit of a problem with the Security Component on one of my > actions. It works on most, but this one action is quiet complex. I'm > not even sure what the problem could possible be. So rather than > asking what the problem is with my action, I would rather ask if there > is any information that explains how the security component works (not > how to implement it), so that I might be able to pin point the problem > with my code. Basically, my request get's black holed when I select a > checkbox. I'm using > > select('Category.Category', $categories, > $selectedCategories, array('multiple' => 'checkbox'));?> > > Everything works fine if I don't select a category. But if I select a > category, the request get's blackholed. So if I can learn how the > security component actually works, maybe I can figure out my problem. > How does the security component create it's token? Hidden field > values? And at what point does it do this? afterRender perhaps, > because how can it know what hidden fields there are if we're setting > those values in our controller action? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
A couple of things with Security Component
I'm having a bit of a problem with the Security Component on one of my actions. It works on most, but this one action is quiet complex. I'm not even sure what the problem could possible be. So rather than asking what the problem is with my action, I would rather ask if there is any information that explains how the security component works (not how to implement it), so that I might be able to pin point the problem with my code. Basically, my request get's black holed when I select a checkbox. I'm using select('Category.Category', $categories, $selectedCategories, array('multiple' => 'checkbox'));?> Everything works fine if I don't select a category. But if I select a category, the request get's blackholed. So if I can learn how the security component actually works, maybe I can figure out my problem. How does the security component create it's token? Hidden field values? And at what point does it do this? afterRender perhaps, because how can it know what hidden fields there are if we're setting those values in our controller action? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---