PacketFence - BTS - PacketFence
View Issue Details
0001196PacketFenceweb adminpublic2011-03-11 22:302011-05-04 11:40
obilodeau 
obilodeau 
normalminorhave not tried
closedfixed 
 
2.2.0 
4b09a387bccda47c6af29c9ef5e1e7a53da7d677
0001196: dashboard called instead of dashboard.php
It seems to happen when we edit available graphs on the dashboard. Very similar, if not exactly as 0000924. Let's try to reproduce.
No tags attached.
has duplicate 0000969closed obilodeau admin ui options deconfigure users on first run 
Issue History
2011-03-11 22:30obilodeauNew Issue
2011-03-11 22:31obilodeauDescription Updated
2011-03-11 22:36obilodeauDescription Updated
2011-03-11 22:37obilodeauNote Added: 0001917
2011-04-26 15:27obilodeauStatusnew => assigned
2011-04-26 15:27obilodeauAssigned To => obilodeau
2011-04-26 15:57obilodeauNote Added: 0002041
2011-04-26 16:13obilodeaumtn revision => 4b09a387bccda47c6af29c9ef5e1e7a53da7d677
2011-04-26 16:13obilodeauNote Added: 0002042
2011-04-26 16:13obilodeauStatusassigned => resolved
2011-04-26 16:13obilodeauFixed in Version => trunk
2011-04-26 16:13obilodeauResolutionopen => fixed
2011-05-04 11:33obilodeauFixed in Versiontrunk => 2.2.0
2011-05-04 11:40obilodeauStatusresolved => closed
2011-09-07 17:52obilodeauRelationship addedchild of 0000969
2011-09-07 17:53obilodeauRelationship deletedchild of 0000969
2011-09-07 17:53obilodeauRelationship addedhas duplicate 0000969

Notes
(0001917)
obilodeau   
2011-03-11 22:37   
the conf/users/admin file is polluted by some means with a status/dashboard instead of status/dashboard.php.
(0002041)
obilodeau   
2011-04-26 15:57   
Not obvious at first as it was mostly fixed earlier but there's still a way to reproduce.

To reproduce:
- create a new user
- destroy your profile (conf/users/<username>) or flip to another server in a cluster setup where the file will be missing
- browse to the admin -> ui_options page BUT DO NOT submit any data (this will set a server-side variable to status/dashboard (not status/dashboard.php)
- change the layout of the status screen (this will push server-side changes to disk)
- log out
- log back in

You get an error that status/dashboard doesn't exist!
(0002042)
obilodeau   
2011-04-26 16:13   
Fixed by replacing reference to status/dashboard into status/dashboard.php.

If you have a corrupted account, when you get the error message, just add .php to the address bar then press enter and you will have access to the administration interface.

To fix your account, you can:
a) fix the user's preferences by going to Administration -> UI Options and select Status - Dashboard as the home page this will overwrite the old corrupted value.
b) if you don't care losing your account preferences, delete corrupted users' preference file located at conf/users/<username>.