View Issue Details

IDProjectCategoryView StatusLast Update
0006116mantisbtrsspublic2007-08-02 02:28
Reporternoelbush Assigned Tograngeway  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version1.0.0rc1 
Fixed in Version1.1.0a4 
Summary0006116: "Issues" RSS feed doesn't work when $g_anonymous_account = ''
Description

Here are the first several lines of what I get from my issues_rss.php:

APPLICATION WARNING #user_get_field() for NO_USER:

APPLICATION WARNING #user_get_field() for NO_USER:

APPLICATION WARNING #user_get_field() for NO_USER:

APPLICATION WARNING #user_get_field() for NO_USER:

APPLICATION WARNING #user_get_field() for NO_USER:

APPLICATION WARNING #user_get_field() for NO_USER:

APPLICATION WARNING #user_get_field() for NO_USER:

SYSTEM WARNING: Cannot modify header information - headers already sent by (output started at /var/www/html/mantis/core/error_api.php:144)

SYSTEM WARNING: Cannot modify header information - headers already sent by (output started at /var/www/html/mantis/core/error_api.php:144)
http://bugs.aitools.org/ Mantis - ISSUES http://bugs.aitools.org/ http://bugs.aitools.org/images/mantis_logo_button.gif http://bugs.aitools.org/ Mantis - ISSUES All Projects 10 hourly 1 2005-08-10T20:52:11-04:00 http://bugs.aitools.org/view.php?id=22 If I enter the phrase "Das hätte mich auch gewundert"
it gets

TagsNo tags attached.

Activities

ryandesign

ryandesign

2005-08-22 05:00

reporter   ~0011257

I also see this in CVS head.

ryandesign

ryandesign

2005-08-22 06:46

reporter   ~0011258

It appears that, in addition to setting $g_allow_anonymous_login to ON, you need to fill in the config variable $g_anonymous_account with the name of a Mantis user. This can be an account you set up just for this purpose, with a minimum of privileges (for example, Viewer). This will, however, also allow anyone to use the Login Anonymously link on the Mantis login page.

We should handle this situation better, for example by outputting an intelligible error message on the issues_rss page, and possibly by showing a warning on the page where the RSS link appears.

grangeway

grangeway

2007-07-15 19:02

reporter   ~0015029

1.1.0a4 has a test for this case.

Paul