Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: Dries commentedCommitted to CVS HEAD. Thanks.