When using the advance arrow in a campaign summary dropdown the following error appears:
ListViewSubPanel::initNewSmartyTemplate path must have an tpl extension
Should see next 10 records
ListViewSubPanel::initNewSmartyTemplate path must have an tpl extension
Arrow through items in list
@paullaz , i want to ask you about more information:
1 - can you provide screenshot
2 - i do not really know what "advance arrow in campaign summary" mean.
Snap 1 is original before action, Snap 2 is after clicking arrow, Snap 3 is after reload of window which shows correct anticipated result. I have indicated the "advance arrow".



Same problem if you try to sort the column clicking on "Hits".
Regards
I can confirm behaviour on our installation.
$templatePath is:
"include/SubPanel/SubPanelDynamic.html"
And doesn't have .tpl extension.
Easy one-liner fix:
--- modules/Campaigns/SubPanelViewer.php.orig 2016-03-02 18:01:01.000000000 +0100
+++ modules/Campaigns/SubPanelViewer.php 2017-03-08 11:08:56.181647502 +0100
@@ -84,7 +84,7 @@
$subpanel_object = new SubPanel($module, $record, $subpanel,null, $layout_def_key);
-$subpanel_object->setTemplateFile('include/SubPanel/SubPanelDynamic.html');
+$subpanel_object->setTemplateFile('include/SubPanel/tpls/SubPanelDynamic.tpl');
if(!empty($_REQUEST['mkt_id']) && $_REQUEST['mkt_id'] != 'all') {// bug 32910
$mkt_id = $_REQUEST['mkt_id'];
The fix works like a charm, thank you.
Running Version 7.8.2 and had the same problem - thought it was merged or have I missed something?
Hi @virtualme123 - It has been merged but the fix has not be pushed into the master branch i.e. 7.8.3 release.
Perfect thanks for the quick response.
I do love SuiteCRM and its fore father SugarCRM but I am struggling these days to keep the case open for it within our company, little bugs like this can sadly be hard to explain away to management - shame these can't get spotted before going live...
Hi @virtualme123 - Sorry to hear that. We are working hard to reduce the amount of regression issues and put into place processes to assist with release testing.
Your support is much appreciated. :+1:
Most helpful comment
Easy one-liner fix:
--- modules/Campaigns/SubPanelViewer.php.orig 2016-03-02 18:01:01.000000000 +0100
+++ modules/Campaigns/SubPanelViewer.php 2017-03-08 11:08:56.181647502 +0100
@@ -84,7 +84,7 @@
$subpanel_object = new SubPanel($module, $record, $subpanel,null, $layout_def_key);
-$subpanel_object->setTemplateFile('include/SubPanel/SubPanelDynamic.html');
+$subpanel_object->setTemplateFile('include/SubPanel/tpls/SubPanelDynamic.tpl');
if(!empty($_REQUEST['mkt_id']) && $_REQUEST['mkt_id'] != 'all') {// bug 32910
$mkt_id = $_REQUEST['mkt_id'];