Posted by jaydub on May 3, 2008 at 5:54pm
| Project: | Voting API |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (won't fix) |
Issue Summary
Was testing out generating votes for testing with the
votingapi generate module.
In votingapi_generate_votes_form_submit() there is a
problem with the code that attempts to reset the sequences
table. Only MySQL uses the sequences table in Drupal as
PostgreSQL allows for creating a SEQUENCE type.
Attached patch adds a db_type switch to call the proper
sequence reset function.
| Attachment | Size |
|---|---|
| votingapi_generate.module.patch | 1.06 KB |
Comments
#1
oops botched the patch. use this one instead
#2
Support for the 5.x branch of VotingAPI has ended with the release of Drupal 7 and the upcoming release of VotingAPI 7.x-2.4.