Thursday, 2009-06-18

../irclogs/#mantishelp.2009-06-18.log
--- scribe started ---00:00
kenguestlo CloCkWeRX00:01
CloCkWeRX:)00:02
CloCkWeRXkenguest mentions you guys are interested a bit in PEAR's use of http://code.google.com/p/baetle/  (and probably http://www.ifi.uzh.ch/ddis/evo/ (the bug ontology model bits)) ?00:03
kenguestCloCkWeRX: the guys aren't here now, but I think it was nuclear_eclipse that showed some interest00:03
CloCkWeRXaw00:03
CloCkWeRXmissed him by THAT much :D00:04
kenguestlol00:04
kenguestyes00:04
siebrandCould it be that custom_field_api.php, line 276 should be:00:06
siebrand$result = db_query_bound( $query, ( ($p_custom_field_id !== null) ? Array( $p_name, $c_id ) : Array( $p_name ) ) );00:06
siebrandinstead of:00:06
siebrand$result = db_query_bound( $query, ( ($p_custom_field_id !== null) ? Array( $p_name ) : Array( $p_name, $c_id ) ) );00:06
kenguestok. time for speel^Wsleep00:07
siebrandthraxisp: could you please check the above? Gotta go to bed. Way past bedtime...00:07
siebrandthraxisp: maybe just leave it.00:12
siebrandthraxisp: if custom fields is your thing, please fiddle around in there a bit, because I think it's quite broken at the moment.00:13
siebrandzzz...00:13
CloCkWeRXnuclear_eclipse: http://www.mantisbt.org/bugs/view.php?id=10602 has all of the links you might be intested in00:32
mantisbotNew bug: Bug 10602 - CloCkWeRX - open - new00:34
mantisbotNew bug: Render metadata on bug pages (RDFa + EvoOnt or Baetle, or as RDF/XML) - http://www.mantisbt.org/bugs/view.php?id=1060200:35
nuclear_eclipseCloCkWeRX: cheers, will take a look when I get to work tomorrow :)02:18
CloCkWeRXno probs, if you have questions or other, #swig on here or just ping me by email might do the trick02:19
nuclear_eclipseok02:19
nuclear_eclipsewhat's #swig?02:19
CloCkWeRXsemantic web interest group on freenode, they can answer lots of questions about rdf/rdfa/etc if you get curious02:36
dhx_msiebrand: stick/unstick is the same meaning as the "Set/unset sticky" option in bug_actiongroup06:27
dhx_msiebrand: I agree it is hard to understand the concept of "sticking" something... maybe there is a better word other than "stick" that can used for this?06:27
dhx_msiebrand: pin?06:27
dhx_msiebrand: persistent? ... etc06:28
mantisbotNew bug: Bug 10603 - cas - open - new06:57
mantisbotNew bug: Large Attachments - http://www.mantisbt.org/bugs/view.php?id=1060306:57
siebranddhx_m: well the 'sticky' concept has been in a long time.09:00
siebranddhx_m: making it even shorter confused me :)09:00
siebranddhx_m: I've added some hints for translators09:00
[KK]Kirillsiebrand: lo10:19
siebrandhola11:01
[KK]Kirillsiebrand: Can I create in translatewiki new project?11:32
[KK]KirillIf Yes - How?11:33
siebrand[KK]Kirill: you cannot create it, but we are open to discuss support for additional projects.11:41
[KK]KirillI want add projects for Mantis Plugins such as Mediawiki extension11:42
nahuelhi, We are just asking for 2 questions :11:42
nahuel1) can a "reporter" can receive an email for his created tickets11:43
nahuel2) when the v1.2 will be released ?11:43
nuclear_eclipsenahuel, set $g_receive_email_own = ON in your config_inc11:48
nahuelcool11:48
dhx_m2) when it's ready :p11:48
nahuelthank you11:48
[KK]Kirillnuclear_eclipse: mo11:48
nahuelhow many time it should be ready ?11:48
dhx_mapparently really soon :)11:48
nuclear_eclipsesorry, $g_email_receive_own11:48
nahuelthank nuclear_eclipse11:49
nahueldhx_m, cool !11:49
nuclear_eclipsenp11:49
nahuelwe are really waiting for the new release !11:49
nahuelthis soft is a really good one11:49
dhx_mnahuel: although saying that, it won't be a stable release straight off from what I gather11:49
nuclear_eclipseglah to hear :)11:49
dhx_mnahuel: beta/RC first?11:49
nuclear_eclipseRC11:49
nahuelwell perhaps we could upgrade to RC11:50
dhx_mnahuel: but you could just check out the latest git master and follow it too11:50
dhx_mseeing as you don't seem to mind that it hasn't had a lot of testing by other people yet11:50
nahuelok cool great idea11:50
dhx_mif you do inhouse testing, stable/unstable really doesn't mean that much anyway11:50
nuclear_eclipsealso see http://www/mantisbt.org/builds/ if you don't wantto use git11:51
nahuelinhouse ?11:51
dhx_mbecause 'stable' becomes "when we've finished testing it"11:51
nahuelgit is cool :)11:51
nahuelok11:51
dhx_mrather than "when the developers say it is tested"11:51
nuclear_eclipseawesome :)11:51
* nuclear_eclipse heads to work now11:51
dhx_mhave fun :)11:52
nahuel:)11:52
[KK]Kirilldhx_m: lo12:03
dhx_m[KK]Kirill: hey12:03
[KK]Kirillnuclear_eclipse: what's errror 13?12:04
[KK]Kirilldhx_m: may be you know12:08
[KK]Kirillafter update to last git users can't create issue12:09
[KK]KirillApplication error 1312:09
dhx_mok let me see :)12:09
[KK]Kirillaccess denies12:09
[KK]Kirillaccess denied12:09
dhx_mgaaah!! git.mantisbt.org is down12:10
dhx_mcan't pull the latest12:10
dhx_mactually I'll pull from git.mantisforge.org instead12:11
dhx_mnot sure if it is the latest (I imagine it is)12:11
[KK]Kirilldhx_m: what editor are you use?12:13
dhx_m[KK]Kirill: vim12:14
[KK]Kirillfor debug?12:14
siebrand[KK]Kirill: yes, that will happen some day. Some work needs to be done, though, to support that properly. And we need branch support for Mantis, too.12:14
[KK]Kirillsiebrand: ok12:14
siebrand[KK]Kirill: if you feel like diving into our code: http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/Translate/12:15
dhx_m[KK]Kirill: nothing for debugging so far12:15
siebrand[KK]Kirill: would be happy to apply patches that can make it work.12:15
dhx_m[KK]Kirill: I can't reproduce using cf7e430979a320ec615fbab0f164e4d2b6982da5 (I'm an administrator)12:16
dhx_m[KK]Kirill: can you specify more precisely what conditions you're using to produce the bug? version from git, access level, custom stuff?, etc12:16
dhx_m[KK]Kirill: or better yet, do you know the range of commits which caused the problem?12:17
siebrand[KK]Kirill: on second thought, with some configuration, it may be doable now already for the core plugins. I'm looking into it.12:25
dhx_mpaul_: Database query failed. Error received from database was #1136: Column count doesn't match value count at row 1 for the query: INSERT INTO mantis_user_pref_table (user_id, project_id, $t_vars_string) VALUES ( ?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?).12:32
dhx_maccount_prefs_update.php12:32
nuclear_eclipsedhx_m / [KK]Kirill: `git help bisect` will give you a good introduction into the best way to narrow down which commit a bug is coming from, and then you can see what's changed to cause it12:36
[KK]KirillI upload all commit for last 7 days12:37
dhx_mso within the last 24 hours?12:38
dhx_mie. when did you last check out a working version?12:38
dhx_mnuclear_eclipse: yep12:39
dhx_mnuclear_eclipse: except if there has been a database schema upgrade in the middle... that could cause problems12:40
nuclear_eclipsepotentially, yes12:40
[KK]Kirillnuclear_eclipse: I open admin - I don't see upgrade link12:41
nuclear_eclipseI had that problem myself with trying to bisect a bug after paul made all the date changes to the schema...12:41
nuclear_eclipseadmin/install.php will do it for you12:41
dhx_mnuclear_eclipse: are you able to restart git-daemon on mantisbt.org?12:41
nuclear_eclipsenot yet -- my connections seem frozen... =\12:41
nuclear_eclipseand I don't have access to the web console to force a reboot...12:41
dhx_mah ok, I couldn't connect to the repo via ssh either so I guess that is the problem then12:42
dhx_mah, the whole server is dead it seems12:42
nuclear_eclipseyep12:42
[KK]Kirillnuclear_eclipse: not helped12:42
dhx_mI thought it was just git12:42
[KK]Kirillnuclear_eclipse: did you use eclise for debug?12:43
[KK]Kirilleclipse*12:43
nuclear_eclipseyep, Eclipse PDT (http://www.eclipse.org/pdt/)12:43
[KK]Kirilldid you debug remote for xdebug?12:45
nuclear_eclipseyep12:45
nuclear_eclipseI run XDebug on my local apache server, and use PDT to connect to that -- it works quite well12:46
[KK]Kirillbut on remote server?12:48
nuclear_eclipseI've never tried it, but it should work just as well, assuming your firewall isn't blocking the appropriate ports12:52
JanE|jobb[KK]Kirill, check this http://code.google.com/p/spectator/13:04
nuclear_eclipseJanE|jobb: will that work inside of Firefox since it's XUL, or no?13:05
JanE|jobbI believe I have used it to debug PHP scripts in FF13:06
nuclear_eclipsenvm: "To run Spectator, you need to have XulRunner installed. "13:06
* JanE|jobb hope he remembers correctly13:06
nuclear_eclipseoh well, Eclipse already works as a great debugger with PDT; no need to randomly try new tools :P13:07
JanE|jobbthe point was that it describes how to use Xdebug for remote debugging13:09
nuclear_eclipseah, ok13:09
[KK]Kirillnuclear_eclipse: I don't understand how it use13:21
[KK]Kirilloh13:21
[KK]KirillI see link to documentation13:22
nuclear_eclipsehttp://robsnotebook.com/php_debugger_pdt_xdebug has a step-by-step guide for using PDT+XDebug, in case you're curious13:22
nuclear_eclipsehttp://www.eclipse.org/pdt/documents/XDebugGuide.pdf is also a good resource13:23
[KK]Kirillnuclear_eclipse: for local all work13:23
[KK]Kirill%%%%% I don't install xdebug13:39
[KK]Kirilland I can install xdebug on asp linux13:39
dhx_mnuclear_eclipse: I'm a little concerned about __set in bug_api.php (setting a field on a bug object)13:42
dhx_mnuclear_eclipse: do we fail silently, or trigger an error?13:42
dhx_mnuclear_eclipse: I'd go with option (B) as being best, but it seems inconsistent at the moment13:43
nuclear_eclipseI'll have to look at it13:43
dhx_mnuclear_eclipse: I was fixing a bug [KK]Kirill found where the target version was being set to a blank value13:44
nuclear_eclipseI was rather lost on what the actual benefits were of moving to the new bugobject implementation anyways...13:44
dhx_mnuclear_eclipse: and I thought it'd be unwise to have a check in __set that silently returns (doing nothing) if the previous value was blank, and the new value is blank13:44
dhx_mnuclear_eclipse: sounds to me like some sort of error should be thrown, which is caught by the caller13:45
nuclear_eclipsewow, the server is somehow still responding, just extraordinarily slow....13:49
dhx_mthat's a good sign :)13:49
nuclear_eclipseit means that if I wait long enough, I might be able to `sude reboot` it :P13:49
dhx_m[KK]Kirill: http://git.mantisforge.org/w/mantisbt/dhx.git?a=commit;h=a7c2aee4db9de7524387b48064c5312da1a8d1ae13:50
dhx_mlol13:50
dhx_msounds like a runaway process consuming all the memory?13:50
nuclear_eclipseprobably13:50
dhx_mthe other thing that is nagging me is setting default bug values in class BugData using constants/magic numbers... rather than in a constructor13:52
dhx_mIMO it should be pulling config values like default_bug_priority in the constructor and applying those to the new bug object13:53
dhx_mso all of the config_get's in bug_report.php to do the same thing can then be removed13:53
[KK]Kirillnuclear_eclipse: John, dhx_m can push change to mantisbt.git on mantisforge.org?14:11
nuclear_eclipsenot the main one, no14:11
nuclear_eclipseit's just a read-only copy of git.mantisbt.org14:11
dhx_myep that's what I thought too :)14:11
[KK]Kirill:(14:12
[KK]Kirillok. what happen with mantisbt.org?14:12
nuclear_eclipse[KK]Kirill: you can add dhx's repo as a remote on your clone, and pull from his14:12
[KK]KirillI save his commit as patch and apply to my branch14:12
dhx_myeah just cherry-pick :)14:13
[KK]Kirillit's fixed bug and my mantis work14:13
dhx_mand then when the main one comes back I'll commit it properly14:13
nuclear_eclipsewoot, just got access to the web console14:46
[KK]Kirillhackers?14:47
nuclear_eclipsedunno14:47
dhx_myay :)14:47
dhx_mnow only 2hrs before it starts responding?14:47
nuclear_eclipsevictor just rebooted the server14:47
dhx_mah cool14:47
mantisbotNew bug: Bug 10604 - ischilling - open - new14:50
mantisbotNew bug: Issue with MAC OS-X and German characters - http://www.mantisbt.org/bugs/view.php?id=1060414:50
nuclear_eclipsejust poked git-daemon, so you should be able to push now14:50
dhx_mthanks :)14:50
dhx_mis it ok to merge the master back into my outdated master14:52
dhx_mcausing commit messages like: http://www.mantisbt.org/bugs/view.php?id=1060414:52
dhx_mseems a bit weird to me14:52
dhx_mactually I'll try the more complicated way of branching... resetting the master, then cherry picking14:53
nuclear_eclipsedhx_m: it's ok, but for small branches/things, I would personally prefer that you rebase it onto master for a) a more linear history, and b) less noise in the commit log14:54
dhx_mah good point, I didn't think of rebasing :)14:54
nuclear_eclipserebase is probably what you should use, not cherry-picking ;)14:54
[KK]KirillYeah.... I install xdebug on my web server15:01
dhx_m*cross fingers it worked ok*15:07
CIA-17Mantisbt: hickseydr * rbd5076906d7c /bug_report.php: Don't update target_version if no permission15:07
nuclear_eclipseding15:08
dhx_mhooray... :)15:08
phl4kxhi all15:16
phl4kxI like to put a New MENU like My View for a DEVELOPER15:16
phl4kxI modify in html_api, but the menu only see the Manager15:16
dhx_mI don't really understand... can you explain further?15:18
phl4kxyes15:20
phl4kxI have menu really15:20
phl4kxlike15:20
phl4kxADministrator15:20
phl4kxMi View15:20
phl4kxand others15:20
phl4kxI like to add a new menu for the developer15:20
phl4kxI add a menu manualy in a html_api, but only the MANAGER can see the menu15:21
dhx_mso the problem is that you've tried to add a new menu item, but only MANAGER and above can see the menu item?15:22
phl4kxyes15:22
dhx_mso I imagine you made some edits to the print_menu() function?15:23
dhx_mnot print_manage_menu()15:23
dhx_mand I imagine you probably hardcoded in these lines:15:23
dhx_m# Something Page15:25
dhx_mif( access_has_project_level( DEVELOPER ) ) {15:25
dhx_m$t_menu_options[] = '<a href="' . helper_mantis_url( 'something.php">' ) . lang_get( 'something_link' ) . '</a>';15:25
dhx_m}15:25
phl4kxnop15:25
phl4kxI only add in the function print_menu() {15:25
phl4kx# Gestion15:25
phl4kxif ( access_has_project_level( config_get( 'view_summary_threshold' ) ) ) {15:25
phl4kx$t_menu_options[] = '<a href="/nisira/index_gestion.php">' . lang_get( 'gestion' ) . '</a>';15:25
phl4kx}15:25
nuclear_eclipsefacepalm15:26
dhx_mare you sure view_summary_threshold is the correct thing to use there?15:27
dhx_mI thought normally everyone (not just developers) can view summaries?15:27
dhx_mmy bad15:27
dhx_m... I still don't see how it is linked to developer access15:27
dhx_mI don't know what your new page is though15:27
phl4kxcool15:28
phl4kxnow is OK15:28
phl4kxd15:28
phl4kx:d15:28
nuclear_eclipsephl4kx: view_summary_threshold defaults to MANAGER15:28
phl4kxI add this access_has_project_level( DEVELOPER ) )15:28
phl4kxnow is ok15:28
dhx_mwell that is bad too... but if you're just making a quick local hack it'd work15:29
phl4kxyes15:29
dhx_mthe best solution is to make a new config option in config_defaults_inc.php (and config_inc.php) for the page15:29
dhx_mdepending on what the function of your new page is15:30
phl4kxdhx_m is a link to another system15:30
phl4kxdhx_m15:30
phl4kxnuclear_eclipse15:30
nuclear_eclipsephl4kx: see $g_main_menu_custom_options = array();15:30
dhx_mah :)15:30
phl4kxsee here15:30
phl4kxhttp://soporte.nisira.com.pe15:30
phl4kx:D15:31
dhx_mnuclear_eclipse: I suppose they are added last?15:31
phl4kxwe have a ERP software15:31
phl4kxand we use Mantis for a Bug Reported15:31
phl4kxis very cool15:31
dhx_mnuclear_eclipse: where he might want to change the order15:31
dhx_mnuclear_eclipse: but yeah, I agree with your comment :)15:31
siebrand[KK]Kirill: one plugin is active.15:32
phl4kxdhx_m see http://soporte.nisira.com.pe15:32
phl4kxnuclear_eclipse see http://soporte.nisira.com.pe15:32
phl4kxwhat do you think about15:32
siebrandhttp://translatewiki.net/w/i.php?title=Special:Translate&group=out-mantis-mantiscoreformatting15:32
dhx_mphl4kx: I see a login page? :p15:32
dhx_mnice logo I suppose :)15:33
dhx_mnot sure what else to say about that page lol15:33
dhx_mI've seen everything today... a Russian install of Mantis and now a Spanish install15:33
dhx_mgood to see translation efforts are going well :)15:34
phl4kxyes15:34
phl4kxwhen I introduced mantis to here15:34
phl4kxall are happy15:34
phl4kxbefore mantis. our bugtrucking system was only by emails15:34
phl4kxjaja15:34
phl4kxhaha15:34
dhx_mgoing from nothing to something is always a good move :)15:35
phl4kxhaha15:36
phl4kxis ok :D15:36
siebrand[KK]Kirill: 2009-06-18: Support was added in translatewiki.net for MantisBT plugins Mantis Core Formatting (9), Mantis Graph (17), and Xml Import Export (17)16:43
paul_nuclear_eclipse: apache again I assume ?16:49
Reapazoris there a reason files like rss_api.php16:50
Reapazordo not have closing ?>16:50
Reapazor(nightly build)16:50
Reapazoractually for that matter like 100% of the files dont have closing ?> /16:58
dhx_mReapazor: B.2.1 @ http://framework.zend.com/manual/en/coding-standard.php-file-formatting.html16:59
Reapazorahh :)17:00
Reapazorlol well then dont i look like an idiot :)17:00
dhx_mReapazor: well I didn't know that until I just googled it :)17:00
dhx_mReapazor: seems quite non-intuitive17:01
nuclear_eclipsethe reason is because blank lines after the ?> get sent as whitespace output, which a) breaks HTTP headers that have not yet been sent, and b) is extra data that makes the HTML bigger and uglier17:06
Reapazorheh, im trying to figure out why my rss feed does not work ;/17:06
Reapazori've got it turned on in the config17:06
Reapazorbut still getting 'blank'17:06
Reapazori googled and found someone complaining about that :)17:06
Reapazorthought it was a chance17:07
dhx_mnuclear_eclipse: is that online white space after ?> in the current file... or does it include white space after a require statement?17:07
dhx_ms/online/only17:07
nuclear_eclipseanything outside <?php ?> gets sent to the client, including blank lines or any whitespace after the final ?> in a file17:08
dhx_myep, doesn't really sound like too much of a problem to me if people are using editors that highlight trailing white space17:09
dhx_mbut I guess that doesn't happen often :)17:09
nuclear_eclipsewell, the real problem is not editors, but editors+VCS17:09
nuclear_eclipsethere are some combinations that will result in extra linebreaks that the developer never intended17:10
dhx_mah ok17:11
Reapazori totally get why when i read the article :)17:11
Reapazorit was a 'oh damn i should have realized this"17:12
Reapazornice17:17
Reapazori've tracked it down to the issues_rss file not going passed line 40 ... time to narrow down that next block :)17:18
CIA-17Mantisbt: jreese * r62ea8318c349 /.gitignore: More .gitignore entries for Eclipse.17:28
paul_nuclear_eclipse: apache again I assume ?17:29
* paul_ lsaps nuclear_eclipse 17:29
Reapazor:/ $t_bug = bug_get( $row['id'], true ); (ln 171) my culprit :/ now to debug that function lol17:29
nuclear_eclipsefor the server going non-responsive?17:29
paul_yes17:29
paul_I might add it to my server monitoring17:29
nuclear_eclipseReapazor: I bet that's a side effect of paul_'s latest updates to how bug objects are handled17:30
paul_i'll look now17:30
nuclear_eclipsethis is why I've yet to put the live site on latest git master....17:31
paul_:)17:31
paul_I think we should release a beta snapsshot17:31
paul_now17:31
paul_then rc in a week or something ;p17:31
nuclear_eclipsefix rss first, and then I'll consider it17:32
paul_rss is second17:32
Reapazor:)17:32
Reapazorim working on rss atm17:32
nuclear_eclipsepaul_: what's first?17:33
Reapazorpaul_ where is bug_get() ?17:33
paul_nuclear_eclipse: are you scared?17:33
nuclear_eclipseprobably17:33
Reapazor(aptana aint finding it (*fail*))17:33
Reapazorwait maybe thats the problem17:34
Reapazorfunction doesnt exist LOL17:34
paul_bug_get is in bug_api17:34
nuclear_eclipseReapazor: that's why I'm saying it was a side effect of paul's recent changes to bug_api17:34
Reapazorheh :)17:34
dhx_mnuclear_eclipse: don't release until user_prefs_update works again :p17:36
nuclear_eclipseit doesn't?17:36
dhx_mDatabase query failed. Error received from database was #1136: Column count doesn't match value count at row 1 for the query: INSERT INTO mantis_user_pref_table (user_id, project_id, $t_vars_string) VALUES ( ?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?).17:36
* paul_ sighs17:36
dhx_msame thing as yesterday I think paul17:37
paul_fine i'll look at that next :P17:37
dhx_mI'd fix it but I have no idea what is going on :p17:37
nuclear_eclipseprefs seems to work on my end...17:37
dhx_mbtw paul_ : what are your thoughts on using PHPs try/catch stuff?17:37
dhx_mnuclear_eclipse: when you try to update your own preferences?17:37
nuclear_eclipseyep, it works fine, but it's probably not doing on insert - just realized that17:38
paul_right now, I've got a more important question17:38
nuclear_eclipsedhx_m: ok, I dropped my pref row from the db, went to update prefs, and hit that error -- confirmed17:39
dhx_mnuclear_eclipse: ok cool :)17:39
paul_who did last commit?17:39
* paul_ looks at dhx17:39
nuclear_eclipsetechnically me17:39
nuclear_eclipseupdated .gitignore17:40
dhx_mwasn't me :p17:40
nuclear_eclipsewhy?17:40
dhx_mhe probably has to worry about updating his master to the latest now :p17:40
nuclear_eclipse`git pull --rebase`17:41
Reapazorso for paul_17:41
Reapazorissue is calling bug_get17:41
Reapazorbut the function isnt executing17:41
Reapazor(not even a single line)17:41
Reapazorthoughts?17:41
Reapazor[the api was loaded]17:42
nuclear_eclipseReapazor: turn on detailed error reporting in Mantis, see if it gives you any info, or check your server's error log17:42
dhx_myep, $g_show_detailed_errors = ON; in config_inc.php17:43
Reapazornothing17:44
Reapazorstill a blank page ;/17:44
Reapazor[when i remove my obligatory echo's for locations in files that its reached )17:44
paul_hmmmmmmmmm17:46
dhx_mReapazor: how do I use RSS... I've never tried it17:46
dhx_mReapazor: I have it enabled but I don't see any RSS icons/links anywhere17:47
paul_has anyone touched error api ?17:47
dhx_mnope17:47
nuclear_eclipsedhx_m: the rss icon is in the top right, next to the "switch" button17:47
paul_someone's broken something :(17:47
Reapazoractually it shows errors when i dont use any variables in the url17:47
nuclear_eclipseit's a rather "dumb" rss anyways17:48
dhx_mnuclear_eclipse: oh lol, thanks17:48
dhx_mFatal error: Cannot use object of type BugData as array in /var/www/localhost/htdocs/mantis-git/issues_rss.php on line 17417:48
paul_interestingly17:50
paul_mysqli_connect seems to have some stupid timeout17:50
Reapazorseems that its broken when its a authenticated user trying to view17:53
Reapazortesting that theory right now17:53
Reapazorsetting up an anonymous account17:54
dhx_mReapazor: the error is the one I just pasted :)17:54
Reapazor:)17:54
dhx_mReapazor: not to do with auth... rather, something to do with passing objects in PHP17:54
Reapazor;/17:54
Reapazorfair enough17:54
Reapazorhmf ...maybe i should downgrade to a stable build17:54
dhx_mReapazor: nah wait, we'll have it fixed soon17:54
paul_right17:54
paul_what else needs fixing ?17:55
dhx_mpaul_: issues_rss.php:17417:55
Reapazorlol :)17:55
dhx_m$t_bug = bug_get( $row['id'], true );17:55
paul_yes after that17:56
dhx_mah17:56
dhx_mupdating user prefs17:56
dhx_m(when those prefs don't already exist)17:56
Reapazorill keep checking git for a fix :)17:56
dhx_mie. inserting new preferences into the database17:56
paul_dhx_m: which file/pagE?17:56
dhx_mpaul_: stack trace follows...17:58
paul_no17:58
paul_fixed17:58
dhx_mah :)17:59
dhx_muser_pref_api.php:30017:59
dhx_m( <string>'INSERT INTO mantis_user_pref_table (user_id, project_id, $t_vars_string) VALUES ( ?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)', <Array> { [0] => 2, [1] => 0, [2] => 0, [3] => 0, [4] =>....etc17:59
paul_yea, fixed17:59
dhx_m:)17:59
dhx_mso rss, user_pref both fixed?18:00
dhx_mI think that is all I have for now18:00
Reapazorfix commited to git?18:00
dhx_mReapazor: not yet, you'll see a message here when it is18:01
Reapazorthnx :)18:01
Reapazormuch love.18:01
dhx_mpaul_: can I commit something?18:05
paul_sure18:05
paul_I'm buying a gun18:05
dhx_mhaha18:05
dhx_mhow long will you be then? :p18:05
dhx_mok just rebase then... should be easy18:06
dhx_mI'm only moving 2 lines in project_api.php18:07
paul_dhx_m: just commit ;p18:07
dhx_mk18:12
CIA-17Mantisbt: hickseydr * rb458820086f8 /core/project_api.php: Don't add trailing slash to project upload path18:13
paul_didn't you already push that18:13
dhx_m1st one was for creating projects18:13
dhx_mthen I just tried updating...18:13
dhx_mthat summary title is kinda wrong18:13
dhx_mit is too hard fitting it within the 50 char limit18:13
paul_50char limit?18:14
dhx_mgit starts to highlight anything over 50 chars when writing a commit message18:15
dhx_mat least for me it does18:15
dhx_mso I thought maybe it is best practice to keep it < 5018:15
nuclear_eclipse"proper" git comment style is that the summary is <= 50 chars, skip a line, and the main body has lines <= 70 chars each18:16
dhx_myep that's what vim tells me to do :)18:16
paul_xml18:17
nuclear_eclipsealthough if you a) disable vim's git detection, or b) use -m "<comment>" on the command line like I do, Git will store any comment you can throw at it18:17
dhx_mI always use the full blown editor ;)18:17
* paul_ sighs18:18
dhx_mthat's not fair... custom fields get their own read/write thresholds and default fields don't?18:19
nuclear_eclipselol18:19
* dhx_m continues mission to break Mantis during testing so paul_ has more things to fix :p18:20
dhx_mand to be honest, the manage_custom_field_edit_page.php layout is REALLY confusing18:20
* nuclear_eclipse removes dhx's push rights...18:21
dhx_mwould make more sense IMO to force the user to specify the type of field when specifying the name18:21
Reapazorlol )18:21
dhx_mhaha18:21
dhx_mand then in manage_custom_field_edit_page.php - only show options relevant to the field type18:21
nuclear_eclipsedhx_m: you'll learn eventually that if you ever want paul to actually *commit* anything, you have to do everythin possible to keep him focused on one task18:21
dhx_mfor instance, a radio button field doesn't have "possible values"18:22
dhx_mlol18:22
nuclear_eclipseif you keep finding more things for him to "fix", he'll never actually push anything, and then we end up with 100 random commits in a branch and a hail-mary push that just ends up breaking even more things....18:22
paul_I was just editing a file18:23
dhx_mlol18:23
paul_and now I can't find it ;/18:23
dhx_mhow does db_param() work?18:26
nuclear_eclipsemagic18:26
dhx_mseems like it... I should read into it... seems like a placeholder that is overwritten later when running the actual query?18:26
nuclear_eclipseit returns a placeholder appropriate for the database type  being used18:26
nuclear_eclipseat the time of executing the query, the database itself inserts the values into the placeholders, eliminating potential SQL injections18:27
dhx_mseems reasonable18:28
dhx_mjust came across this error:18:28
dhx_mDatabase query failed. Error received from database was #1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3 for the query: SELECT COUNT(*)18:28
dhx_mFROM mantis_custom_field_table18:28
dhx_mWHERE name=? AND (id <> ?).18:28
dhx_mfrom:18:28
dhx_m/var/www/localhost/htdocs/mantis-git/core/custom_field_api.php460--custom_field_is_name_unique( <string>'aaa', <integer>1 )18:29
dhx_mdb_query_bound is getting called with these arguments:18:29
dhx_m( <string>'SELECT COUNT(*) FROM mantis_custom_field_table WHERE name=? AND (id <> ?)', <Array> { [0] => 'aaa' } )18:29
nuclear_eclipsenot enough parameters are being passed18:30
dhx_m$result = db_query_bound( $query, ( ($p_custom_field_id !== null) ? Array( $p_name ) : Array( $p_name, $c_id ) ) );18:30
dhx_mI wonder if that !== is ok18:30
nuclear_eclipsesiebrand pointed that out I think18:31
nuclear_eclipseit should be reverse logic18:31
dhx_mah yes, you're right18:31
dhx_mI'll commit it18:32
dhx_mgood eye :)18:32
paul_yea18:32
paul_i've already fixed that18:32
dhx_mpush it already :p18:32
nuclear_eclipseonly cause I remember it getting mentioned earlier :P18:32
dhx_mlol18:32
siebrandcustom fields is an area that needs some solid QA. Especially with non-ASCII custom fields, and combined with columns management for specific projects.18:33
siebrandgot some really weird errors last night.18:33
dhx_myep this is the first time I've played with it18:34
paul_fatal: 'master' does not appear to be a git repository18:35
paul_huh?18:35
Reapazori've seen a project_api fix go in :) that isnt the  bug_get fix is it ?18:36
paul_$ git push18:36
paul_warning: You did not specify any refspecs to push, and the current remote18:36
paul_warning: has not configured any push refspecs. The default action in this18:36
paul_warning: case is to push all matching refspecs, that is, all branches18:36
paul_warning: that exist both locally and remotely will be updated.  This may18:36
paul_warning: not necessarily be what you want to happen.18:36
paul_wha?18:36
nuclear_eclipsepaul_: you're on a local branch I presume?18:36
dhx_mlol @ the radio field showing a value of '1' instead of say... ON or OFF18:36
dhx_mI know I frequently do my work in binary :p18:36
dhx_msuggestions I have for the manage_custom_field_edit_page.php strings are:18:37
dhx_m1) Possible values... comma separated?18:38
dhx_m2) Sequence... ?!?what18:38
dhx_mI guess sequence is "display order"18:38
nuclear_eclipse1) use |18:38
nuclear_eclipse2) yes18:39
dhx_mfor 2) can I rename it to "Display Order"?18:39
* nuclear_eclipse slaps dhx_m 18:39
nuclear_eclipseHeresy!18:39
dhx_mor does it have a deeper meaning?18:40
dhx_m"sequence" is too geeky even for me18:40
dhx_mI thought I was operating a nuclear submarine when I went to create my first custom field :p18:40
nuclear_eclipsethee Mantis doth have spoketh unto the Strings and sayeth: "Thou shalt use thee Sequence" and it was Good18:41
dhx_mlol well I guess it makes sense now someone told me18:42
dhx_mthat page really needs to be used only when you've got a manual open18:42
dhx_manyhow, I'm outta here18:43
dhx_mcya later :)18:43
nuclear_eclipsecheers18:43
dhx_mand I hope paul_ has committed before I get back :p18:43
paul_nuclear_eclipse: yep18:45
nuclear_eclipseyep to what?18:45
paul_19:46 < nuclear_eclipse> paul_: you're on a local branch I presume?18:45
paul_i'm on local master branch18:45
nuclear_eclipsedid you blow away your local master at some point?18:46
paul_no?18:46
paul_i'm on my local master18:46
nuclear_eclipseI mean, at some point in the past did you delete and recreate your local master branch?18:47
paul_no18:47
nuclear_eclipsehmm18:47
paul_I just want to push18:47
nuclear_eclipsetry doing `git push origin master` and see what it says18:47
paul_yep18:48
paul_now why i need to do that now?18:48
CIA-17Mantisbt: paul * r5922a89775b2 /core/custom_field_api.php: Fix bug in custom field api18:48
CIA-17Mantisbt: paul * r3f9fa830eb3d /core/user_pref_api.php: Fix user preference (INSERT query)18:48
CIA-17Mantisbt: paul * re0051bb319a6 /core/config_api.php: remove yet another absolute path from require_once18:48
CIA-17Mantisbt: paul * re6ef953ccc08 /core/utility_api.php: Optimise is_blank( as this gets called a lot) to call strlen directly not the utf8 compat stuff - we are only looking for an empty string after all.18:48
CIA-17Mantisbt: paul * r73de2146a8f7 / (4 files in 3 dirs): Fix: rss/export functionality with bugobjects18:48
nuclear_eclipsesomehow your repo no longer associates your local master as tracking the remote master18:48
* Reapazor looks around ... yay that looks like it !18:48
paul_nuclear_eclipse: so what do I need to do?18:49
nuclear_eclipsepaul_: going to tell you how to delete and recreate your local master as a tracking branch, k?18:49
nuclear_eclipse`git checkout origin/master; git branch -D master; git checkout -b master origin/master`18:50
paul_will that break anything?18:51
nuclear_eclipseshouldn't18:51
paul_that still gives same message?18:54
nuclear_eclipsepaul_: paste your .git/config to pastebin?18:54
Reapazorso paul_ ...18:54
Reapazori see you fixed the rss :)18:54
Reapazorcatch 22 -- is the API broken as well ?18:55
paul_http://mantisbt.pastebin.com/d7e627af318:55
paul_Reapazor: ?18:55
ReapazorI'm trying to configure Mindtouch's Mantis plugin ;/18:55
Reapazorand its giving the same error18:55
Reapazoras the rss feed was prior18:55
Reapazor;/18:55
paul_wtf is mindtouch? :P18:55
Reapazorsec :)18:55
Reapazorhttp://developer.mindtouch.com/Deki/Extensions/Mantis18:56
Reapazorits a commercial wiki18:56
nuclear_eclipsepaul_: that config looks correct for automatically doing push/pull from origin...18:56
paul_nuclear_eclipse: it doesn't work anymore ;/18:56
nuclear_eclipseReapazor: basically, the Mantis API has changed a *lot* thanks to Paul ;)18:56
paul_it used to work18:56
Reapazoroh ...18:56
paul_Reapazor: does source exist?18:56
Reapazorthe extensions source should18:57
Reapazorsec lemme get it18:57
paul_where18:57
Reapazoror a link to it for ya18:57
paul_nuclear_eclipse: so why does't it workanymore? ;/18:57
nuclear_eclipseno clue18:57
paul_could it be due to updating git ?18:57
nuclear_eclipseshouldn't be...18:58
paul_I could rm branch18:58
paul_and re-clone18:58
paul_let me do that18:59
paul_or I just type git push origin master right?18:59
paul_ecah time18:59
nuclear_eclipseright19:02
paul_ahh i see19:05
paul_Reapazor: it uses the soap api19:05
paul_nuclear_eclipse: how do we develop the soap api? ;/19:06
nuclear_eclipseby telling Victor or Giallu to fix anything we break :P19:06
Reapazorpaul_: https://svn.mindtouch.com/source/public/dekiwiki/trunk/src/services/DekiServices/Extension/MantisService.cs19:07
Reapazorthere is the source for the extension19:07
paul_you can test it?19:07
Reapazorya :)19:07
paul_what soap call breaks?19:07
Reapazorhttp://pastebin.ca/146520019:08
Reapazorits more access denied....19:09
Reapazorit seems maybe how user auth is passed19:09
Reapazormight have changed?19:09
Reapazor(im gonna right up anonymous access again19:09
Reapazorsee if that resolves19:09
Reapazordang even with anonymous on ;/ doesnt go away19:13
paul_daryn: fix soap19:18
darynwhat's broken?  I don't even mess with soap19:19
Reapazorlol ?19:19
Reapazorits all little old mes fault ;/19:22
paul_?19:22
paul_hmm?19:22
Reapazorfor pointing it out :)19:22
darynpaul_ always yells at me to fix soap but I don't think i've ever committed anything to soap.  And if I did it was accidental19:23
paul_daryn: well, john/myself can't :P19:23
paul_Reapazor:19:26
paul_you know that backtrace says access deinied?19:26
paul_Reapazor: try testing that19:29
CIA-17Mantisbt: paul * ra494b0fc7a73 /api/soap/ (mc_issue_api.php mc_project_api.php): Update soap for new API (untested)19:29
Reapazorlol k sec19:39
Reapazorsorry was working on sometthing else ;/19:39
Reapazornope still access denied (tho i turned off anonymous_)19:41
Reapazorwill turn it back on19:41
Reapazorno luck19:43
paul_what error19:43
Reapazorstill access denied19:43
ReapazorBUT one of the functions a direct link19:43
Reapazorcame back with :19:43
ReapazorSystem.Net.WebException: The request failed with HTTP status 302: Found19:43
paul_was it working before?19:49
Reapazorno19:50
Reapazorall three tests failed prior19:50
paul_siebrand_alt: you there?23:06

Generated by irclog2html.py