I am facing an issue about 'id' field in the regular * localhost/project/comments/edit/5* structure.
Let's say I have 5 fields for comment, all are validated as 'non empty' through model. While editing one comment I put one field blank. On submitting the form, naturally it gives me error (coming from model) saying 'nonempty'. Without entering anything in that field, I hit submit again, now I face the issue. What happens this time is that 'id' field from the url is now gone, ( *localhost/project/comments/edit/*) and there is a new entry in database. (ideally it should update though). What might be the error? Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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 cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en