Handy: A SugarCRM Download Archive

Just wanted to drop in to give you this handy tip: An archive of all SugarCRM release files, all the way back to SugarCRM-FinalBeta-0.9.zip! How nice is that!

Formal Testing does have a Purpose

I just found this piece of code in 5.2.0a:

<?php
include/MVC/View/ViewFactory.php

//req_params
if(!empty($view_config_app) && !empty($view_config_app['req_params']))
   
$view_config['req_params'] = array_merge($view_config['req_params'], $view_config_app['req_params']);
if(!empty(
$view_config_root) && !empty($view_config_root['req_params']))
   
$view_config['req_params'] = array_merge($view_config['req_params'],     $view_config_root['req_params']);
if(!empty(
$view_config_root_cstm) && !empty($view_config_root_cstm['actions']))
   
$view_config['req_params'] = array_merge($view_config['req_params'], $view_config_root_cstm['req_params']);
if(!empty(
$view_config_module) && !empty($view_config_module['req_params']))
   
$view_config['req_params'] = array_merge($view_config['req_params'], $view_config_module['req_params']);
if(!empty(
$view_config_custom) && !empty($view_config_custom['req_params']))
   
$view_config['req_params'] = array_merge($view_config['req_params'], $view_config_custom['req_params']);
?>

It's all about this one line:

<?php
if(!empty($view_config_root_cstm) && !empty($view_config_root_cstm['actions']))
?>

Noticing the difference?

I traveled back a bit in subversion, and found that this shameless oversight has been in SugarCRM since it's move to MVC in 5.0, released January 5 2008. That means that no one has ever been able to use a custom global config view file in SugarCRM without hacking the core first.

SugarCRM obviously has never tested this functionality outside a development box or RC release. That fact leads me to suspect that there is no written test for this method. If there's no formal test, then the QA department that Sugar often mentions ("the patch is in QA now, expect a release soon!") does not include a formal testing method. At least not for the MVC framework. But then again, why should we care? Soon 5.5 will be here, with a password mailer. Eat that, SF.

SugarDev.net Tools 0.6 release

I'm proud to bring you the next version of the developer tools module!

Direct download: http://www.sugarforge.org/frs/download.php/5161/sugardevtools_0.6.zip

  • Adding a French translation, thanks Xavier RIGAL!
  • Killing some NOTICES occuring in PHP
  • Renaming UI checker to Vardefs checker, because that's what it currently supports
  • File checker now has scope + files dropdowns, a preg_match filter
  • and a language files filter
  • Adding logic hooks in manifest.php for 5.2 and up

Override MVC methods while keeping arguments

When extending functions in Sugar's MVC framework, it's quite possible you need to call the parent method before or after your code to allow for the original code to run. In the official documentation and in SugarCRM's code itself, the "parent::method()" method is pretty common. However, this can cause a problem with changing function arguments.

SugarDev Developer Tools 0.5.2 gives you back control!

Hi all,

I've just posted the new release of the Developer Tools on SugarForge, you can download it from here.

Key enhancements:

  • Option to remove the advertising iframe in Configuration
  • Option to remove the advertising dashlets for all users
  • Various fixes and support for 5.2
  • MD5 hash checker to check your SugarCRM files for core hacks, non-upgrade-safe modules and patches
  • Repair More now repaird Table Dictionary
  • Live Log puts the log lines directly underneath the page!

Updated API to 5.0.0h and 5.1.0a

Both 5.0 and 5.1 APIs have been updated to the latest patch versions. Enjoy!

SugarDev.net Tools 0.3 released

I just released 0.3 of my SugarCRM tools module.

Features

  • Meta Driven UI Checker: This tool will display all current fields of all modules, including non-db fields and custom fields. It uses coloring and error messages to point users to possible errors in their definition files. It makes use of severity levels.
  • Repair More: SugarCRM's interface has no option for rebuilding custom Beans, like happens when new modules are (un-)installed or en-/disabled, or Unified Search modules. This tool can repair things SugarCRM cannot.
  • LogViewer Tool: Makes it very easy for the admin to view the current log file. Like the UI Checker, it will use coloring to differentiate the different types of severity levels used in the log file.
  • Hidden Configuration Options: This will be an addition to the System Settings, containing the things you won't find in a standard SugarCRM instalation. Contains a lot of performance options.
  • MReassign Records from a User (inspired by original SugarCRM code)
  • Database Backup: Sugar only allows you to make a File Backup. Now, you can also backup your most valuable data: Your database.
  • Sugar Down: Take down your SugarCRM install for maintenance. While down, Sugar is only reachable for Admin users. Back up, anyone can
    again log in.
  • User Preferences: View and modify user's preferences right from SugarCRM.

Download it for free here!

Changelog:

Sugar needs to add Simpleness to the MVC framework

Just spraying out some thoughts just after fixing a custom view with a custom action name is a default module..

The action that I have is FullTextSearch. This is camelcase, because it's Sugar's convention. Fine. But now, I want to create a custom view, which needs to be called ./custom/modules/views/view.fulltextsearch.php>, because of:

<?php
class ViewFactory{
    function
loadView($type = 'default', $module, $bean = null, $view_object_map = array()){
        ---->
$type = strtolower($type);
?>

API Reference updated to 5.0.0f + 5.1.0RC + downloadable files

The API Reference has been updated to the F patch.

Also, a 5.1.0RC version is available from now.
And more: I've submitted a new project proposal at SugarForge, introducing a Sugar project that will contain downloadable API documentation you've requested.

A look at the 5.0 e patch

SugarCRM's freight train of bugfixing has passed yet another station. The E patch is here:


This patch addresses over 100 bugs found in version 5.0.0 with a particular focus on the Email module, including:

* Bug 19354 - After you customize a List View, you can no longer merge duplicate records, export records, and delete records by selecting the checkboxes anymore.
* Bug 19657 - Some international characters do not display correctly in Sugar.
* Bug 20140 - Attempts to send an Email fails if the Email recipient’s name contains special characters.

Syndicate content