Issue Details (XML | Word | Printable)

Key: GDS-740
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Franck Wolff
Reporter: Marek Jelenek
Votes: 0
Watchers: 1
Operations

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

Custom instantiators are not used

Created: 10/Aug/10 01:26 PM   Updated: 10/Aug/10 02:24 PM   Resolved: 10/Aug/10 02:24 PM
Component/s: AMF3 (de)serialization
Affects Version/s: 2.1.0_GA
Fix Version/s: 2.2.0_RC1


 Description  « Hide
Attribute "private final Map<String, String> instantiators" in class org.granite.config.GraniteConfig is actually not used.

Line #624 in class org.granite.config.GraniteConfig (in method loadCustomInstantiators) should be
  this.instantiators.put(instantiator.get("@type"), instantiator.get("."));

instead of being
  instantiators.put(instantiator.get("@type"), instantiator.get("."));

Franck Wolff added a comment - 10/Aug/10 02:24 PM
Fixed in the trunk. Thanks!