I have been watching SugarCRM for a few years and recently ran into a project that I thought would be a great test run for getting more familiar with SugarCRM. I am trying to build a animal rescue management system by creating a series of custom modules and then modifying the tags and tab groups to remove much of the "sales" related modules. That said, I am juts about to give up. 99% of the time when I add a custom field, it appears to work/save but when I get redirected back to the field list screen my new field doesn't show up (same exact issue with custom relationships).
Steps
- Create a new Package
- Add new Module (based on People)
- Add new field (ascaAffiliated as a boolean)
- Click Save (see "done message")
- Problem: New field does not appear in the list of fields
Notes: Sometime if I do this process multiple times (4 to 5) it appears to work but as soon as the new field appears I can no longer edit the "DetailView" screen. I have trying a fresh install twice with the same results.
System:
Windows Server 2008 x86
PHP v5.2.11
SugarCRM 5.5.1 (note I have also tried using the latest beta 5.5.5)
Microsoft SQL Server 2008 v10.0.2531
Firefox v3.5.6
Results from Extended Log File
12/28/09 18:36:17 [4184][1][INFO] ModuleBuilderController:
12/28/09 18:36:17 [4184][1][DEBUG] Performing action: action_savefield MODULE: ModuleBuilder
12/28/09 18:36:17 [4184][1][DEBUG] populate: TemplateBoolean Object
(
[default_value] => 0
[default] => 0
[type] => bool
[view] => edit
[name] => ascaaffiliate
[vname] => LBL_ASCAAFFILIATE
[id] =>
[size] => 20
[len] => 255
[required] =>
[comment] =>
[bean] =>
[ext1] =>
[ext2] =>
[ext3] =>
[ext4] =>
[audited] => 0
[massupdate] => 0
[importable] => true
[duplicate_merge] => 0
[new_field_definition] =>
[reportable] =>
[label_value] =>
[help] =>
[vardef_map] => Array
(
[name] => name
[label] => vname
[default_value] => default
[default] => default_value
[len] => len
[required] => required
[type] => type
[audited] => audited
[massupdate] => massupdate
[options] => ext1
[help] => help
[comments] => comment
[importable] => importable
[duplicate_merge] => duplicate_merge
[reportable] => reportable
[min] => ext1
[max] => ext2
[ext2] => ext2
[ext4] => ext4
[ext3] => ext3
[label_value] => label_value
)
[label] => LBL_ASCAAFFILIATE
[comments] =>
)
12/28/09 18:36:17 [4184][1][INFO] UndeployedRelationships: loading relationships from custom/modulebuilder/packages/ARPH/modules/Donation/relationships.php
12/28/09 18:36:17 [4184][1][INFO] UndeployedRelationships: loading relationships from custom/modulebuilder/packages/ARPH/modules/Donor/relationships.php
12/28/09 18:36:17 [4184][1][INFO] UndeployedRelationships: loading relationships from custom/modulebuilder/packages/ARPH/modules/Donor/relationships.php
12/28/09 18:36:17 [4184][1][INFO] UndeployedRelationships: loading relationships from custom/modulebuilder/packages/ARPH/modules/Donor/relationships.php
12/28/09 18:36:17 [4184][1][INFO] UndeployedRelationships: saving relationships to custom/modulebuilder/packages/ARPH/modules/Donor/relationships.php
12/28/09 18:36:17 [4184][1][INFO] UndeployedRelationships: loading relationships from custom/modulebuilder/packages/ARPH/modules/Donation/relationships.php
12/28/09 18:36:17 [4184][1][INFO] UndeployedRelationships: loading relationships from custom/modulebuilder/packages/ARPH/modules/Donor/relationships.php
12/28/09 18:36:17 [4184][1][INFO] UndeployedRelationships: loading relationships from custom/modulebuilder/packages/ARPH/modules/Donor/relationships.php
12/28/09 18:36:17 [4184][1][DEBUG] Calling DBManager::disconnect()
When I go back to the main package page, I see the following
Notice: Undefined index: actions occured in E:\WebSites\global\sugarcrm\wwwroot\cache\smarty\t emplates_c\%%B4^B43^B4351F55%%wizard.tpl.php on line 6 [2009-12-28 18:39:46] display_stack_trace caller, file: E:\WebSites\global\sugarcrm\wwwroot\include\utils. php line#: 2762
E:\WebSites\global\sugarcrm\wwwroot\cache\smarty\t emplates_c\%%B4^B43^B4351F55%%wizard.tpl.php[L:6](:StackTraceErrorHandler)
E:\WebSites\global\sugarcrm\wwwroot\include\Smarty \Smarty.class.php[L:1265](:include)
E:\WebSites\global\sugarcrm\wwwroot\modules\Module Builder\views\view.package.php[L:59](Smarty:fetch)
E:\WebSites\global\sugarcrm\wwwroot\include\MVC\Vi ew\SugarView.php[L:113](Viewpackage:display)
E:\WebSites\global\sugarcrm\wwwroot\include\MVC\Co ntroller\SugarController.php[L:282](SugarViewrocess)
E:\WebSites\global\sugarcrm\wwwroot\include\MVC\Co ntroller\SugarController.php[L:264](SugarControllerrocessView)
E:\WebSites\global\sugarcrm\wwwroot\include\MVC\Su garApplication.php[L:87](SugarController:execute)
E:\WebSites\global\sugarcrm\wwwroot\index.php[L:43](SugarApplication:execute)
Can anyone offer any thoughts or help???


LinkBack URL
About LinkBacks
rocess)



Reply With Quote
Bookmarks