MantisBT

View Issue Details Jump to Notes ] Wiki ] Related Changesets ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012885mantisbtadministrationpublic2011-03-29 08:222013-05-13 11:22
Reporterdhx 
Assigned Todregad 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusfeedbackResolutionreopened 
PlatformOSOS Version
Product Version1.3.x 
Target Version1.3.xFixed in Version1.3.x 
Summary0012885: Reimplement obsolete configuration checks based on obsolete.php as part of new admin/check/ interface
DescriptionThe rewritten check.php script (as a collection of checks in the admin/check/ directory) neglected to port across obsolete configuration checking from 1.2.x.

Configuration within the database (and perhaps also as defined in global PHP variables) needs to be validated against obsolete.php to notify the user if they're trying to use deprecated configuration options.
Tags2.0.x check, 2.0.x fixed
Attached Files

- Relationships
related to 0013435closeddregad The obsolete checks should also verify configs in the db 
related to 0011576resolveddhx New and improved check.php for checking MantisBT installation settings/environment 
related to 0015721new Functionality to consider porting to master-2.0.x 
related to 0012884closeddhx Checks for obsolete config fails to report error 
related to 0015838new new check.php does not check for obsolete config variables 

-  Notes
User avatar (0030252)
dregad (developer)
2011-11-19 17:12

Implementation of check for configuration within the database (mantis_config_table) is tracked in 0013435.
User avatar (0036395)
grangeway (developer)
2013-04-05 17:57

Marking as 'acknowledged' not resolved/closed to track that change gets ported to master-2.0.x branch
User avatar (0036834)
grangeway (developer)
2013-05-12 08:07

Damien,

This needs a fix in the master branch - as per comment on the 2.x version in issue 0015838.

a) project_get_name can throw an exception breaking the script
b) database is not necessarily loaded at this point
User avatar (0036851)
dregad (developer)
2013-05-13 11:22

You're confusing me. The whole point of this commit *was* to fix the issue in the master branch to begin with.

a) master branch does not use exceptions so that point is moot.
b) Just tried this; not sure where the problem is. If there is no DB connectivity, the checks will just fail "cleanly"

Database

Can open connection to database bugtracker on host localhost with username root		FAIL


From my perspective, this works as designed.
User avatar (0036852)
dregad (developer)
2013-05-13 11:22

Reminder sent to: grangeway


- Related Changesets
MantisBT: master d1cd06cd
Timestamp: 2011-10-23 16:30:13
Author: dregad
Details ] Diff ]
Reimplement obsolete config checks in admin/check interface

The rewritten check.php scripts (as a collection of checks in the
admin/check/ directory), implemented per issue 0011576 in commit
ba97560b02d620569ad062d894284722f0acd890, neglected to port across
obsolete configuration checking from 1.2.x.

Fixes 0012885
mod - admin/check/check_config_inc.php Diff ] File ]
mod - core/config_api.php Diff ] File ]

- Issue History
Date Modified Username Field Change
2011-03-29 08:22 dhx New Issue
2011-03-29 08:22 dhx Status new => assigned
2011-03-29 08:22 dhx Assigned To => dhx
2011-03-29 08:23 dhx Relationship added related to 0012884
2011-10-24 03:53 dregad Relationship added parent of 0013435
2011-11-19 17:01 dregad Relationship added related to 0011576
2011-11-19 17:08 dregad Relationship replaced related to 0013435
2011-11-19 17:12 dregad Note Added: 0030252
2011-11-19 17:12 dregad Status assigned => resolved
2011-11-19 17:12 dregad Fixed in Version => 1.3.x
2011-11-19 17:12 dregad Resolution open => fixed
2011-11-19 17:12 dregad Assigned To dhx => dregad
2011-11-23 18:39 belfar Note Added: 0030291
2011-12-05 12:32 dregad Changeset attached => MantisBT master d1cd06cd
2013-04-05 17:57 grangeway Status resolved => acknowledged
2013-04-05 17:57 grangeway Note Added: 0036395
2013-04-05 18:13 grangeway Relationship added related to 0015721
2013-04-06 03:44 dregad Status acknowledged => resolved
2013-04-06 07:20 grangeway Status resolved => acknowledged
2013-04-06 09:26 dregad Tag Attached: 2.0.x check
2013-04-06 09:26 dregad Status acknowledged => resolved
2013-05-12 08:06 grangeway Relationship added related to 0015838
2013-05-12 08:07 grangeway Note Added: 0036834
2013-05-12 08:07 grangeway Status resolved => feedback
2013-05-12 08:07 grangeway Resolution fixed => reopened
2013-05-12 08:07 grangeway Tag Attached: 2.0.x fixed
2013-05-13 11:18 dregad Note Deleted: 0030291
2013-05-13 11:22 dregad Note Added: 0036851
2013-05-13 11:22 dregad Note Added: 0036852


MantisBT 1.2.16dev master-1.2.x-8c2bd07 [^]
Copyright © 2000 - 2013 MantisBT Team
Time: 0.1009 seconds.
memory usage: 2,860 KB
Powered by Mantis Bugtracker