You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if webflow plugin loads before controllers plugin then all the flows are not detected.
So if controllers is the only plugin which can populate the required data for webflow plugin, then webflow plugin should 'loadAfter' entry for 'controllers' plugin.
We are using grails version 2.4.3 and webflow version 2.1.0
The text was updated successfully, but these errors were encountered:
we are facing one issue where all the flows are not registered in flowRegistry many times during server startup and it causes NoSuchFlowDefinitionException.
Upon debugging in detail, found that webflow plugin relies on the population of 'flows' property in controllerClasses to populate the flowRegistry:
https://github.com/grails-plugins/grails-webflow-plugin/blob/master/src/groovy/org/codehaus/groovy/grails/webflow/WebFlowPluginSupport.groovy#L116
Based on the debugging done, 'flows' is populated by 'controllers' grails plugin. Here:
https://github.com/jeffbrown/grails-core/blob/master/grails-plugin-controllers/src/main/groovy/org/codehaus/groovy/grails/plugins/web/ControllersGrailsPlugin.groovy#L199
if webflow plugin loads before controllers plugin then all the flows are not detected.
So if controllers is the only plugin which can populate the required data for webflow plugin, then webflow plugin should 'loadAfter' entry for 'controllers' plugin.
We are using grails version 2.4.3 and webflow version 2.1.0
The text was updated successfully, but these errors were encountered: