Ticket #1484018 (closed Bugs: fixed)

Opened 2 years ago

Last modified 8 months ago

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

pgsequence.diff (0.6 kB) - added by lancey 8 months ago.
Fix against SVN v1107

Change History

Changed 8 months ago by seansan

  • milestone set to 0.1.1

Changed 8 months ago by seansan

  • version changed from 0.1-beta to 0.1-rc2

Changed 8 months ago by lancey

Fix against SVN v1107

Changed 8 months 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

Changed 8 months ago by thomasb

  • status changed from new to closed
  • resolution set to fixed
  • milestone changed from 0.1.1 to 0.1-stable

Fixed in r1125

Note: See TracTickets for help on using tickets.