plone/plone.app.multilingual — pull request #129 by huubbouma (2014-04-15 12:44:47+00:00)
Title: prefix matching for language independent fields from plone.autoform

Hi PAM team,

I noticed an issue with my dexterity content type.
The prefix in the field name is not always as generic as you might think. This is the piece of code from
plone.autoform which generated the prefix:

```python
prefix = self.getPrefix(schema)
if prefix and prefix in prefixes:
prefix = schema.__identifier__
```

the difference is that sometimes the complete dotted name of an interface will be the prefix. Another time just the name of the schema.

Unfortunately the current unit tests don't have a custom content type / schema setup so adding a test would be way too much consuming for me.

I'm using the 1.x branch, but I'm quite positive this is also an issue on the master branch

Kinds regards,

Huub