not a big deal, it is not so hard to fix if you know what is going on, but Features should perform some validation when you create a new Feature to prevent names starting with a number. Either that, or strip numbers from the start of machine names before saving.

I created a Feature named 403 Page, and of course all the hook functions created for the export start with the number 4, which php hates, so i ended up with WSOD as soon as i enabled the Feature.

re-exporting the feature as error_403 fixed everything, and luckily it only took me a few minutes to realize what i'd done because the php error came through in Drush, but others might not be so lucky, and be stuck on a WSOD page for a while!

CommentFileSizeAuthor
#2 1204652_features_module_name.patch953 byteshefox
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

hefox’s picture

This should be easy to add; first letter needs to be alpha

hefox’s picture

Status: Active » Needs review
FileSize
953 bytes

After talking with @Albright and some others in IRC, this looks to be the acceptable pattern

eMBer’s picture

I couldn't get this patch to apply for some reason, but when i made the manual changes it worked nicely.

DamienMcKenna’s picture

Bumping for testbot.

DamienMcKenna’s picture

Status: Needs review » Reviewed & tested by the community

RTBC, forgot that testbot doesn't work on D6.

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 1204652_features_module_name.patch, failed testing.