Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
aggregator.module
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
4 Dec 2008 at 04:03 UTC
Updated:
18 Dec 2008 at 11:12 UTC
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
| Comment | File | Size | Author |
|---|---|---|---|
| aggregator.test.patch | 1.21 KB | josh waihi |
Comments
Comment #1
dries commentedCommitted to CVS HEAD. Thanks.