[Vtigercrm-developers] Error in Report.tpl

Minnie A minnie at vtiger.com
Sun Jan 20 23:06:54 PST 2008


Hi

Roberto : Thank you for the fix. The fix has been integrated in vtiger CRM.
Kindly refer the following change set.
http://trac.vtiger.com/cgi-bin/trac.cgi/changeset/11807

Carlo : I've tested in wip demo(http://en.vtiger.com/wip/),
http://vtiger.studiosynthesis.biz/504-rc2/ and also in my local setup. I
couldn't get any errors. Refer the attached images that I was tried to
reproduce the issue. Kindly let me know in detail to reproduce the issue.

Thanks & Regards,
Minnie.
vtiger Team

On 1/18/08, carlo beschi <carloz at gnumerica.org> wrote:
>
> Hi Roberto, all
>
> thanks for the fix :-)
>
> I've updated http://vtiger.studiosynthesis.biz/504-rc2/ (live demo of
> vtiger crm  5.0.4 RC2 with italian language pack).
>
> I fixed a second bug of the italian/international version, thanks to
> Tullio Bezzornia (all credits to him for submitting the bug and
> providing the patch :-)):
>
> while in a module, like Accounts, selecting the module (not the global)
> search, and the option advanced search, the "show more" option doesn't
> work and generates an error
>
> invalid flag after regular expression
> [Break on this error]
>
> this is because of the "è" character
>
> Tullio fixed this modifying /include/utils/SearchUtils.php adding at
> line 528
>
> $fieldlabel = str_replace ("'","`", $fieldlabel );
>
>
> and replacing around line 613
>
>         $CRIT_OPT = "<option
> value=\'cts\'>".$app_strings['contains']."</option><option
> value=\'dcts\'>".$app_strings['does_not_contains']."</option><option
> value=\'is\'>".$app_strings['is']."</option><option
> value=\'isn\'>".$app_strings['is_not']."</option><option
> value=\'bwt\'>".$app_strings['begins_with']."</option><option
> value=\'ewt\'>".$app_strings['ends_with']."</option><option
> value=\'grt\'>".$app_strings['greater_than']."</option><option
> value=\'lst\'>".$app_strings['less_than']."</option><option
> value=\'grteq\'>".$app_strings['greater_or_equal']."</option><option
> value=\'lsteq\'>".$app_strings['less_or_equal']."</option>";
>
> with
>
> $CRIT_OPT = "<option value=\'cts\'>".str_replace
> ("'","`",$app_strings['contains'])."</option><option
> value=\'dcts\'>".str_replace
> ("'","`",$app_strings['does_not_contains'])."</option><option
> value=\'is\'>".str_replace
> ("'","`",$app_strings['is'])."</option><option
> value=\'isn\'>".str_replace
> ("'","`",$app_strings['is_not'])."</option><option
> value=\'bwt\'>".str_replace
> ("'","`",$app_strings['begins_with'])."</option><option
> value=\'ewt\'>".str_replace
> ("'","`",$app_strings['ends_with'])."</option><option
> value=\'grt\'>".str_replace
> ("'","`",$app_strings['greater_than'])."</option><option
> value=\'lst\'>".str_replace
> ("'","`",$app_strings['less_than'])."</option><option
> value=\'grteq\'>".str_replace
> ("'","`",$app_strings['greater_or_equal'])."</option><option
> value=\'lsteq\'>".str_replace
> ("'","`",$app_strings['less_or_equal'])."</option>";
>
>
>
> Ciao,
>
> Carlo
>
>
> Santacroce ha scritto:
> > Hi there,
> >
> > during the test of the RC in italian localization I found a bug: in the
> > report list page when I click on the '+' button the voices of the menù
> are
> > hidden if the value store in
> >
> > $app_list_strings = Array (
> >
> >   'moduleList'
> >
> > are different from the english name. So the menù had all empty voices.
> >
> > The code interested from the bug is in the file
> \Smarty\templates\Report.tpl
> > at line 62
> >
> >             <a href="javascript:CreateReport('{$modulename}');"
> > class="drop_down">- {$APP.$modules}</a>
> >
> > To correct this bug replace this string with
> >
> >             <a href="javascript:CreateReport('{$modulename}');"
> > class="drop_down">- {$modules}</a>
> >
> > Roberto
> >
> >
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Reach hundreds of potential candidates - http://jobs.vtiger.com
>
> _______________________________________________
> Reach hundreds of potential candidates - http://jobs.vtiger.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20080121/403ce09c/attachment-0003.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wip.png
Type: image/png
Size: 137423 bytes
Desc: not available
Url : http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20080121/403ce09c/attachment-0006.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: italian.png
Type: image/png
Size: 138229 bytes
Desc: not available
Url : http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20080121/403ce09c/attachment-0007.png 


More information about the vtigercrm-developers mailing list