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

Key: GRAILS-626
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Critical Critical
Assignee: Marc Palmer
Reporter: Marc Palmer
Votes: 0
Watchers: 0
Operations

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

ExpandoMetaClass inheritance support still broken in some cases

Created: 19/Jan/07 07:55 AM   Updated: 24/Jan/07 09:39 AM
Component/s: None
Affects Version/s: 0.4
Fix Version/s: 0.4

Time Tracking:
Not Specified

File Attachments: 1. File CodecsGrailsPlugin.groovy (2 kb)
2. File CodecsGrailsPluginTests.groovy (2 kb)



 Description  « Hide

Trying to change CodecsGrailsPlugin to augment Object rather than String, codec unit tests start to fail - showing that the methods are not available to derived Java classes.

Attached is a modified version of the unit test, that tests Object, Integer and String. Only Object passes with the supplied copy of the codec plugin, which adds methods to Object not String.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Graeme Rocher - 24/Jan/07 09:39 AM
wrote test and committed change and it works