[Vtigercrm-commits] [vtiger development] #6436: vtwsclib doListTypes returns module names but ordered incorrectly

vtiger development vtiger-tickets at trac.vtiger.com
Tue Nov 24 10:40:46 EST 2009


#6436: vtwsclib doListTypes returns module names but ordered incorrectly
-----------------------+----------------------------------------------------
 Reporter:  jsherk     |       Owner:  developer
     Type:  defect     |      Status:  new      
 Priority:  minor      |   Milestone:  5.2.0    
Component:  vtigercrm  |     Version:  5.1.0    
 Keywords:             |  
-----------------------+----------------------------------------------------
 When running doListTypes (php) it returns a list of available modules, but
 the order they are returned in is incorrect because you cannot determine
 the Module ID based on the order that the modules are returned.

 From the vtiger_ws_entity table, they appear to be sorted on the IS_MODULE
 column. The problem is, for example, it currently returns the Groups
 module as the 23rd module in the list, but the actual Module ID of Groups
 is 20.

 If the query was done and sorted on the ID column instead, then it would
 return the Groups module as number 20 and you would be able to determine
 it's ID based where it is returned in the query.

 As it stands, the first 19 modules are returned correctly but 20 to 25 are
 not... they are returned as:
 20 PBXManager (should be 23)
 21 ServiceContracts (should be 24)
 22 Services (should be 25)
 23 Groups (should be 20)
 24 Currency (should be 21)
 25 DocumentFolders (should be 22)

-- 
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/6436>
vtiger development <http://trac.vtiger.com/>
vtigerCRM




More information about the vtigercrm-commits mailing list