None of the Fields links in the modules studio work. When clicked, the Fields editor does not appear.
We cannot add new fields.
We're using 5.5.0 RC4
Is this a known issue?
None of the Fields links in the modules studio work. When clicked, the Fields editor does not appear.
We cannot add new fields.
We're using 5.5.0 RC4
Is this a known issue?
Using firebug with display errors, when the Fields icon is clicked, there is a "parseJSON" error in the firebug console.
It is likely a permissions issue. When permissions are not set correctly, the JavaScript based features tend to not work correctly.
Regards,
Angel Magańa
Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
Blog: http://cheleguanaco.blogspot.com.
Twitter: @cheleguanaco.
________
| Projects: |_____________________________________
|
| CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
| GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
| CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
| Round Robin Leads Assignment
| Phone Number Formatter
| CaseTwit (Twitter Integration)
______________________________________________
same problem. Update in december to 5.5 an now i can't add a new field. Same json error. definitly no permision problem. ( same as here: http://www.sugarcrm.com/forums/showt...ight=parseJSON)
I also encountered the same problem. account the module can not be used, it may be caused by coding problems. I used to track the output of the filebug in front of more than a lot of blank lines. Get rid of these blank lines on it.
Modify the method:
modules \ ModuleBuilder \ MB \ AjaxCompose.php 47 lines
function getJavascript ()
(
ob_end_clean (); / / add this
if (! empty ($ this-> sections [ 'center'])){ if (empty ($ this-> sections [' east']))$ this-> addSection ( 'east','','', 'deactivate');
if (empty ($ this-> sections [ 'east2']))$ this-> addSection (' east2 ','','',' deactivate ');
)
$ json = getJSONobj ();
return $ json-> encode ($ this-> sections);
)
.................................................. ..........
我也遇到同样的问题。account模块不能用,可能是编码引起的问题。我用filebug跟踪到输出的结 果前面多了许多空行。清除掉这些空行,就可以了。
修改方法:
modules\ModuleBuilder\MB\AjaxCompose.php 47行
function getJavascript()
{
ob_end_clean(); //加上这
if(!empty($this->sections['center'])){ if(empty($this->sections['east']))$this->addSection('east', '', '', 'deactivate');
if(empty($this->sections['east2']))$this->addSection('east2', '', '', 'deactivate');
}
$json = getJSONobj();
return $json->encode($this->sections);
}
I am having the same problem after upgrade from 5.2 to 5.5.0 (build 6653) and have reported a bug for this.
Unfortunately plrock's fix does not work for me.![]()
Göran Korsgren
I had an idea for a workaround:
to try to "emulate" studios "Add field" by hand.
I have
- added a field in the <module>_cstm database table
- added a correponding mod_strings entry in the custom/modules/<module>/language/en_us.lang.php file
and then did a repair on the affected module
but that was not enough, the field does not show up in Studio.
What more do I have to do to manually add a custom field to a module?
Göran Korsgren
perfect plrock - working! but ob_end_clean(); and not ob_end_clean (); (there is a space in the post. delete it otherwise studio is not working)
set
display_errors = Off
in your php.ini
i have set this and it works
Same json error. definitly no permision problem.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks