[Vtigercrm-developers] Information about vtiger_fields and warnings after dropping some rows.
David V.
davidv.net at gmail.com
Thu Jan 29 20:17:07 PST 2009
Hi Christian,
I'm trying to understand why you would want to delete theses fields from the
database while it is so easy to hide them system wide using the
configuration panel.
Do you have any special reason to really delete theses fields from the db ?
If not it would be really easier to just hide them.
David V.
On Thu, Jan 29, 2009 at 5:56 PM, Christian Castelli <
christian.castelli at trackset.com> wrote:
> Hi vTiger developers,
> my company sells web services, so there are a lot of field in many
> modules (such as Leads, Quotes, Accounts and Invoice) that we don't need
> (and won't need).
> Instead of modifying Smarty templates (which would have taken too much
> time), I considered to delete these fields directly in the DB, from
> vtiger_fields.
> It seems to work all fine but:
>
> 1) I've noticed that every time I deleted some rows from vtiger_field,
> the system log me out. Then I logged in again and when I deleted some
> rows it logged me out again. Is it normal?
>
> 2) After these mods, I receive these warning (these printings come from
> Xdebug) only in Home Page and Invoice Module ListView.
>
> Warning: Invalid argument supplied for foreach() in
> /var/www/work/vtiger/include/utils/ListViewUtils.php on line 1169
> Call Stack
> # Time Memory Function Location
> 1 0.0031 253276 {main}( ) ../index.php:0
> 2 0.8356 13673132 include(
> '/var/www/work/vtiger/modules/Home/index.php' ) ../index.php:577
> 3 1.8453 15020680 getTopInvoice( ) ../index.php:135
> 4 1.9300 15163560 getListViewEntries( )
> ../ListTopInvoice.php:115
> 5 1.9666 15196216 getValue( ) ../ListViewUtils.php:889
>
> Have I missed something? It's not so important to correct these warnings
> but if I can, I'll do.
> Thanks for attention,
> Greetings.
> _______________________________________________
> Reach hundreds of potential candidates - http://jobs.vtiger.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20090130/c4822259/attachment-0003.html
More information about the vtigercrm-developers
mailing list