That's it admin generator is doing POST with GET variables when editing the 
form.

But admin generator is appending all the unnecessary object properties into 
each route that admin generator uses. That's the problem. And I am finding a 
solution how to avoid this behaviour.



Dňa Pi 21. November 2008 17:16 Thomas Rabaix napísal:
> Well I can be wrong but you are doing a POST with GET variables
>
> /admin_dev.php/stPageAdmin/33*?type=page&**
> website_id=4&slug=program-**2008&title=Pre...*
>
> You should check this.
>
> On Fri, Nov 21, 2008 at 5:06 PM, adrive <[EMAIL PROTECTED]> wrote:
> > I think, you didn't understood me. I have problems with the default
> > configuration in admin generator 1.2.
> >
> > The form uses POST, if not, I couldn't be able to post a file through
> > this form.
> > <form method="post"
> >
> > action="/admin_dev.php/stPageAdmin/33?type=page&amp;website_id=4&amp;slug
> >=program-2008&amp;title=Pre... this action is a very very long string.
> >
> > Try to do it yourself:
> >
> > create model
> >
> > Test:
> >  columns:
> >    title: string(200)
> >    content: clob (text)
> >
> > then generate your admin over this field, than fill into the content
> > large string (10k and more) and save it. Everything works good. Now try
> > to edit something, for example title and save it again. Now you fails.
> > The form uses
> > POST method but also serializes the object into action url.
> >
> > Dňa Pi 21. November 2008 14:56 Thomas Rabaix napísal:
> > > Use POST and not GET.
> > >
> > > On Fri, Nov 21, 2008 at 2:29 PM, adrive <[EMAIL PROTECTED]> wrote:
> > > > Hello. I am using the new admin generator with Doctrine.
> > > >
> > > > I do not like the behaviour of serializing the full object into the
> >
> > URL.
> >
> > > > One of the reason is that I have some objects with large CLOB (TEXT)
> > > > values,
> > > > which can produce too large url's. I have problem with sending the
> >
> > form,
> >
> > > > as the form action url contains serialized data and the URL is at
> > > > least 10kb large.
> > > >
> > > > I get HTTP error 414 Request-URI Too Large
> > > > The requested URL's length exceeds the capacity limit for this
> > > > server.
> > > >
> > > > What should I do with this? How can I avoid the serialization of
> > > > unnecessary
> > > > fields into URL?
> > > >
> > > > I tried to set the option with_wildcard_routes: false but it does
> >
> > nothing
> >
> > > > (or
> > > > I do not notice anything)
> > > >
> > > > Thanks for any response.
> > > >
> > > > --
> > > > adrive
> >
> > --
> > adrive

-- 
adrive

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to