Tags:
create new tag
, view all tags

Feature Proposal: Have problem_adding report the actual error

Motivation

Currently no specific error message is reported by problem_adding making it difficult to debug, especially if you're writing your own Users modules.

Description and Documentation

Have problem_adding report the specific error.

Examples

Impact

Implementation

The only change here is adding the %PARAM2 line.

%TMPL:DEF{"problem_adding"}%
---+++ %MAKETEXT{"Error registering user [_1]" args="%PARAM1%"}%

%MAKETEXT{"There has been a problem adding your user id to the Password system."}%

%PARAM2%

%MAKETEXT{"Please contact [_1]." args="%WIKIWEBMASTER%"}%

%MAKETEXT{"You have *not* been registered."}%
%TMPL:END%

-- Contributors: JoshuaCharlesCampbell - 28 May 2008

Discussion

We've been working to remove developer error reports from the User interface - both to reduce non-techy surprise, and and to avoid giving hackers information that might help them. I think you'll need to elaborate on what PARAM2 is going to show.

-- SvenDowideit - 28 May 2008

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2008-05-28 - SvenDowideit
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.