Wednesday, 2011-04-06

*** Quits: JonMarkGo (~Jon@ool-18bfe16f.dyn.optonline.net) (Ping timeout: 260 seconds)00:53
*** Joins: Cupertino (~Cupez@62-177-158-122.dsl.bbeyond.nl)02:32
*** Quits: Cupertino (~Cupez@62-177-158-122.dsl.bbeyond.nl) (Changing host)02:32
*** Joins: Cupertino (~Cupez@unaffiliated/cupertino)02:32
*** Joins: giallu (~giallu@fedora/giallu)02:58
*** Joins: kirillka (~Miranda@195.242.142.17)03:06
*** Joins: Rixie (~Rixie@188.177.20.182)03:12
*** Joins: soustruh (~Miranda@firewall.czech-tv.cz)03:42
*** Quits: Ragnor_ (~Ragnor@dslb-178-009-050-181.pools.arcor-ip.net) (Quit: leaving)03:43
*** Joins: Ragnor (~Ragnor@dslb-178-009-050-181.pools.arcor-ip.net)03:43
*** Joins: rolfkleef (~rolfkleef@92.254.21.180)04:49
*** Quits: Rixie (~Rixie@188.177.20.182) (Quit: Rixie)05:16
*** Joins: Rixie (~Rixie@188.177.20.182)05:22
*** Joins: Watergad (~Watergad@94.198.111.95)05:23
WatergadHi. Is it correct to create an issue about nightly build?05:23
WatergadSeems that "Access denied" message is broken - no HTML headers there05:24
Watergadaccess_denied() just prints <p>...... w/out any page headers05:25
Watergadso it causes "xml parsing error" etc.05:26
*** Quits: siebrand (~chatzilla@535392CA.cm-6-4c.dynamic.ziggo.nl) (Quit: ChatZilla 0.9.86.1 [Firefox 4.0/20110318052756])06:24
*** Joins: Dreksypoo (~Jon@ool-18bfe16f.dyn.optonline.net)07:16
*** Joins: mantisbt_63112 (c084e501@gateway/web/freenode/ip.192.132.229.1)07:33
mantisbt_63112Can you please tell me what is the max percentage for correct answers for passing the PNA/VNA test?07:35
mantisbt_63112Sorry, maybe I should write minimum percentage. Is it 90%07:38
dhx1mantisbt_63112: 42%? I think you've got the wrong channel07:38
mantisbt_63112You donĀ“t know anything about the Pet Nutrition Advisor test?. I report to Mantis if my uploads for PNA do not work.07:54
dhx1"Mantis" is an open source software project... your workplace likely has a copy of MantisBT installed and it is known locally as "Mantis". It's like saying you report to Windows or Office.07:56
*** Quits: Watergad (~Watergad@94.198.111.95) (Quit: Just left.)08:20
mantisbt_63112I see, thank you.08:27
*** Quits: mantisbt_63112 (c084e501@gateway/web/freenode/ip.192.132.229.1) (Quit: Page closed)08:27
*** Joins: siebrand (~chatzilla@188.200.34.66)08:48
*** Joins: ericbarnes (~ericbarne@rrcs-98-101-76-249.midsouth.biz.rr.com)08:53
*** Joins: daryn (~daryn@h158.249.190.173.static.ip.windstream.net)09:26
*** Quits: ericbarnes (~ericbarne@rrcs-98-101-76-249.midsouth.biz.rr.com) (Remote host closed the connection)09:43
*** Joins: ericbarnes (~ericbarne@rrcs-98-101-76-249.midsouth.biz.rr.com)09:50
*** Quits: kirillka (~Miranda@195.242.142.17) (Quit: kirillka)10:01
*** Parts: Rixie (~Rixie@188.177.20.182)10:08
*** Quits: Cupertino (~Cupez@unaffiliated/cupertino) (Quit: I give up...)10:55
*** Joins: tmckeown (~Adium@64.191.211.43)11:05
*** Quits: rolfkleef (~rolfkleef@92.254.21.180) (Read error: Operation timed out)11:16
*** Joins: idale (c21e30fc@gateway/web/freenode/ip.194.30.48.252)11:31
idaleHi11:31
idaleI don't understand something11:32
idaleEVENT_REPORT_BUG and EVENT_UPDATE_BUG have the same parameters. Is this correct?11:33
idaleI have this:11:36
idale    function hooks() {         return array(             'EVENT_REPORT_BUG' => 'bugReported',         'EVENT_UPDATE_BUG' => 'bugUpdated'         );     }11:36
idalebugReported and bugUpdated recives three parameters. First the p_event, second bugData object and third bugId11:38
darynidale, bugUpdated receives event, original bug object, updated bug object11:39
idaleI have try this, but always receive a string as third parameter...11:41
darynhm...11:42
*** Dreksypoo is now known as JonMarkGo11:44
idaleI update a bug (change state). Then the EVENT_UPDATE_BUG fires, and bugUpdated is called.11:47
idalebugUpdated has three parameters. If I log the third parameter, always is the bugId...11:48
darynidale, i'm looking...11:49
idalethanks11:49
darynidale, what version of mantis are you using?11:49
idale1.2.411:52
darynah, there is an error in bug_assign11:53
idaleIt's reported?. I can report it...11:54
daryni'm not sure if it's reported or not. i'm looking to see exactly what the error is.  Either it's passing the wrong param or calling the wrong event11:54
darynjreese, there?11:55
idaleAnother question. How can I get the project name from a bugData object?. What function should I use?12:02
darynidale, project_get_field( $bugData->project_id, 'name' );12:04
idaleThanks very much !!12:07
*** Quits: giallu (~giallu@fedora/giallu) (Ping timeout: 260 seconds)12:11
* jreese is here now12:18
darynjreese, could you possible take a look at bug_assign.php? either the event is wrong or the params or wrong. i'm not sure which it should be.  i think UPDATE_BUG but...you're the expert12:19
jreesewhat do you think is wrong?12:21
jreeseit looks ok to me12:21
darynupdate bug is supposed to have the original bug and the updated bug as params.  not the id12:22
jreeseno it's not12:22
darynthat is what the doc says and the way it is everywhere else12:22
daryn    EVENT_UPDATE_BUG (Execute)12:23
daryn        This event allows plugins to perform post-processing of the bug data structure after being updated.12:23
daryn        Parameters12:23
daryn            <Complex>: Original bug data structure (see core/bug_api.php)12:23
daryn            <Complex>: Updated bug data structure (see core/bug_api.php)12:23
jreesethat's a bug in the documentation then12:23
jreeseI'm not sure why it even ended up like that12:23
darynk, then bug_update has the opposite bug12:23
darynevent_signal( 'EVENT_UPDATE_BUG', array( $t_existing_bug, $t_updated_bug ) );12:23
jreesewhere are you seeing that?12:24
darynbug_update.php12:24
jreeseare you on master or master-1.2.x?12:24
darynwell...master :P12:24
* jreese swats daryn 12:24
* jreese wonders who broke that in master12:25
darynlooking at it...12:25
jreesegit blame points at dhx12:25
darynah, david as an improvement12:26
jreesethen his improvement is incorrect12:26
darynso, sorry idale, but you are correct for 1.2.412:26
jreesebecause it shouldn't be sending both as parameters, or expecting the hooks to return both of the12:26
darynwell he has a long commit msg so i'll let you argue with him over it12:27
* jreese beats dhx1 with a heavy stick12:27
darynEVENT_UPDATE_BUG has been modified to execute after the update is12:27
daryn    committed to the database and prior to email and other notifications12:27
daryn    being sent. Again the original and updated bug data objects are provided12:27
daryn    so that plugins can compare the two objects to get a list of fields that12:27
daryn    changed during the update.12:27
jreeseI apparently wasn't consulted for that change12:27
darynyou were probably absent that day12:28
jreeseat the very least, the way that dhx wrote it forces hooks to return an array(original, updated) which imo is broken12:29
jreeseI wrote event_signal() to take separate parameters lists specifically so that chained events wouldn't have to do something stupid like that12:30
darynok, well...ya'll can work that out for 2.0 :P12:31
jreesedhx1: it should be something like `$updatedbug = event_signal( "..", $updated, $existing )`12:31
jreeseit's things like this that have caused me to put off updating my plugins for 1.3, because there have been a lot of things that broke existing plugins, and it's been a moving target12:32
*** Quits: soustruh (~Miranda@firewall.czech-tv.cz) (Quit: visit http://wormscesky.cz)12:37
*** Joins: skibumm101 (43cd0248@gateway/web/freenode/ip.67.205.2.72)12:55
skibumm101hi all12:55
*** Quits: siebrand (~chatzilla@188.200.34.66) (Ping timeout: 246 seconds)14:13
*** Quits: JonMarkGo (~Jon@ool-18bfe16f.dyn.optonline.net) (Ping timeout: 258 seconds)14:32
*** Joins: mantisbt_32835 (532d5b75@gateway/web/freenode/ip.83.45.91.117)15:33
*** Quits: mantisbt_32835 (532d5b75@gateway/web/freenode/ip.83.45.91.117) (Client Quit)15:33
*** Quits: ericbarnes (~ericbarne@rrcs-98-101-76-249.midsouth.biz.rr.com) (Remote host closed the connection)15:44
*** Joins: ericbarnes (~ericbarne@rrcs-98-101-76-249.midsouth.biz.rr.com)15:49
*** Quits: skibumm101 (43cd0248@gateway/web/freenode/ip.67.205.2.72) (Quit: Page closed)16:33
*** Joins: giallu (~giallu@fedora/giallu)17:11
*** Joins: siebrand (~chatzilla@535392CA.cm-6-4c.dynamic.ziggo.nl)17:18
*** Quits: ericbarnes (~ericbarne@rrcs-98-101-76-249.midsouth.biz.rr.com) (Remote host closed the connection)17:25
*** Quits: siebrand (~chatzilla@535392CA.cm-6-4c.dynamic.ziggo.nl) (Ping timeout: 240 seconds)17:47
*** Joins: siebrand (~chatzilla@535392CA.cm-6-4c.dynamic.ziggo.nl)17:48
*** Quits: daryn (~daryn@h158.249.190.173.static.ip.windstream.net) (Quit: Ex-Chat)17:58
*** Quits: siebrand (~chatzilla@535392CA.cm-6-4c.dynamic.ziggo.nl) (Ping timeout: 246 seconds)18:50
*** Quits: giallu (~giallu@fedora/giallu) (Ping timeout: 246 seconds)18:54
*** Joins: siebrand (~chatzilla@535392CA.cm-6-4c.dynamic.ziggo.nl)18:57
*** Quits: scribe9343423 (~scribe934@static.96.23.63.178.clients.your-server.de) (Remote host closed the connection)20:00
*** Joins: scribe9343423 (~scribe934@static.96.23.63.178.clients.your-server.de)20:00
*** Quits: tmckeown (~Adium@64.191.211.43) (Quit: Leaving.)20:41
*** chilts_ is now known as chilts21:25
*** Quits: InternetToughGu1 (~InternetT@50-89-240-245.res.bhn.net) (Ping timeout: 276 seconds)21:55
*** Quits: dhx1 (~anonymous@60-242-108-164.static.tpgi.com.au) (*.net *.split)22:01
*** Quits: killefiz (~sven@fedora/pdpc.base.killefiz) (*.net *.split)22:01
*** Quits: deepy (~deepy@wrongplanet/deepa) (*.net *.split)22:01
*** Joins: dhx1 (~anonymous@60-242-108-164.static.tpgi.com.au)22:03
*** Joins: killefiz (~sven@fedora/pdpc.base.killefiz)22:03
*** Joins: deepy (~deepy@wrongplanet/deepa)22:03
*** Quits: deepy (~deepy@wrongplanet/deepa) (Max SendQ exceeded)22:04
*** Quits: idale (c21e30fc@gateway/web/freenode/ip.194.30.48.252) (Ping timeout: 252 seconds)22:04
*** Joins: deepy (~deepy@c83-248-154-79.bredband.comhem.se)22:05

Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!