collective / dexterity.membrane

enables dexterity content items to be used as users and groups in Plone sites
3 stars 14 forks source link

rename profiles? #7

Closed hvelarde closed 11 years ago

hvelarde commented 11 years ago

just to keep consistency I think it should be a good idea to rename the profiles: behavior should be default and default should be something like... example?

whatever the name be, it should start with a letter > d because of the known limitations of Generic Setup on installation profiles.

saily commented 11 years ago

agreed, +1

mauritsvanrees commented 11 years ago

Agreed and done. I called them default and example.

Note that the dexterity.membrane only has one profile: default (the old behavior profile). The example profile (previous default) is linked to dexterity.membrane.content because it is define in content/configure.zcml and this does a registerPackage.

Note that if you have installed the example content profile, you will get a warning in the Add-ons panel that Plone does not know how to update this. I recommend that you deactivate it and activate it again. This is because Plone has remembered that this profile is called 'content' and there are no upgrade steps defined for a profile by that name. Also, defining an upgrade step for that content profile has no effect. Neither does defining it for its new 'example' name.