History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: GRAILS-1909
Type: Bug Bug
Status: Closed Closed
Resolution: Won't Fix
Priority: Blocker Blocker
Assignee: Graeme Rocher
Reporter: Marc Palmer
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Grails

Grails upgrade silently ignores incompatible (old) plugins and results in obscure errors later

Created: 29/Nov/07 04:32 AM   Updated: 29/Nov/07 07:15 AM
Component/s: None
Affects Version/s: 1.0-RC2
Fix Version/s: 1.0-RC2

Time Tracking:
Not Specified


 Description  « Hide

If you run grails upgrade on an application that has several plugins installed, it will do so fine. However when you run-app you get obscure JDOM/XPath errors as the plugins have out of date plugin.xml data files.

All plugins have to be manually upgraded and rebuilt with RC2 and re-installed to workaround this, which is painful on non-trivial projects especially if you dont have plugin source easily to hand.

Possible remedies:

1) Make upgrade detect plugins and warn user that upgrade will require them all to be rebuilt
2) Make upgrade update the plugin.xml files (perhaps fragile)
3) Don't break the XML in this way, make it backwards compatible

I favour 3 if at all possible.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Graeme Rocher - 29/Nov/07 07:15 AM
Redudant, as of GRAILS-1910... we can raise another issue when Grails 1.1 if we have this requirement