mollom module

Update #7007
Failed: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'm.did' in 'field list': SELECT n.type AS type, m.did AS did FROM {mollom} m INNER JOIN {comment} c ON c.cid = m.did INNER JOIN {node} n ON n.nid = c.nid WHERE (m.entity = :db_condition_placeholder_0) AND (m.form_id = :db_condition_placeholder_1) ; Array ( [:db_condition_placeholder_0] => comment [:db_condition_placeholder_1] => comment_form ) in mollom_update_7007() (line 725 of /home/int/sites/upgraded7.infonoticias.eu/sites/all/modules/mollom/mollom.install).

Comments

sun’s picture

Status: Active » Needs review
StatusFileSize
new1.38 KB

Thanks for reporting! Attached patch should resolve the problem.

geerlingguy’s picture

Status: Needs review » Reviewed & tested by the community

Fixed the upgrade to D7 for me... now getting an error on #7008 :-/

Update #7008
Failed: DatabaseSchemaObjectExistsException: Cannot add index <em class="placeholder">session_id</em> to table <em class="placeholder">mollom</em>: index already exists. in DatabaseSchema_mysql->addIndex() (line 433 of ~/public_html/includes/database/mysql/schema.inc).

sun’s picture

Status: Reviewed & tested by the community » Needs review
StatusFileSize
new2.53 KB

Thanks for testing! Attached patch should fix that remaining failure. :)

Overall, sorry, the upgrade path to D7 hasn't been tested yet, and it's especially complex, because most of the new features in D7 have been backported to D6 already, so the module updates need to cater for both D7->D7 as well as D6->D7 update paths. :-/

However, I'm relatively sure that we should be done now with the attached patch.

geerlingguy’s picture

Status: Needs review » Reviewed & tested by the community

Perfect - all updates applied perfectly.

sun’s picture

Status: Reviewed & tested by the community » Fixed

Thanks for reporting, reviewing, and testing! Committed to HEAD.

A new development snapshot will be available within the next 12 hours. This improvement will be available in the next official release.

Status: Fixed » Closed (fixed)

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

  • Commit 88884dd on master, fai6, 8.x-2.x, fbajs, actions by sun:
    #986646 by sun: Fixed upgrade path from D6.
    
    

  • Commit 88884dd on master, fai6, 8.x-2.x, fbajs, actions by sun:
    #986646 by sun: Fixed upgrade path from D6.