Loading...
 
Skip to main content

14.x: tracker items can't be inserted: 'No template available for n - view'

Status
Closed
Subject
14.x: tracker items can't be inserted: 'No template available for n - view'
Version
14.x Regression
Category
  • Release Blocker
  • Regression
  • Less than 30-minutes fix
Feature
Trackers
Resolution status
Fixed or Solved
Submitted by
Xavier de Pedro
Volunteered to solve
Jonny Bradley
Lastmod by
Xavier de Pedro
Rating
(2)
Description

See it reproduced here:
http://xavi-9794-5599.show.tikiwiki.org/tiki-view_tracker_item.php?itemId=1&cookietab=2

u: admin
p: 12345

Copy to clipboard
Fatal error: Uncaught exception 'Exception' with message 'No template available for n - view' in /var/www/xavi-9794-5599/lib/trackers/trackerlib.php:75 Stack trace: #0 /var/www/xavi-9794-5599/lib/smarty_tiki/function.trackerfields.php(150): TrackerLib->getSectionFormatTemplate('n', 'view') #1 /var/www/xavi-9794-5599/templates_c/en_basic^27844a6db0a459631df676325f554f23b85339c7.file.tiki-view_tracker_item.tpl.php(254): smarty_function_trackerfields(Array, Object(Smarty_Internal_Template)) #2 /var/www/xavi-9794-5599/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(188): content_550af41d208c17_48420797(Object(Smarty_Internal_Template)) #3 /var/www/xavi-9794-5599/lib/init/smarty.php(297): Smarty_Internal_TemplateBase->fetch('tiki-view_track...', NULL, NULL, NULL, false) #4 /var/www/xavi-9794-5599/lib/init/smarty.php(259): Smarty_Tiki->fetch('tiki-view_track...', NULL, NULL, NULL) #5 /var/www/xavi-9794-5599/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(394): Smarty_Tiki->fetch('tiki in /var/www/xavi-9794-5599/lib/trackers/trackerlib.php on line 75

Solution

Sorry, can't find the commit but it observed the feature_search pref and uses a plain input field if unified search wasn't available (ah, r53642)

Update: needed more fixing, hope r54764 does the trick properly this time


Confirmed it's fixed, thanks Jonny!

Workaround

This has been fixed a while ago, and i updated the instance and created a new tracker it that works fine.
The problem was that the "List detail pop-up" on the tracker properties got set to "n" and i reckon if that's removed it all should be fine 😊

Importance
9
Easy to solve?
7
Priority
63
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
5600
Created
Thursday 19 March, 2015 16:11:07 UTC
by Xavier de Pedro
LastModif
Friday 27 March, 2015 13:38:06 UTC


Show PHP error messages