[Vtigercrm-commits] [Vtiger development] #8311: Custom fields set in the Event module are not retrieved from Mobile API
Vtiger development
vtiger-tickets at trac.vtiger.com
Sat Oct 18 13:11:46 GMT 2014
#8311: Custom fields set in the Event module are not retrieved from Mobile API
------------------------+------------------------
Reporter: maggini | Owner: developer
Type: defect | Status: new
Priority: unassigned | Milestone: Unassigned
Component: vtigercrm | Version: 6.1.0
Severity: Medium | Keywords: mobile
------------------------+------------------------
When you create new Custom Fields in the "Events" Module, these fields are
not retrieved through the Mobile API, either in the syncModuleRecords call
or the fetchRecordsWithGrouping call.
Reason: According to my findings, the "Calendar" and "Events" modules are
somehow "merged" in the mobile API. For this reason, when launching a
synchronization with "Calendar" as parameters, both "To Dos" and "Events"
are synchronized, but the fields representation is only fetched according
to what is specified in the "Calendar" module description.
The changes I propose deal with the following:
1) don't rename "Events" to "Calendar" when calling
"gatherModuleFieldGroupInfo"
2) retrieve the module description per each record when synchronizing the
calendar, by decoding the right module with a call to
"detectModulenameFromRecordId" (in my implementation I also take care of
caching, for performance
I attach to this ticket a patch, or you can see the proposed changes at
this address: https://github.com/gixWorks/vtigercrm/tree/feature/fix-
customfields-events
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/8311>
Vtiger development <http://trac.vtiger.com/>
Vtiger CRM
More information about the vtigercrm-commits
mailing list