Opened 7 years ago

Closed 5 years ago

#1484018 closed Bugs (fixed)

code bug in main.inc -> get_sequence_name

Reported by: profo Owned by:
Priority: 5 Milestone: 0.1-stable
Component: Client Scripts Version: 0.1-rc2
Severity: normal Keywords:
Cc:

Description

In function get_sequence_name($sequence) the last return statement should probably be "return $sequence", rather than "return $table".

Attachments (1)

pgsequence.diff (592 bytes) - added by lancey 5 years ago.
Fix against SVN v1107

Download all attachments as: .zip

Change History (5)

comment:1 Changed 5 years ago by seansan

  • Milestone set to 0.1.1

comment:2 Changed 5 years ago by seansan

  • Version changed from 0.1-beta to 0.1-rc2

Changed 5 years ago by lancey

Fix against SVN v1107

comment:3 Changed 5 years ago by lancey

Indeed, this is a bug. It is relevant only to people running RC with Postgre database, and only if they have not configured their sequence names in config/db.inc.php

A fix is attached, which defaults to the sequence ids proposed by the dist db.inc.php

comment:4 Changed 5 years ago by thomasb

  • Milestone changed from 0.1.1 to 0.1-stable
  • Resolution set to fixed
  • Status changed from new to closed

Fixed in [ae8f192c]

Note: See TracTickets for help on using tickets.