Changes between Initial Version and Version 1 of Troubleshooting

Feb 21, 2011, 11:04:09 AM (9 years ago)



  • Troubleshooting

    v1 v1  
     1= Trouble Shooting =
     3== Plugins will not get installed or Webflow Artefacts not found ==
     5If many artefacts or plugins are not found, first run grails upgrade (optionally also cleanup your application). That will probably solve most of the problems:
     8 cd /path/to/gscf
     9 rm -rf ~/.grails;grails clean;grails upgrade
     11This also happens when your webflow plugin has another version than the Grails version you are running. You can change the versions in The hibernate, tomcat and webflow plugins should always have exactly the same version number as Grails itself:
     14 app.grails.version=1.3.3
     15 plugins.hibernate=1.3.3
     16 plugins.tomcat=1.3.3
     17 plugins.webflow=1.3.3
     20== "Found two representations of same collection" error ==
     22When using the Grails Webflow (or Ajaxflow) and storing domains in the flow scope you might at some point run into the following error:
     25 "HibernateException: Found two representations of same collection"
     27It might be that you modified the domain or added children to the domain and stored them earlier in the flow scope. Later on in the flow,
     28Hibernate somehow cannot synchronize the domains correctly. The issue was solved by using the following two lines of code in the step in your flow where you encoutered the HibernateException:
     31  def session = sessionFactory.getCurrentSession()
     32  session.clear()
     34== Webflow or other AJAX driven pages do not work (correctly) ==
     35You are probably using Firefox and Firebug. There is an unresolved bug in Firefox (see: causing XMLHttpRequest to not work
     36properly when Firebug is logging XMLHttpRequests. Disable the XMLHttpRequests in your firebug console:
     40== The menu dropdown doesn't work and login doesn't function ==
     42Check Firebug > Network traffic. Are the jquery Javascript files being found? If not, try reinstalling the jquery plugin.
     43Also, if you have an SVN revision < 1330 and you are using jquery 1.4.4 (January 2011) you might encounter this, see