{"id":377,"date":"2010-02-26T10:45:14","date_gmt":"2010-02-26T05:15:14","guid":{"rendered":"http:\/\/www.tothenew.com\/blog\/?p=377"},"modified":"2015-07-24T17:09:38","modified_gmt":"2015-07-24T11:39:38","slug":"migrating-from-grails-1-1-1-to-grails-1-2-1","status":"publish","type":"post","link":"https:\/\/www.tothenew.com\/blog\/migrating-from-grails-1-1-1-to-grails-1-2-1\/","title":{"rendered":"Migrating from grails 1.1.1 to grails 1.2.1"},"content":{"rendered":"<p>Recently I migrated my project which is in development from <a title=\"Grails Version Upgrade Services\" href=\"http:\/\/www.tothenew.com\/grails-application-development\">grails version 1.1.1 to grails 1.2.1<\/a> using grails upgrade.. and it worked like charm, though there were some issues with a couple of plugins, just upgrading their versions took care of them. The problem came while submitting the forms.<\/p>\n<p>we had created some forms and a few hyper links the problem was the createLink was not functioning properly,<\/p>\n<div class=\"code\"><\/div>\n<p>this won&#8217;t work with &lt;g:link&gt; either but it works with &lt;a&gt; tag and &lt;form&gt; tag. but that of course is not a good thing to do when u have &lt;g:link&gt; and &lt;g:form&gt; available. The solution was simple<\/p>\n<blockquote>\n<div class=\"code\">\n<pre lang=\"html\">&lt;g:formname=\"myForm\" url=\"[controller:'controller',action:'action']\" method=\"post\"&gt;<\/pre>\n<\/div>\n<\/blockquote>\n<p>so avoid using createLink if you have other options, migrating may just become a bit of a niggle if you are using createLink in g:forms and g:links.<\/p>\n<p>I think the problem can be reproduced in g:remoteField and other similar tags.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently I migrated my project which is in development from grails version 1.1.1 to grails 1.2.1 using grails upgrade.. and it worked like charm, though there were some issues with a couple of plugins, just upgrading their versions took care of them. The problem came while submitting the forms. we had created some forms and [&hellip;]<\/p>\n","protected":false},"author":14,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":1},"categories":[7],"tags":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/377"}],"collection":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/comments?post=377"}],"version-history":[{"count":0,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/377\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/media?parent=377"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/categories?post=377"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/tags?post=377"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}