Unknown feature upgrade action name ‘#comment’

Posted on

Weirdest error ever.

I use the feature upgrade toolkit from Chris OBrien on a daily basis and today I got this exception when upgrading a feature. And I have not feature with the name #comment. Lol

The thing is apparently you can not put xml comments on template.xml fields!!

<!–<CustomUpgradeAction Name=”MyMethod” />–>

 

This wont work, just remove it from the template.xml file.

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s