Adding 'Steps to Reproduce' field to Simple Report view

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
Hockeytown
Posts: 21
Joined: 28 Oct 2010, 18:08

Adding 'Steps to Reproduce' field to Simple Report view

Post by Hockeytown »

Using Mantis 1.1.7 and I'd like the Simple Report view to show the Steps to Reproduce field.
atrol
Site Admin
Posts: 8553
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Adding 'Steps to Reproduce' field to Simple Report view

Post by atrol »

You could update to newer version 1.2.x where you can customize the fields on report page without changing source code of MantisBT
Please use Search before posting and read the Manual
Hockeytown
Posts: 21
Joined: 28 Oct 2010, 18:08

Re: Adding 'Steps to Reproduce' field to Simple Report view

Post by Hockeytown »

We will take your advice and start looking at the upgrade process but will still need to reflect these changes to the current version to appease a very important client. I will be downloading the newest version of Mantis today and getting a test environment ready this week but in the meantime your guidance on how to make this change would be very greatly appreciated.
atrol
Site Admin
Posts: 8553
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Adding 'Steps to Reproduce' field to Simple Report view

Post by atrol »

I don't have time to have a deeper look at this.
Just some hints what you have to change.

Search for string "steps_to_reproduce" in file bug_report_advanced_page.php
Compare and change file bug_report_page.php by adding the various steps_to_reproduce stuff
Please use Search before posting and read the Manual
TheZman1
Posts: 1
Joined: 01 Feb 2011, 15:48

Re: Adding 'Steps to Reproduce' field to Simple Report view

Post by TheZman1 »

Is modifying the source code the only way to modify the report page fields (version 1.1.7 )?
Hockeytown
Posts: 21
Joined: 28 Oct 2010, 18:08

Re: Adding 'Steps to Reproduce' field to Simple Report view

Post by Hockeytown »

Atrol, thanks again.... worked like a charm and was fairly painless
atrol
Site Admin
Posts: 8553
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Adding 'Steps to Reproduce' field to Simple Report view

Post by atrol »

TheZman1 wrote:Is modifying the source code the only way to modify the report page fields (version 1.1.7 )?
Yes for standard fields, at least if you want more fields than currently available. No, for custom fields
Please use Search before posting and read the Manual
Post Reply