View Issue Details

This issue affects 1 person(s).
 0
IDProjectCategoryView StatusLast Update
03743Bug reportsTheme editorpublic2009-11-13 16:40
ReporterEvan Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.85+ 
Fixed in Version1.87RC1 
Summary03743: Old templates not being removed from the lime_templates table in DB
Description

Old templates are still showing up in the template permissions page even though they've been deleted from the server file system.


I had a number of custom templates which I no longer needed plus I had removed all the standard LimeSurvey templates. However they were still showing up in the templates permissions page.
I checked the server file system and confirmed that they had been deleted.
I then went through and checked every survey and change any that listed a deleted template to the correct available template. (All the delete templates still showed up)
I then checked the DB and discovered that they were all listed in the table 'lime_templates'.
After I remove all the entries for the deleted templates from the 'lime_templates' table in the DB they disappeared from the template permissions page.

It seems that LS is not checking the File System to update the 'lime_templates' table.

NOTE:

  • All my (custom) templates are unwritable via the web admin.
  • All the templates are edited directly on the server via SSH
  • Each time I upgrade I start with a fresh install (with old DB) I then delete all the standard templates and copy my custom templates into the templates file from a backup.
TagsNo tags attached.
Bug heat0
Complete LimeSurvey version number (& build)7191
I will donate to the project if issue is resolved
BrowserAll
Database type & versionMySQL 5.0.45
Server OS (if known)CentOS
Webserver software & version (if known)Apache/2.2.3
PHP Version5.1.6
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2009-10-07 01:51 Evan New Issue
2009-10-07 01:51 Evan Status new => assigned
2009-10-07 01:51 Evan Assigned To => user372
2009-10-07 01:51 Evan LimeSurvey build number => 7191
2009-10-07 01:51 Evan Browser => All
2009-10-07 01:51 Evan Database & DB-Version => MySQL 5.0.45
2009-10-07 01:51 Evan Operating System (Server) => CentOS
2009-10-07 01:51 Evan Webserver => Apache/2.2.3
2009-10-07 01:51 Evan PHP Version => 5.1.6
2009-10-07 09:39 user372 Assigned To user372 => c_schmitz
2009-10-07 20:05 c_schmitz Status assigned => resolved
2009-10-07 20:05 c_schmitz Fixed in Version => 1.87RC1
2009-10-07 20:05 c_schmitz Resolution open => fixed
2009-11-13 16:40 c_schmitz Status resolved => closed
2015-12-11 14:40 c_schmitz Category Templates => Theme editor