View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006116 | mantisbt | rss | public | 2005-08-10 20:53 | 2007-08-02 02:28 |
Reporter | noelbush | Assigned To | grangeway | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.0.0rc1 | ||||
Fixed in Version | 1.1.0a4 | ||||
Summary | 0006116: "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) | ||||
Tags | No tags attached. | ||||
I also see this in CVS head. |
|
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. |
|
1.1.0a4 has a test for this case. Paul |
|