drafts URL rewrite
Tue, 07/07/2009 - 06:43
The form drafts have this under the edit option
http://domina.com/qcubed/drafts/artist_edit.php/19001
which fails, not found.
changing it to
http://domina.com/qcubed/drafts/artist_edit.php?19001
works.
Is this a bug or a misconfiguration?
Brett
ps. I had started work on my own form generator as I couldn't find anything decent. I've stopped working on it now, these forms are very useful.

Brett-
Generating URL's that append the ID with a slash is simply the default. The Meta Controls have the ability to use the more standard question mark, but you have to enable that by hand.
We're working on a better way to control this at codegen time. I've dealt with this personally and fully understand ... how annoying :-) this can be.
Thaks Mike.
Brett
Mike, would you please care to share the solution... :) I'm facing the same issue here, and it's pretty annoying having everything running on your dev machine and not so on the shared hosting where it should be running... I hope I won't have to rewrite tons of autogenerated code, although I see no other solution at the moment.
upd: I got it, it's done with:
xxxMetaControl::CreateFromQueryString($this);
and the object is accessed by xxx_edit?intId=yy
what will be the fastest way to make the autogenerated drafts working in this case... besides changing everything on hand, because there are too many possibilities for errors (ex., I have buttons redirecting to /Id), as some of the autogenerated stuff is modified to suit my client's needs...