Discussion:
[mantisbt-dev] CodevTT
P Richards
2014-10-16 21:23:04 UTC
Permalink
HI Louis (as this is aimed mainly at you ;))



I'm just taking some time to look at your application around mantis (I think
it's probably fair to say application rather than plugin in this case)



Whilst I could easily switch off at the site of mysql_query within the
plugin ;)



I notice you have a comment on your plugin event:



# check BEFORE DELETE (but unfortunately after the 'are you sure?' page...)

'EVENT_BUG_DELETED' => 'checkTimetracks',



This strikes me as you are having to work around an issue with the
placements of hooks within Mantis - would you care to elaborate on the
issue? - as this might be a case of somewhere it would make sense for you to
add an additional hook or better placed hook.



Paul
Louis BAYLE
2014-10-16 21:55:58 UTC
Permalink
Hi Paul,
First of all, I fully agree with your analysis in the previous mails:


EVENT_MANAGE_PROJECT_DELETE

Delete from project_table
EVENT_MANAGE_PROJECT_DELETED

I was thinking the same and was a little anoyed when I worked on this (as
you noticed in my comment!).

Of course, I'd be pleased to help on this issue, but I cannot guarantee
that I'll work on it: MantisBT is a great project and - luckily - has a
huge amount of developpers. CodevTT is a big project with only one
developper. I'm overwhelmed with work, so don't be mad at me if I don't
take this point.

Thank you for your help !
Louis


Louis BAYLE
Tel: +33 (0)4.42.604.734
Post by P Richards
HI Louis (as this is aimed mainly at you ;))
I’m just taking some time to look at your application around mantis (I
think it’s probably fair to say application rather than plugin in this case)
Whilst I could easily switch off at the site of mysql_query within the
plugin ;)
# check BEFORE DELETE (but unfortunately after the 'are you sure?' page...)
'EVENT_BUG_DELETED' => 'checkTimetracks',
This strikes me as you are having to work around an issue with the
placements of hooks within Mantis – would you care to elaborate on the
issue? – as this might be a case of somewhere it would make sense for you
to add an additional hook or better placed hook.
Paul
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
mantisbt-dev mailing list
https://lists.sourceforge.net/lists/listinfo/mantisbt-dev
Loading...