bugphpGroupWare - Bugs: bug #11323, db tables upgrade does not work...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #11323: db tables upgrade does not work properly

Submitter:  Johnson <jecinc>
Submitted:  Wed 15 Dec 2004 05:49:02 PM UTC
   
 
Category:  tts Item Group:  0.9.16.003
Severity:  4 - Important Priority:  1 - Later
Status:  Fixed Privacy:  Public
Assigned to:  fipsfuchs Open/Closed:  Closed
Component Version:  SVN Operating System:  GNU/Linux - Debian
Reproducibility:  None Planned Release:  0.9.16.011+
Fixed Release: 

Thu 16 Dec 2004 04:51:44 PM UTC, comment #3: 

I dont find the string 'precision' => '' in HEAD Branch.

Tell me which line in which update file and I'll correct
it.

Philipp Kamps <fipsfuchs>
Wed 15 Dec 2004 07:53:04 PM UTC, comment #2: 

Could you change
'precision' => ''
to
'precision' => '4'
please.

It's only in 2 or 3 spots in the tables update file.

I've manually upgraded my db tables so it is only "possibly" needed by others who are still running an old version of tts

Johnson <jecinc>
Wed 15 Dec 2004 06:12:21 PM UTC, comment #1: 

I added:

$test[] = '0.8.1.003';
function tts_upgrade0_8_1_003()
{
$setup_info['phpgwapi']['currentver'] = '0.9.16';
return $setup_info['phpgwapi']['currentver'];
}

I can change

'precision' => 4

to

'precision' => '4'

That's fine for mysql as well.

Do you want me to do it? Or can you provide a patch?

What is about:

'scale' => 2

?

Philipp Kamps <fipsfuchs>
Wed 15 Dec 2004 05:49:02 PM UTC, original submission:  

for some reason tts/setup/tables_update.inc.php does not support any versions of tts prior to 0.9.16

my 0.8.1.003 would not upgrade until I added:
$test[] = '0.8.1.003';
        function tts_upgrade0_8_1_003()
        {
                $setup_info['phpgwapi']['currentver'] = '0.9.16';
                return $setup_info['phpgwapi']['currentver'];
        }


also the incorrect method name (phpgwapi_upgrade0_9_16) was fixed in HEAD but not 0.9.16 branch

lastly, my postgresql install chokes on this file on the lines where 'precision' => '' for the ints .. they must be 'precision' => '4'

Johnson <jecinc>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-12-16 fipsfuchs Open/ClosedOpen Closed
2004-12-16 fipsfuchs StatusNone Fixed

Back to the top

Powered by Savane 3.13-02a9.
Corresponding source code