xforty / xforty-drupal

xforty technologies base drupal distro
Other
5 stars 3 forks source link

honeypot.install baggage with updatedb #13

Open pearcec opened 11 years ago

pearcec commented 11 years ago

Backstory: I was running 1.0.0/xforty-com.make file for a running instance of Drupal. I have not released it yet. There are several upgrades. I decided to just swap my base makefile to 2.0.0/base.make. When I synced the database from@dev to @local I needed to run updatedb. It failed with

Table <em class="placeholder">honeypot_user</em> already exists. [error]

I found there is an issue that fixes this, but it didn't make it into 7.13.

projects[honeypot][version] = 1.13
projects[honeypot][subdir] = contrib
; http://drupal.org/node/1792396
projects[honeypot][patch][] = http://drupal.org/files/honeypot-users-table-update-1792396-1.patch

Using the 2.0.0/base.make file wouldn't cause this issue with a fresh install since there is no updatedb baggage. Typically we encourage that people add updates to their distro.make file, but someone could do what I did. I believe we should work to include this subtle fixes as needed since it is harmless for new site installs. But could prevent others from running into issues in the future.