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
Mantis plugin - RequiredFields
Moderators: Developer, Contributor
Re: Mantis plugin - RequiredFields
yes! That works! Cheers!
Re: Mantis plugin - RequiredFields
Version updated... a dirty bug fixed 
Re: Mantis plugin - RequiredFields
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".
Re: Mantis plugin - RequiredFields
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.
Re: Mantis plugin - RequiredFields
Where can I find the 1.0.4 version then? Because the link you gave above points to 1.0.3?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.
Re: Mantis plugin - RequiredFields
In the first post of this thread.
-
simon.k
Re: Mantis plugin - RequiredFields
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
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
Re: Mantis plugin - RequiredFields
Thank you for the tip I've updated the plugin (see first message for the link).
Re: Mantis plugin - RequiredFields
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) ?
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 (24.68 KiB) Viewed 14523 times