[BUGFIX] Mapping to subtype with [__type] fails
The type of a target object can be manipulated by setting __type in the
form (or during action initialization when saving the form). This
however fails if the target subclass contains fields that the original
class does not have, because the property mapping is done before the
final class is extracted from the __type request variable.
To get this working, the process of getting the final class name is
moved before the property mapping.
If you wrote your own type converters, you might need to implement the
new getTargetTypeForSource() method if you do not extend the provided
AbstractTypeConverter of Flow.
Releases: master, 2.0, 1.1