View Issue Details

This issue affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
06770Bug reportsSurvey editingpublic2026-11-19 23:30
ReporterDenisChenu Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Summary06770: A real global error_view
Description

In case of error,

  • if it's global we use : view/admin/error_view.php
  • if it's in survey we use Survey_controller/public function error (sometimes)
  • In group/question, we use flashmessage.

It's difficult to have a global error system.

  • flashmessage aren't so good, because it sidsappear and we can't giv good information inside (with link etc ... for example). I think flashmessage have to be used to send some information, and no error.
  • HTML had to be in view to be easy updated
Additional Information

Think have a view/error_view is the best solution .
Actual admin/error_view can be easily adpated for multi inout box, another url etc ...
But is difficult to use it for question/group etc ... for example for question, i think the best is to have:
header
surveybar
groupbar
questionbar

erreur

footer

But have X error_view files can not be the good solution.

Idea:

  • add a test in Survey_Common_Action->_renderWrappedTemplate : if view is error_view include view/admin/error_view (and not view/admin/{$sAction}/error_view
  • add X error_view but only include view/admin/error_view in this multiple error_view
  • Another best system by Yii for a global view.
TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)
I will donate to the project if issue is resolved
Browser
Database type & version
Server OS (if known)
Webserver software & version (if known)
PHP Version
Git branch / Pull Request URL

Relationships

child of 06745 closedDenisChenu Bad return URL if you want to delete question and if you can not delete 

Users monitoring this issue

There are no users monitoring this issue.

Activities

galads

galads

2021-12-30 11:41

reporter   ~67882

Hello DenisChenu,
This should already be fixed in recent versions.
Can you please check if this issue still exists in the latest version of LimeSurvey and let us know?
Thank you!

c_schmitz

c_schmitz

2026-11-19 23:22

administrator   ~87778

Errors are now handled in one central place. We also removed the last old error page.

c_schmitz

c_schmitz

2026-11-19 23:23

administrator   ~87779

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=41362

Related Changesets

LimeSurvey: master 24e51d47

2026-11-19 23:22

c_schmitz


Details Diff
Fixed issue 06770: Label set resource import errors were shown on an outdated standalone error page
Dev The errors now show as a message on the label set page; removed the unused AdminController::error() and the dead admin/error_view.php
Affected Issues
06770
mod - application/controllers/AdminController.php Diff File
mod - application/controllers/admin/Labels.php Diff File
rm - application/views/admin/error_view.php Diff

Issue History

Date Modified Username Field Change
2012-10-24 17:40 DenisChenu New Issue
2012-10-24 17:40 DenisChenu Relationship added child of 06745
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing
2021-12-30 11:41 galads Note Added: 67882
2021-12-30 11:41 galads Assigned To => galads
2021-12-30 11:41 galads Status new => feedback
2026-11-19 22:50 c_schmitz Status feedback => acknowledged
2026-11-19 23:22 c_schmitz Note Added: 87778
2026-11-19 23:22 c_schmitz Bug heat 2 => 4
2026-11-19 23:22 c_schmitz Status acknowledged => closed
2026-11-19 23:22 c_schmitz Resolution open => fixed
2026-11-19 23:23 c_schmitz Changeset attached => LimeSurvey master 24e51d47
2026-11-19 23:23 c_schmitz Note Added: 87779
2026-11-19 23:23 c_schmitz Assigned To galads => c_schmitz
2026-11-19 23:23 c_schmitz Status closed => resolved
2026-11-19 23:30 c_schmitz Status resolved => closed
2026-11-19 23:30 c_schmitz Project Development => Bug reports