View Issue Details

IDProjectCategoryView StatusLast Update
0000158Bacula-Webbug-phppublic2015-01-05 16:01
ReporterdavideAssigned Todavide 
PriorityhighSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version7.0.1 
Target Version7.0.2Fixed in Version7.0.2 
Summary0000158: Catalog id stored in user session should not take precedence over default catalog
DescriptionThe catalog id stored in the user session should not take precedence over the catalog_id passed through an http GET request.

Meanwhile, if the default url is used, the current catalog id should be 0, not the one stored in the user session.

See section below (Steps to reproduce) for more details.
Steps To ReproduceGo to the url (selected catalog id = 2)
http://server/bacula-web/index.php?catalog_id=2

then use the default url as below
http://server/bacula-web/
or
http://server/bacula-web/index.php

You will see that the selected catalog id is still 2

Additional InformationIf the catalog_id provided through http get is not valid, the catalog_id should be set to the default one (0 by default) and an error message should be displayed to the user.
TagsNo tags attached.

Activities

davide

2014-12-24 11:55

manager   ~0000436

Even the catalog_id would be stored in the user session, the code should check if the catalog_id is valid or not before saving it in the user session

davide

2015-01-05 16:01

manager   ~0000437

Fixed in release 7.0.2

Issue History

Date Modified Username Field Change
2014-12-24 11:07 davide New Issue
2014-12-24 11:07 davide Status new => assigned
2014-12-24 11:07 davide Assigned To => davide
2014-12-24 11:55 davide Note Added: 0000436
2015-01-05 13:39 davide Description Updated View Revisions
2015-01-05 13:39 davide Additional Information Updated View Revisions
2015-01-05 16:01 davide Note Added: 0000437
2015-01-05 16:01 davide Status assigned => resolved
2015-01-05 16:01 davide Fixed in Version => 7.0.2
2015-01-05 16:01 davide Resolution open => fixed