the function openImportForm() inserts a category into aggregator_category with a hard coded cid of 1. This fails in postgres with the following error:

INSERT INTO simpletest732569aggregator_category (cid, title, description) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2) - Array ( ) SQLSTATE[55000]: Object not in prerequisite state: 7 ERROR: currval of sequence "simpletest732569aggregator_category_cid_seq" is not yet defined in this session

in short, this is because the cid is being explicitly chosen rather than letting the sequence choose.

after applying patch:
Import feeds from OPML functionality: 55 passes, 0 fails, and 0 exceptions

CommentFileSizeAuthor
aggregator.test.patch1.21 KBJosh Waihi
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Dries’s picture

Status: Needs review » Fixed

Committed to CVS HEAD. Thanks.

Status: Fixed » Closed (fixed)

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