when enabling the module, if the fields already exist, an error is thrown. Such an occurance would happen if the module is enabled, disabled, then enabled again.

CommentFileSizeAuthor
advpoll-field_already_exists.patch840 bytespookmish

Comments

pookmish created an issue. See original summary.

tripper54’s picture

Version: 7.x-3.0-alpha1 » 7.x-3.x-dev
Status: Active » Fixed

Great, thanks for the patch. Committed.

Note I had trouble reproducing the bug. The module's uninstall routine should remove the fields, so re-installing should not show any errors. I'm guessing this might not be the case if you have added the advpoll fields to another node type before uninstalling.

Regardless, guarding against pre-existing fields when installing is a good idea.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.