phpgroupware-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-tracker] [bugs #11323>] db tables upgrade does not work pr


From: Johnson
Subject: [Phpgroupware-tracker] [bugs #11323>] db tables upgrade does not work properly
Date: Wed, 15 Dec 2004 15:08:19 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041020 Galeon/1.3.18

This mail is an automated notification from the bugs tracker
 of the project: phpGroupWare.

/**************************************************************************/
[bugs #11323>] Latest Modifications:

Changes by: 
                Johnson <address@hidden>
'Date: 
                Wed 12/15/2004 at 19:53 (Canada/Eastern)

------------------ Additional Follow-up Comments ----------------------------
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







/**************************************************************************/
[bugs #11323>] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11323>>
Project: phpGroupWare
Submitted by: Johnson
On: Wed 12/15/2004 at 17:49

Item Group:  0.9.16.003
Category:  tts
Severity:  7 - Major
Priority:  1 - Later
Resolution:  None
Privacy:  Public
Assigned to:  fipsfuchs
Status:  Open
Component Version:  CVS
Platform Version:  GNU/Linux - Debian
Reproducibility:  None
Planned Release:  0.9.16.003+
Fixed Release:  


Summary:  db tables upgrade does not work properly

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'


Follow-up Comments
------------------


-------------------------------------------------------
Date: Wed 12/15/2004 at 19:53       By: Johnson <jecinc>
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


-------------------------------------------------------
Date: Wed 12/15/2004 at 18:12       By: Philipp Kamps <fipsfuchs>
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

?












For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=11323>>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/







reply via email to

[Prev in Thread] Current Thread [Next in Thread]