Mantis plugin - RequiredFields

Post about your customizations to share with others.

Moderators: Developer, Contributor

Re: Mantis plugin - RequiredFields

Postby rct » Mar 20, 2012 6:09 pm

I've a version where I had corrected a problem... do not remember what it was :p but I think it will correct at least one error.

Could you test it and let me know ?

Edit: forgot the link... http://web.magellium.fr/~rct/mantis/Req ... v1.0.3.zip

Romain
rct
 
Posts: 16
Joined: Jan 06, 2012 7:28 am

Re: Mantis plugin - RequiredFields

Postby Reinder » Mar 21, 2012 3:19 am

yes! That works! Cheers!
Reinder
 
Posts: 115
Joined: Apr 26, 2005 6:08 am

Re: Mantis plugin - RequiredFields

Postby rct » Mar 21, 2012 4:08 am

Version updated... a dirty bug fixed :)
rct
 
Posts: 16
Joined: Jan 06, 2012 7:28 am

Re: Mantis plugin - RequiredFields

Postby rct » Mar 21, 2012 6:44 am

Oooops I hadn't checked the file I gave you... This is a development version... You must rename "pages/requiredfields_edit - Copie.php" into "pages/requiredfields_edit.php".
rct
 
Posts: 16
Joined: Jan 06, 2012 7:28 am

Re: Mantis plugin - RequiredFields

Postby rct » Mar 21, 2012 8:35 am

New version 1.0.4 (1.0.3 fully developped) which brings the ability to configure the required fields to multiple projects at the same time.
rct
 
Posts: 16
Joined: Jan 06, 2012 7:28 am

Re: Mantis plugin - RequiredFields

Postby Reinder » Mar 22, 2012 2:58 am

rct wrote:New version 1.0.4 (1.0.3 fully developped) which brings the ability to configure the required fields to multiple projects at the same time.


Where can I find the 1.0.4 version then? Because the link you gave above points to 1.0.3?
Reinder
 
Posts: 115
Joined: Apr 26, 2005 6:08 am

Re: Mantis plugin - RequiredFields

Postby rct » Mar 22, 2012 3:40 am

In the first post of this thread.
rct
 
Posts: 16
Joined: Jan 06, 2012 7:28 am

Re: Mantis plugin - RequiredFields

Postby simon.k » May 02, 2012 3:19 am

I've changed the trigger_error from ERROR_PLUGIN_GENERIC to ERROR_EMPTY_FIELD, resulting in nicer error messages

The lang file has to be modified too, with the new error code the error message is 'A necessary field "%1$s" was empty. Please recheck your inputs.';

Thanks for this nice plugin, saved me some time :)
simon.k
 
Posts: 13
Joined: Apr 27, 2012 1:26 am
Location: Germany

Re: Mantis plugin - RequiredFields

Postby rct » May 02, 2012 4:55 am

Thank you for the tip I've updated the plugin (see first message for the link).
rct
 
Posts: 16
Joined: Jan 06, 2012 7:28 am

Re: Mantis plugin - RequiredFields

Postby rct » Oct 27, 2012 7:14 am

Hello,

I'm trying to update my plugin to check for version, target version and fixed in version.
I would like it to work like custom fields (required on report, required on update, required on resolved and required on closed). See attachment for a picture.
But I have problems to do so : :(

Explanations :
My plugin subscribe to those events : EVENT_REPORT_BUG_DATA, EVENT_UPDATE_BUG but it looks like it does not do the full job :
- Group actions don't trigger those events and the EVENT_BUG_ACTION is triggered after the bug is saved into the database
- In the View Issue Details page when Change status to is set to Resolved or Closed the EVENT_UPDATE_BUG event is triggered after bug is saved into the database

Does someone have an idea on how to deal with that (without having to hack the mantisbt code) ?
Attachments
required_fields.png
required_fields.png (24.68 KiB) Viewed 1397 times
rct
 
Posts: 16
Joined: Jan 06, 2012 7:28 am

Previous

Return to Customizations

Who is online

Users browsing this forum: No registered users and 1 guest

cron