[Vtigercrm-developers] [jens at Strawberry.COM: Re: vtiger 5: Installation Manual for PostgreSQL DB]

Jens Hamisch jens at Strawberry.COM
Thu Sep 14 00:26:10 PDT 2006


Hi,

have seen them.

Thx,
Jens

On Wed, Sep 13, 2006 at 11:42:23AM -0700, don wrote:
> Hi Jens,
> 
> This issue is fixed as in your patch and the files are checked into the SVN.
> 
> Thanks,
> Don
> 
> 
> 
> 
> ---- On Wed, 13 Sep 2006 Jens Hamisch <jens at Strawberry.COM> wrote ---- 
> 
> 
> Don,
> 
> 
> however please have a look at my fixes to
> DefaultDataPopulator.php and 5createTables.inc.php.
> 
> The current implementation violates the database
> layout constraints. The installation of vtiger will
> definitely fail unless the database engine ignores
> those violations (it should not, otherwise the
> constraint does not make any sense).
> 
> Also there's a typo in one of the source files
> (User.php: '-' at the beginning of the line).
> 
> At least one community member already is facing
> installation probles with one of the latest SVN
> revisions ...
> 
> Regardless the remaining postgres fixes I'd tag
> those 'critical' with the potential of blocking
> GA.
> 
> 
> 
> Jens
> 
> 
> 
> On Wed, Sep 13, 2006 at 03:45:10AM -0700, don wrote:
> > Hi Jens,
> > 
> > Thanks for your patches. However we have freezed the development activities for the vtigerCRM 5 release.
> > We are expecting the  v5 release to be happening in another 24 hours.
> > 
> > 
> > We will definitely integrate these patches post 5.0 GA
> > 
> > Thanks for your understanding,
> > Don
> > 
> > 
> > 
> > 
> > 
> > ---- On Mon, 11 Sep 2006 Jens Hamisch <jens at Strawberry.COM> wrote ---- 
> > 
> > Sorry, typo!
> > 
> > -- Jens
> > 
> > --------------------------------------------------------------------------------
> >      /
> >  +##+|##+   STRAWBERRY                     Jens Hamisch
> > +v#+v v##+  EDV-Systeme GmbH               Managing director
> > / v    v\v
> > | . .  . |  Waldeckstr. 9a                 Car (Voice):  (+49 172) 81 04 162
> > |     .  |  D-82515 Wolfratshausen         Voice:        (+49 8171) 41805-0
> >  | .     |                                 Fax:          (+49 8171) 41805-59
> >  \   .  /   Tel.: (+49 8171) 41805-0       Email:        jens at Strawberry.COM
> >   \____/    Strawberry at Strawberry.COM      
> > 
> > 
> > 
> > ========================= Forwarded Mail =========================
> > 
> > Subject: Re: [Vtigercrm-developers] vtiger 5: Installation Manual for
> > 	PostgreSQL DB
> > From: Jens Hamisch <jens at Strawberry.COM>
> > Date: Mon, 11 Sep 2006 22:55:25 +0200
> > To: gopals at vtiger.com, don at vctiger.com
> > CC: vtigercrm-developers at lists.vtigercrm.com
> > 
> > ------------------------- Contents -------------------------
> > 
> > Hi Gopal,
> > hi Don,
> > 
> > 
> > > It will be of more helpful if you could point the exact postgreSQL URL and php.ini settings as well in the installation document. Please let me know if you need any assistance.
> > 
> > 
> > I hadn't had the time to look at this. I'll come back to you.
> > 
> > Regarding the current integration of the postgres fixes into the SVN
> > I had a closer look at SVN revision 9402. My fixes were almost present,
> > however I figured out the following:
> > 
> > 
> > 
> > include/database/PearDatabase.php
> > install/5createTables.inc.php
> >     - The fix regarding the SEQUENCE mapping is missing
> > 
> > include/database/Postgres8.php
> >     - I've reworked my fix in a way that removes the column names
> >       from this source file. The rework has not been implemented.
> > 
> > install/4createConfigFile.php
> >     - The check against $_REQUEST['db_type'] must be done before
> >       handling the database type. Otherwise $dbType will be undefined.
> > 
> > modules/Potentials/Opportunity.php
> > modules/SalesOrder/SalesOrder.php
> > modules/Leads/Lead.php
> > modules/Invoice/Invoice.php
> > modules/PurchaseOrder/PurchaseOrder.php
> > modules/Quotes/Quote.php
> >     - PostgreSQL does not support the && operator. AND must be used
> >       instead.
> > 
> > modules/Campaigns/ListView.php
> >     - The OFFSET/LIMIT fix was applied. However the old code was not
> >       deleted.
> > 
> > modules/Products/ListView.php
> > modules/Activities/ListView.php
> > modules/Quotes/ListView.php
> > modules/HelpDesk/Save.php
> >     - You forgot these files entirely
> > 
> > modules/Calendar/Appointment.php
> >     - New problem figured out today. The fixPostgresQuery function
> >       needs to be added.
> > 
> > modules/Calendar/calendarLayout.php
> >     - One fixPostgresQuery was missing
> > 
> > modules/Home/index.php
> >     - New problem figured out today. Another 'AS' was missing.
> > 
> > modules/Users/User.php
> >     - A misleading comment was removed
> > 
> > install/5createTables.inc.php
> > modules/Users/DefaultDataPopulator.php
> >     - New problem figured out today. The user2group entries introduced
> >       in DefaultDataPopulator.php were tried to be inserted into the
> >       database before the user records were created. This violates
> >       the layout constraint:
> >         Key (userid)=(2) is not present in table "vtiger_users"
> >     
> >       I've split off this code into two parts, one in 5createTables.inc.php
> >       and the other one in DefaultDataPopulator.php.
> > 
> > modules/Faq/ListView.php
> >     - Duplicate comment
> > 
> > themes/blue/style.css
> > 
> > 
> > 
> > There's a patch containing all changes mentioned above attached to this mail.
> > I'll also document this in TRAC#2033.
> > 
> > 
> > Kind regards
> > -- Jens
> > 
> > --------------------------------------------------------------------------------
> >      /
> >  +##+|##+   STRAWBERRY                     Jens Hamisch
> > +v#+v v##+  EDV-Systeme GmbH               Managing director
> > / v    v\v
> > | . .  . |  Waldeckstr. 9a                 Car (Voice):  (+49 172) 81 04 162
> > |     .  |  D-82515 Wolfratshausen         Voice:        (+49 8171) 41805-0
> >  | .     |                                 Fax:          (+49 8171) 41805-59
> >  \   .  /   Tel.: (+49 8171) 41805-0       Email:        jens at Strawberry.COM
> >   \____/    Strawberry at Strawberry.COM      
> > 
> > _______________________________________________
> > Get started with creating presentations online - http://zohoshow.com?vt 
> > 
> > 
> > ====================== End of Forwarded Mail ======================
> > 
> 
> -- 
> 
> --------------------------------------------------------------------------------
>      /
>  +##+|##+   STRAWBERRY                     Jens Hamisch
> +v#+v v##+  EDV-Systeme GmbH               Managing director
> / v    v\v
> | . .  . |  Waldeckstr. 9a                 Car (Voice):  (+49 172) 81 04 162
> |     .  |  D-82515 Wolfratshausen         Voice:        (+49 8171) 41805-0
>  | .     |                                 Fax:          (+49 8171) 41805-59
>  \   .  /   Tel.: (+49 8171) 41805-0       Email:        jens at Strawberry.COM
>   \____/    Strawberry at Strawberry.COM      

> _______________________________________________
> Get started with creating presentations online - http://zohoshow.com?vt 


-- 

--------------------------------------------------------------------------------
     /
 +##+|##+   STRAWBERRY                     Jens Hamisch
+v#+v v##+  EDV-Systeme GmbH               Managing director
/ v    v\v
| . .  . |  Waldeckstr. 9a                 Car (Voice):  (+49 172) 81 04 162
|     .  |  D-82515 Wolfratshausen         Voice:        (+49 8171) 41805-0
 | .     |                                 Fax:          (+49 8171) 41805-59
 \   .  /   Tel.: (+49 8171) 41805-0       Email:        jens at Strawberry.COM
  \____/    Strawberry at Strawberry.COM      




More information about the vtigercrm-developers mailing list