User tests: Successful: Unsuccessful:
Labels |
Added:
?
|
Labels |
Added:
?
|
Category | ⇒ | Plugins SQL |
Milestone |
Added: |
It can be default enabled but there are conditions to keep in mind:
On Friday, April 10, 2015, sovainfo notifications@github.com wrote:
The errors should be logged and currently that requires proper
configuration of debug. Consider that not sufficient. The product should
have a logger enabled for errors.—
Reply to this email directly or view it on GitHub
#6710 (comment).
the point is how the core modules,plugins,ect handle db errors ( #6591 ) ?
showing a generic message
JFactory::getApplication()->enqueueMessage('blah blah ', 'warning');
or something different like
if (JFactory::getUser()->authorise('core.admin'))
{
JLog::addLogger("blla bla");
........
}
i would prefer the keep it simplest stupid "bla bla" msg
but not sure to understand what exactly is the "family feeling"
i'm missing something?
p.s
a special thanks to all #pbfnl
Milestone |
Removed: |
done
i've used a ready lang string maybe something different?
I think probably something different. I'll ping @brianteeman in the language string group on glip
@brianteeman recommended as it's a string to frontend users we either display a hugely simplified string of "There has been an error" or don't show a string at all.
@test Works as described, after generating an error, I get a simple error message that the database connection is not there.
To test, I changed the plugins/search/categories/categories.php file on line 152 and changed THEN to THN. On the frontend, I used the search function to search categories only and received the error page with a large DB query. After applying the patch and making the same change, I now receive a graceful message.
Did same testing procedure like @roland-d - successfull
Status | Pending | ⇒ | Ready to Commit |
Labels |
Added:
?
|
Status | Ready to Commit | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2015-06-14 22:59:16 |
Closed_By | ⇒ | wilsonge |
Labels |
Removed:
?
|
Milestone |
Removed: |
The errors should be logged and currently that requires proper configuration of debug. Consider that not sufficient. The product should have a logger enabled for errors.