Default handlers
----------------

Verify the default handlers provided for Archetypes fields::

    >>> handlersDict = self.portal.portal_csvreplicatatool.getHandlers()
    >>> handlers = handlersDict.keys();handlers.sort()
    >>> pprint(handlers)
    ['Products.ATBackRef.BackReferenceField',
     'Products.Archetypes.Field.BooleanField',
     'Products.Archetypes.Field.DateTimeField',
     'Products.Archetypes.Field.FileField',
     'Products.Archetypes.Field.FloatField',
     'Products.Archetypes.Field.ImageField',
     'Products.Archetypes.Field.IntegerField',
     'Products.Archetypes.Field.LinesField',
     'Products.Archetypes.Field.ReferenceField',
     'Products.Archetypes.Field.StringField',
     'Products.Archetypes.Field.TextField',
     'Products.AttachmentField.AttachmentField.AttachmentField',
     'default_handler',
     'plone.app.blob.subtypes.file.ExtensionBlobField']
    >>> pprint([(h, handlersDict[h]['handler_class']) for h in handlers], width=130)
    [('Products.ATBackRef.BackReferenceField', <Products.csvreplicata.handlers.reference.CSVReference object at ...>),
     ('Products.Archetypes.Field.BooleanField', <Products.csvreplicata.handlers.base.CSVBoolean object at ...>),
     ('Products.Archetypes.Field.DateTimeField', <Products.csvreplicata.handlers.base.CSVDateTime object at ...>),
     ('Products.Archetypes.Field.FileField', <Products.csvreplicata.handlers.file.CSVFile object at ...>),
     ('Products.Archetypes.Field.FloatField', <Products.csvreplicata.handlers.base.CSVFloat object at ...>),
     ('Products.Archetypes.Field.ImageField', <Products.csvreplicata.handlers.file.CSVFile object at ...>),
     ('Products.Archetypes.Field.IntegerField', <Products.csvreplicata.handlers.base.CSVInteger object at ...>),
     ('Products.Archetypes.Field.LinesField', <Products.csvreplicata.handlers.base.CSVLines object at ...>),
     ('Products.Archetypes.Field.ReferenceField', <Products.csvreplicata.handlers.reference.CSVReference object at ...>),
     ('Products.Archetypes.Field.StringField', <Products.csvreplicata.handlers.base.CSVString object at ...>),
     ('Products.Archetypes.Field.TextField', <Products.csvreplicata.handlers.base.CSVText object at ...>),
     ('Products.AttachmentField.AttachmentField.AttachmentField', <Products.csvreplicata.handlers.file.CSVFile object at ...>),
     ('default_handler', <Products.csvreplicata.handlers.base.CSVdefault object at ...>),
     ('plone.app.blob.subtypes.file.ExtensionBlobField', <Products.csvreplicata.handlers.file.CSVFile object at ...>)]


What happened with csvreplicata during import/export if MyField is not in tool's
handlers. replicator.py apllies default_handler on it::

    {'default_handler':
     {'handler_class': base.CSVdefault(),'file': False}}



