| ../irclogs/#mantishelp.2009-06-18.log | ||
| --- scribe started --- | 00:00 | |
| kenguest | lo CloCkWeRX | 00:01 |
|---|---|---|
| CloCkWeRX | :) | 00:02 |
| CloCkWeRX | kenguest 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 |
| kenguest | CloCkWeRX: the guys aren't here now, but I think it was nuclear_eclipse that showed some interest | 00:03 |
| CloCkWeRX | aw | 00:03 |
| CloCkWeRX | missed him by THAT much :D | 00:04 |
| kenguest | lol | 00:04 |
| kenguest | yes | 00:04 |
| siebrand | Could 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 |
| siebrand | instead of: | 00:06 |
| siebrand | $result = db_query_bound( $query, ( ($p_custom_field_id !== null) ? Array( $p_name ) : Array( $p_name, $c_id ) ) ); | 00:06 |
| kenguest | ok. time for speel^Wsleep | 00:07 |
| siebrand | thraxisp: could you please check the above? Gotta go to bed. Way past bedtime... | 00:07 |
| siebrand | thraxisp: maybe just leave it. | 00:12 |
| siebrand | thraxisp: 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 |
| siebrand | zzz... | 00:13 |
| CloCkWeRX | nuclear_eclipse: http://www.mantisbt.org/bugs/view.php?id=10602 has all of the links you might be intested in | 00:32 |
| mantisbot | New bug: Bug 10602 - CloCkWeRX - open - new | 00:34 |
| mantisbot | New bug: Render metadata on bug pages (RDFa + EvoOnt or Baetle, or as RDF/XML) - http://www.mantisbt.org/bugs/view.php?id=10602 | 00:35 |
| nuclear_eclipse | CloCkWeRX: cheers, will take a look when I get to work tomorrow :) | 02:18 |
| CloCkWeRX | no probs, if you have questions or other, #swig on here or just ping me by email might do the trick | 02:19 |
| nuclear_eclipse | ok | 02:19 |
| nuclear_eclipse | what's #swig? | 02:19 |
| CloCkWeRX | semantic web interest group on freenode, they can answer lots of questions about rdf/rdfa/etc if you get curious | 02:36 |
| dhx_m | siebrand: stick/unstick is the same meaning as the "Set/unset sticky" option in bug_actiongroup | 06:27 |
| dhx_m | siebrand: 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_m | siebrand: pin? | 06:27 |
| dhx_m | siebrand: persistent? ... etc | 06:28 |
| mantisbot | New bug: Bug 10603 - cas - open - new | 06:57 |
| mantisbot | New bug: Large Attachments - http://www.mantisbt.org/bugs/view.php?id=10603 | 06:57 |
| siebrand | dhx_m: well the 'sticky' concept has been in a long time. | 09:00 |
| siebrand | dhx_m: making it even shorter confused me :) | 09:00 |
| siebrand | dhx_m: I've added some hints for translators | 09:00 |
| [KK]Kirill | siebrand: lo | 10:19 |
| siebrand | hola | 11:01 |
| [KK]Kirill | siebrand: Can I create in translatewiki new project? | 11:32 |
| [KK]Kirill | If Yes - How? | 11:33 |
| siebrand | [KK]Kirill: you cannot create it, but we are open to discuss support for additional projects. | 11:41 |
| [KK]Kirill | I want add projects for Mantis Plugins such as Mediawiki extension | 11:42 |
| nahuel | hi, We are just asking for 2 questions : | 11:42 |
| nahuel | 1) can a "reporter" can receive an email for his created tickets | 11:43 |
| nahuel | 2) when the v1.2 will be released ? | 11:43 |
| nuclear_eclipse | nahuel, set $g_receive_email_own = ON in your config_inc | 11:48 |
| nahuel | cool | 11:48 |
| dhx_m | 2) when it's ready :p | 11:48 |
| nahuel | thank you | 11:48 |
| [KK]Kirill | nuclear_eclipse: mo | 11:48 |
| nahuel | how many time it should be ready ? | 11:48 |
| dhx_m | apparently really soon :) | 11:48 |
| nuclear_eclipse | sorry, $g_email_receive_own | 11:48 |
| nahuel | thank nuclear_eclipse | 11:49 |
| nahuel | dhx_m, cool ! | 11:49 |
| nuclear_eclipse | np | 11:49 |
| nahuel | we are really waiting for the new release ! | 11:49 |
| nahuel | this soft is a really good one | 11:49 |
| dhx_m | nahuel: although saying that, it won't be a stable release straight off from what I gather | 11:49 |
| nuclear_eclipse | glah to hear :) | 11:49 |
| dhx_m | nahuel: beta/RC first? | 11:49 |
| nuclear_eclipse | RC | 11:49 |
| nahuel | well perhaps we could upgrade to RC | 11:50 |
| dhx_m | nahuel: but you could just check out the latest git master and follow it too | 11:50 |
| dhx_m | seeing as you don't seem to mind that it hasn't had a lot of testing by other people yet | 11:50 |
| nahuel | ok cool great idea | 11:50 |
| dhx_m | if you do inhouse testing, stable/unstable really doesn't mean that much anyway | 11:50 |
| nuclear_eclipse | also see http://www/mantisbt.org/builds/ if you don't wantto use git | 11:51 |
| nahuel | inhouse ? | 11:51 |
| dhx_m | because 'stable' becomes "when we've finished testing it" | 11:51 |
| nahuel | git is cool :) | 11:51 |
| nahuel | ok | 11:51 |
| dhx_m | rather than "when the developers say it is tested" | 11:51 |
| nuclear_eclipse | awesome :) | 11:51 |
| * nuclear_eclipse heads to work now | 11:51 | |
| dhx_m | have fun :) | 11:52 |
| nahuel | :) | 11:52 |
| [KK]Kirill | dhx_m: lo | 12:03 |
| dhx_m | [KK]Kirill: hey | 12:03 |
| [KK]Kirill | nuclear_eclipse: what's errror 13? | 12:04 |
| [KK]Kirill | dhx_m: may be you know | 12:08 |
| [KK]Kirill | after update to last git users can't create issue | 12:09 |
| [KK]Kirill | Application error 13 | 12:09 |
| dhx_m | ok let me see :) | 12:09 |
| [KK]Kirill | access denies | 12:09 |
| [KK]Kirill | access denied | 12:09 |
| dhx_m | gaaah!! git.mantisbt.org is down | 12:10 |
| dhx_m | can't pull the latest | 12:10 |
| dhx_m | actually I'll pull from git.mantisforge.org instead | 12:11 |
| dhx_m | not sure if it is the latest (I imagine it is) | 12:11 |
| [KK]Kirill | dhx_m: what editor are you use? | 12:13 |
| dhx_m | [KK]Kirill: vim | 12:14 |
| [KK]Kirill | for 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]Kirill | siebrand: ok | 12: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 far | 12: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?, etc | 12: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_m | paul_: 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_m | account_prefs_update.php | 12:32 |
| nuclear_eclipse | dhx_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 it | 12:36 |
| [KK]Kirill | I upload all commit for last 7 days | 12:37 |
| dhx_m | so within the last 24 hours? | 12:38 |
| dhx_m | ie. when did you last check out a working version? | 12:38 |
| dhx_m | nuclear_eclipse: yep | 12:39 |
| dhx_m | nuclear_eclipse: except if there has been a database schema upgrade in the middle... that could cause problems | 12:40 |
| nuclear_eclipse | potentially, yes | 12:40 |
| [KK]Kirill | nuclear_eclipse: I open admin - I don't see upgrade link | 12:41 |
| nuclear_eclipse | I had that problem myself with trying to bisect a bug after paul made all the date changes to the schema... | 12:41 |
| nuclear_eclipse | admin/install.php will do it for you | 12:41 |
| dhx_m | nuclear_eclipse: are you able to restart git-daemon on mantisbt.org? | 12:41 |
| nuclear_eclipse | not yet -- my connections seem frozen... =\ | 12:41 |
| nuclear_eclipse | and I don't have access to the web console to force a reboot... | 12:41 |
| dhx_m | ah ok, I couldn't connect to the repo via ssh either so I guess that is the problem then | 12:42 |
| dhx_m | ah, the whole server is dead it seems | 12:42 |
| nuclear_eclipse | yep | 12:42 |
| [KK]Kirill | nuclear_eclipse: not helped | 12:42 |
| dhx_m | I thought it was just git | 12:42 |
| [KK]Kirill | nuclear_eclipse: did you use eclise for debug? | 12:43 |
| [KK]Kirill | eclipse* | 12:43 |
| nuclear_eclipse | yep, Eclipse PDT (http://www.eclipse.org/pdt/) | 12:43 |
| [KK]Kirill | did you debug remote for xdebug? | 12:45 |
| nuclear_eclipse | yep | 12:45 |
| nuclear_eclipse | I run XDebug on my local apache server, and use PDT to connect to that -- it works quite well | 12:46 |
| [KK]Kirill | but on remote server? | 12:48 |
| nuclear_eclipse | I've never tried it, but it should work just as well, assuming your firewall isn't blocking the appropriate ports | 12:52 |
| JanE|jobb | [KK]Kirill, check this http://code.google.com/p/spectator/ | 13:04 |
| nuclear_eclipse | JanE|jobb: will that work inside of Firefox since it's XUL, or no? | 13:05 |
| JanE|jobb | I believe I have used it to debug PHP scripts in FF | 13:06 |
| nuclear_eclipse | nvm: "To run Spectator, you need to have XulRunner installed. " | 13:06 |
| * JanE|jobb hope he remembers correctly | 13:06 | |
| nuclear_eclipse | oh well, Eclipse already works as a great debugger with PDT; no need to randomly try new tools :P | 13:07 |
| JanE|jobb | the point was that it describes how to use Xdebug for remote debugging | 13:09 |
| nuclear_eclipse | ah, ok | 13:09 |
| [KK]Kirill | nuclear_eclipse: I don't understand how it use | 13:21 |
| [KK]Kirill | oh | 13:21 |
| [KK]Kirill | I see link to documentation | 13:22 |
| nuclear_eclipse | http://robsnotebook.com/php_debugger_pdt_xdebug has a step-by-step guide for using PDT+XDebug, in case you're curious | 13:22 |
| nuclear_eclipse | http://www.eclipse.org/pdt/documents/XDebugGuide.pdf is also a good resource | 13:23 |
| [KK]Kirill | nuclear_eclipse: for local all work | 13:23 |
| [KK]Kirill | %%%%% I don't install xdebug | 13:39 |
| [KK]Kirill | and I can install xdebug on asp linux | 13:39 |
| dhx_m | nuclear_eclipse: I'm a little concerned about __set in bug_api.php (setting a field on a bug object) | 13:42 |
| dhx_m | nuclear_eclipse: do we fail silently, or trigger an error? | 13:42 |
| dhx_m | nuclear_eclipse: I'd go with option (B) as being best, but it seems inconsistent at the moment | 13:43 |
| nuclear_eclipse | I'll have to look at it | 13:43 |
| dhx_m | nuclear_eclipse: I was fixing a bug [KK]Kirill found where the target version was being set to a blank value | 13:44 |
| nuclear_eclipse | I was rather lost on what the actual benefits were of moving to the new bugobject implementation anyways... | 13:44 |
| dhx_m | nuclear_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 blank | 13:44 |
| dhx_m | nuclear_eclipse: sounds to me like some sort of error should be thrown, which is caught by the caller | 13:45 |
| nuclear_eclipse | wow, the server is somehow still responding, just extraordinarily slow.... | 13:49 |
| dhx_m | that's a good sign :) | 13:49 |
| nuclear_eclipse | it means that if I wait long enough, I might be able to `sude reboot` it :P | 13:49 |
| dhx_m | [KK]Kirill: http://git.mantisforge.org/w/mantisbt/dhx.git?a=commit;h=a7c2aee4db9de7524387b48064c5312da1a8d1ae | 13:50 |
| dhx_m | lol | 13:50 |
| dhx_m | sounds like a runaway process consuming all the memory? | 13:50 |
| nuclear_eclipse | probably | 13:50 |
| dhx_m | the other thing that is nagging me is setting default bug values in class BugData using constants/magic numbers... rather than in a constructor | 13:52 |
| dhx_m | IMO it should be pulling config values like default_bug_priority in the constructor and applying those to the new bug object | 13:53 |
| dhx_m | so all of the config_get's in bug_report.php to do the same thing can then be removed | 13:53 |
| [KK]Kirill | nuclear_eclipse: John, dhx_m can push change to mantisbt.git on mantisforge.org? | 14:11 |
| nuclear_eclipse | not the main one, no | 14:11 |
| nuclear_eclipse | it's just a read-only copy of git.mantisbt.org | 14:11 |
| dhx_m | yep that's what I thought too :) | 14:11 |
| [KK]Kirill | :( | 14:12 |
| [KK]Kirill | ok. 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 his | 14:12 |
| [KK]Kirill | I save his commit as patch and apply to my branch | 14:12 |
| dhx_m | yeah just cherry-pick :) | 14:13 |
| [KK]Kirill | it's fixed bug and my mantis work | 14:13 |
| dhx_m | and then when the main one comes back I'll commit it properly | 14:13 |
| nuclear_eclipse | woot, just got access to the web console | 14:46 |
| [KK]Kirill | hackers? | 14:47 |
| nuclear_eclipse | dunno | 14:47 |
| dhx_m | yay :) | 14:47 |
| dhx_m | now only 2hrs before it starts responding? | 14:47 |
| nuclear_eclipse | victor just rebooted the server | 14:47 |
| dhx_m | ah cool | 14:47 |
| mantisbot | New bug: Bug 10604 - ischilling - open - new | 14:50 |
| mantisbot | New bug: Issue with MAC OS-X and German characters - http://www.mantisbt.org/bugs/view.php?id=10604 | 14:50 |
| nuclear_eclipse | just poked git-daemon, so you should be able to push now | 14:50 |
| dhx_m | thanks :) | 14:50 |
| dhx_m | is it ok to merge the master back into my outdated master | 14:52 |
| dhx_m | causing commit messages like: http://www.mantisbt.org/bugs/view.php?id=10604 | 14:52 |
| dhx_m | seems a bit weird to me | 14:52 |
| dhx_m | actually I'll try the more complicated way of branching... resetting the master, then cherry picking | 14:53 |
| nuclear_eclipse | dhx_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 log | 14:54 |
| dhx_m | ah good point, I didn't think of rebasing :) | 14:54 |
| nuclear_eclipse | rebase is probably what you should use, not cherry-picking ;) | 14:54 |
| [KK]Kirill | Yeah.... I install xdebug on my web server | 15:01 |
| dhx_m | *cross fingers it worked ok* | 15:07 |
| CIA-17 | Mantisbt: hickseydr * rbd5076906d7c /bug_report.php: Don't update target_version if no permission | 15:07 |
| nuclear_eclipse | ding | 15:08 |
| dhx_m | hooray... :) | 15:08 |
| phl4kx | hi all | 15:16 |
| phl4kx | I like to put a New MENU like My View for a DEVELOPER | 15:16 |
| phl4kx | I modify in html_api, but the menu only see the Manager | 15:16 |
| dhx_m | I don't really understand... can you explain further? | 15:18 |
| phl4kx | yes | 15:20 |
| phl4kx | I have menu really | 15:20 |
| phl4kx | like | 15:20 |
| phl4kx | ADministrator | 15:20 |
| phl4kx | Mi View | 15:20 |
| phl4kx | and others | 15:20 |
| phl4kx | I like to add a new menu for the developer | 15:20 |
| phl4kx | I add a menu manualy in a html_api, but only the MANAGER can see the menu | 15:21 |
| dhx_m | so 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 |
| phl4kx | yes | 15:22 |
| dhx_m | so I imagine you made some edits to the print_menu() function? | 15:23 |
| dhx_m | not print_manage_menu() | 15:23 |
| dhx_m | and I imagine you probably hardcoded in these lines: | 15:23 |
| dhx_m | # Something Page | 15:25 |
| dhx_m | if( 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 |
| phl4kx | nop | 15:25 |
| phl4kx | I only add in the function print_menu() { | 15:25 |
| phl4kx | # Gestion | 15:25 |
| phl4kx | if ( 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_eclipse | facepalm | 15:26 |
| dhx_m | are you sure view_summary_threshold is the correct thing to use there? | 15:27 |
| dhx_m | I thought normally everyone (not just developers) can view summaries? | 15:27 |
| dhx_m | my bad | 15:27 |
| dhx_m | ... I still don't see how it is linked to developer access | 15:27 |
| dhx_m | I don't know what your new page is though | 15:27 |
| phl4kx | cool | 15:28 |
| phl4kx | now is OK | 15:28 |
| phl4kx | d | 15:28 |
| phl4kx | :d | 15:28 |
| nuclear_eclipse | phl4kx: view_summary_threshold defaults to MANAGER | 15:28 |
| phl4kx | I add this access_has_project_level( DEVELOPER ) ) | 15:28 |
| phl4kx | now is ok | 15:28 |
| dhx_m | well that is bad too... but if you're just making a quick local hack it'd work | 15:29 |
| phl4kx | yes | 15:29 |
| dhx_m | the best solution is to make a new config option in config_defaults_inc.php (and config_inc.php) for the page | 15:29 |
| dhx_m | depending on what the function of your new page is | 15:30 |
| phl4kx | dhx_m is a link to another system | 15:30 |
| phl4kx | dhx_m | 15:30 |
| phl4kx | nuclear_eclipse | 15:30 |
| nuclear_eclipse | phl4kx: see $g_main_menu_custom_options = array(); | 15:30 |
| dhx_m | ah :) | 15:30 |
| phl4kx | see here | 15:30 |
| phl4kx | http://soporte.nisira.com.pe | 15:30 |
| phl4kx | :D | 15:31 |
| dhx_m | nuclear_eclipse: I suppose they are added last? | 15:31 |
| phl4kx | we have a ERP software | 15:31 |
| phl4kx | and we use Mantis for a Bug Reported | 15:31 |
| phl4kx | is very cool | 15:31 |
| dhx_m | nuclear_eclipse: where he might want to change the order | 15:31 |
| dhx_m | nuclear_eclipse: but yeah, I agree with your comment :) | 15:31 |
| siebrand | [KK]Kirill: one plugin is active. | 15:32 |
| phl4kx | dhx_m see http://soporte.nisira.com.pe | 15:32 |
| phl4kx | nuclear_eclipse see http://soporte.nisira.com.pe | 15:32 |
| phl4kx | what do you think about | 15:32 |
| siebrand | http://translatewiki.net/w/i.php?title=Special:Translate&group=out-mantis-mantiscoreformatting | 15:32 |
| dhx_m | phl4kx: I see a login page? :p | 15:32 |
| dhx_m | nice logo I suppose :) | 15:33 |
| dhx_m | not sure what else to say about that page lol | 15:33 |
| dhx_m | I've seen everything today... a Russian install of Mantis and now a Spanish install | 15:33 |
| dhx_m | good to see translation efforts are going well :) | 15:34 |
| phl4kx | yes | 15:34 |
| phl4kx | when I introduced mantis to here | 15:34 |
| phl4kx | all are happy | 15:34 |
| phl4kx | before mantis. our bugtrucking system was only by emails | 15:34 |
| phl4kx | jaja | 15:34 |
| phl4kx | haha | 15:34 |
| dhx_m | going from nothing to something is always a good move :) | 15:35 |
| phl4kx | haha | 15:36 |
| phl4kx | is ok :D | 15: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 |
| Reapazor | is there a reason files like rss_api.php | 16:50 |
| Reapazor | do not have closing ?> | 16:50 |
| Reapazor | (nightly build) | 16:50 |
| Reapazor | actually for that matter like 100% of the files dont have closing ?> / | 16:58 |
| dhx_m | Reapazor: B.2.1 @ http://framework.zend.com/manual/en/coding-standard.php-file-formatting.html | 16:59 |
| Reapazor | ahh :) | 17:00 |
| Reapazor | lol well then dont i look like an idiot :) | 17:00 |
| dhx_m | Reapazor: well I didn't know that until I just googled it :) | 17:00 |
| dhx_m | Reapazor: seems quite non-intuitive | 17:01 |
| nuclear_eclipse | the 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 uglier | 17:06 |
| Reapazor | heh, im trying to figure out why my rss feed does not work ;/ | 17:06 |
| Reapazor | i've got it turned on in the config | 17:06 |
| Reapazor | but still getting 'blank' | 17:06 |
| Reapazor | i googled and found someone complaining about that :) | 17:06 |
| Reapazor | thought it was a chance | 17:07 |
| dhx_m | nuclear_eclipse: is that online white space after ?> in the current file... or does it include white space after a require statement? | 17:07 |
| dhx_m | s/online/only | 17:07 |
| nuclear_eclipse | anything outside <?php ?> gets sent to the client, including blank lines or any whitespace after the final ?> in a file | 17:08 |
| dhx_m | yep, doesn't really sound like too much of a problem to me if people are using editors that highlight trailing white space | 17:09 |
| dhx_m | but I guess that doesn't happen often :) | 17:09 |
| nuclear_eclipse | well, the real problem is not editors, but editors+VCS | 17:09 |
| nuclear_eclipse | there are some combinations that will result in extra linebreaks that the developer never intended | 17:10 |
| dhx_m | ah ok | 17:11 |
| Reapazor | i totally get why when i read the article :) | 17:11 |
| Reapazor | it was a 'oh damn i should have realized this" | 17:12 |
| Reapazor | nice | 17:17 |
| Reapazor | i've tracked it down to the issues_rss file not going passed line 40 ... time to narrow down that next block :) | 17:18 |
| CIA-17 | Mantisbt: 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 lol | 17:29 |
| nuclear_eclipse | for the server going non-responsive? | 17:29 |
| paul_ | yes | 17:29 |
| paul_ | I might add it to my server monitoring | 17:29 |
| nuclear_eclipse | Reapazor: I bet that's a side effect of paul_'s latest updates to how bug objects are handled | 17:30 |
| paul_ | i'll look now | 17:30 |
| nuclear_eclipse | this 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 snapsshot | 17:31 |
| paul_ | now | 17:31 |
| paul_ | then rc in a week or something ;p | 17:31 |
| nuclear_eclipse | fix rss first, and then I'll consider it | 17:32 |
| paul_ | rss is second | 17:32 |
| Reapazor | :) | 17:32 |
| Reapazor | im working on rss atm | 17:32 |
| nuclear_eclipse | paul_: what's first? | 17:33 |
| Reapazor | paul_ where is bug_get() ? | 17:33 |
| paul_ | nuclear_eclipse: are you scared? | 17:33 |
| nuclear_eclipse | probably | 17:33 |
| Reapazor | (aptana aint finding it (*fail*)) | 17:33 |
| Reapazor | wait maybe thats the problem | 17:34 |
| Reapazor | function doesnt exist LOL | 17:34 |
| paul_ | bug_get is in bug_api | 17:34 |
| nuclear_eclipse | Reapazor: that's why I'm saying it was a side effect of paul's recent changes to bug_api | 17:34 |
| Reapazor | heh :) | 17:34 |
| dhx_m | nuclear_eclipse: don't release until user_prefs_update works again :p | 17:36 |
| nuclear_eclipse | it doesn't? | 17:36 |
| dhx_m | 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 ( ?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?). | 17:36 |
| * paul_ sighs | 17:36 | |
| dhx_m | same thing as yesterday I think paul | 17:37 |
| paul_ | fine i'll look at that next :P | 17:37 |
| dhx_m | I'd fix it but I have no idea what is going on :p | 17:37 |
| nuclear_eclipse | prefs seems to work on my end... | 17:37 |
| dhx_m | btw paul_ : what are your thoughts on using PHPs try/catch stuff? | 17:37 |
| dhx_m | nuclear_eclipse: when you try to update your own preferences? | 17:37 |
| nuclear_eclipse | yep, it works fine, but it's probably not doing on insert - just realized that | 17:38 |
| paul_ | right now, I've got a more important question | 17:38 |
| nuclear_eclipse | dhx_m: ok, I dropped my pref row from the db, went to update prefs, and hit that error -- confirmed | 17:39 |
| dhx_m | nuclear_eclipse: ok cool :) | 17:39 |
| paul_ | who did last commit? | 17:39 |
| * paul_ looks at dhx | 17:39 | |
| nuclear_eclipse | technically me | 17:39 |
| nuclear_eclipse | updated .gitignore | 17:40 |
| dhx_m | wasn't me :p | 17:40 |
| nuclear_eclipse | why? | 17:40 |
| dhx_m | he probably has to worry about updating his master to the latest now :p | 17:40 |
| nuclear_eclipse | `git pull --rebase` | 17:41 |
| Reapazor | so for paul_ | 17:41 |
| Reapazor | issue is calling bug_get | 17:41 |
| Reapazor | but the function isnt executing | 17:41 |
| Reapazor | (not even a single line) | 17:41 |
| Reapazor | thoughts? | 17:41 |
| Reapazor | [the api was loaded] | 17:42 |
| nuclear_eclipse | Reapazor: turn on detailed error reporting in Mantis, see if it gives you any info, or check your server's error log | 17:42 |
| dhx_m | yep, $g_show_detailed_errors = ON; in config_inc.php | 17:43 |
| Reapazor | nothing | 17:44 |
| Reapazor | still a blank page ;/ | 17:44 |
| Reapazor | [when i remove my obligatory echo's for locations in files that its reached ) | 17:44 |
| paul_ | hmmmmmmmmm | 17:46 |
| dhx_m | Reapazor: how do I use RSS... I've never tried it | 17:46 |
| dhx_m | Reapazor: I have it enabled but I don't see any RSS icons/links anywhere | 17:47 |
| paul_ | has anyone touched error api ? | 17:47 |
| dhx_m | nope | 17:47 |
| nuclear_eclipse | dhx_m: the rss icon is in the top right, next to the "switch" button | 17:47 |
| paul_ | someone's broken something :( | 17:47 |
| Reapazor | actually it shows errors when i dont use any variables in the url | 17:47 |
| nuclear_eclipse | it's a rather "dumb" rss anyways | 17:48 |
| dhx_m | nuclear_eclipse: oh lol, thanks | 17:48 |
| dhx_m | Fatal error: Cannot use object of type BugData as array in /var/www/localhost/htdocs/mantis-git/issues_rss.php on line 174 | 17:48 |
| paul_ | interestingly | 17:50 |
| paul_ | mysqli_connect seems to have some stupid timeout | 17:50 |
| Reapazor | seems that its broken when its a authenticated user trying to view | 17:53 |
| Reapazor | testing that theory right now | 17:53 |
| Reapazor | setting up an anonymous account | 17:54 |
| dhx_m | Reapazor: the error is the one I just pasted :) | 17:54 |
| Reapazor | :) | 17:54 |
| dhx_m | Reapazor: not to do with auth... rather, something to do with passing objects in PHP | 17:54 |
| Reapazor | ;/ | 17:54 |
| Reapazor | fair enough | 17:54 |
| Reapazor | hmf ...maybe i should downgrade to a stable build | 17:54 |
| dhx_m | Reapazor: nah wait, we'll have it fixed soon | 17:54 |
| paul_ | right | 17:54 |
| paul_ | what else needs fixing ? | 17:55 |
| dhx_m | paul_: issues_rss.php:174 | 17:55 |
| Reapazor | lol :) | 17:55 |
| dhx_m | $t_bug = bug_get( $row['id'], true ); | 17:55 |
| paul_ | yes after that | 17:56 |
| dhx_m | ah | 17:56 |
| dhx_m | updating user prefs | 17:56 |
| dhx_m | (when those prefs don't already exist) | 17:56 |
| Reapazor | ill keep checking git for a fix :) | 17:56 |
| dhx_m | ie. inserting new preferences into the database | 17:56 |
| paul_ | dhx_m: which file/pagE? | 17:56 |
| dhx_m | paul_: stack trace follows... | 17:58 |
| paul_ | no | 17:58 |
| paul_ | fixed | 17:58 |
| dhx_m | ah :) | 17:59 |
| dhx_m | user_pref_api.php:300 | 17: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] =>....etc | 17:59 |
| paul_ | yea, fixed | 17:59 |
| dhx_m | :) | 17:59 |
| dhx_m | so rss, user_pref both fixed? | 18:00 |
| dhx_m | I think that is all I have for now | 18:00 |
| Reapazor | fix commited to git? | 18:00 |
| dhx_m | Reapazor: not yet, you'll see a message here when it is | 18:01 |
| Reapazor | thnx :) | 18:01 |
| Reapazor | much love. | 18:01 |
| dhx_m | paul_: can I commit something? | 18:05 |
| paul_ | sure | 18:05 |
| paul_ | I'm buying a gun | 18:05 |
| dhx_m | haha | 18:05 |
| dhx_m | how long will you be then? :p | 18:05 |
| dhx_m | ok just rebase then... should be easy | 18:06 |
| dhx_m | I'm only moving 2 lines in project_api.php | 18:07 |
| paul_ | dhx_m: just commit ;p | 18:07 |
| dhx_m | k | 18:12 |
| CIA-17 | Mantisbt: hickseydr * rb458820086f8 /core/project_api.php: Don't add trailing slash to project upload path | 18:13 |
| paul_ | didn't you already push that | 18:13 |
| dhx_m | 1st one was for creating projects | 18:13 |
| dhx_m | then I just tried updating... | 18:13 |
| dhx_m | that summary title is kinda wrong | 18:13 |
| dhx_m | it is too hard fitting it within the 50 char limit | 18:13 |
| paul_ | 50char limit? | 18:14 |
| dhx_m | git starts to highlight anything over 50 chars when writing a commit message | 18:15 |
| dhx_m | at least for me it does | 18:15 |
| dhx_m | so I thought maybe it is best practice to keep it < 50 | 18: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 each | 18:16 |
| dhx_m | yep that's what vim tells me to do :) | 18:16 |
| paul_ | xml | 18:17 |
| nuclear_eclipse | although 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 it | 18:17 |
| dhx_m | I always use the full blown editor ;) | 18:17 |
| * paul_ sighs | 18:18 | |
| dhx_m | that's not fair... custom fields get their own read/write thresholds and default fields don't? | 18:19 |
| nuclear_eclipse | lol | 18:19 |
| * dhx_m continues mission to break Mantis during testing so paul_ has more things to fix :p | 18:20 | |
| dhx_m | and to be honest, the manage_custom_field_edit_page.php layout is REALLY confusing | 18:20 |
| * nuclear_eclipse removes dhx's push rights... | 18:21 | |
| dhx_m | would make more sense IMO to force the user to specify the type of field when specifying the name | 18:21 |
| Reapazor | lol ) | 18:21 |
| dhx_m | haha | 18:21 |
| dhx_m | and then in manage_custom_field_edit_page.php - only show options relevant to the field type | 18:21 |
| nuclear_eclipse | dhx_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 task | 18:21 |
| dhx_m | for instance, a radio button field doesn't have "possible values" | 18:22 |
| dhx_m | lol | 18:22 |
| nuclear_eclipse | if 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 file | 18:23 |
| dhx_m | lol | 18:23 |
| paul_ | and now I can't find it ;/ | 18:23 |
| dhx_m | how does db_param() work? | 18:26 |
| nuclear_eclipse | magic | 18:26 |
| dhx_m | seems like it... I should read into it... seems like a placeholder that is overwritten later when running the actual query? | 18:26 |
| nuclear_eclipse | it returns a placeholder appropriate for the database type being used | 18:26 |
| nuclear_eclipse | at the time of executing the query, the database itself inserts the values into the placeholders, eliminating potential SQL injections | 18:27 |
| dhx_m | seems reasonable | 18:28 |
| dhx_m | just came across this error: | 18:28 |
| dhx_m | Database 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_m | FROM mantis_custom_field_table | 18:28 |
| dhx_m | WHERE name=? AND (id <> ?). | 18:28 |
| dhx_m | from: | 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_m | db_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_eclipse | not enough parameters are being passed | 18:30 |
| dhx_m | $result = db_query_bound( $query, ( ($p_custom_field_id !== null) ? Array( $p_name ) : Array( $p_name, $c_id ) ) ); | 18:30 |
| dhx_m | I wonder if that !== is ok | 18:30 |
| nuclear_eclipse | siebrand pointed that out I think | 18:31 |
| nuclear_eclipse | it should be reverse logic | 18:31 |
| dhx_m | ah yes, you're right | 18:31 |
| dhx_m | I'll commit it | 18:32 |
| dhx_m | good eye :) | 18:32 |
| paul_ | yea | 18:32 |
| paul_ | i've already fixed that | 18:32 |
| dhx_m | push it already :p | 18:32 |
| nuclear_eclipse | only cause I remember it getting mentioned earlier :P | 18:32 |
| dhx_m | lol | 18:32 |
| siebrand | custom 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 |
| siebrand | got some really weird errors last night. | 18:33 |
| dhx_m | yep this is the first time I've played with it | 18:34 |
| paul_ | fatal: 'master' does not appear to be a git repository | 18:35 |
| paul_ | huh? | 18:35 |
| Reapazor | i've seen a project_api fix go in :) that isnt the bug_get fix is it ? | 18:36 |
| paul_ | $ git push | 18:36 |
| paul_ | warning: You did not specify any refspecs to push, and the current remote | 18:36 |
| paul_ | warning: has not configured any push refspecs. The default action in this | 18:36 |
| paul_ | warning: case is to push all matching refspecs, that is, all branches | 18:36 |
| paul_ | warning: that exist both locally and remotely will be updated. This may | 18:36 |
| paul_ | warning: not necessarily be what you want to happen. | 18:36 |
| paul_ | wha? | 18:36 |
| nuclear_eclipse | paul_: you're on a local branch I presume? | 18:36 |
| dhx_m | lol @ the radio field showing a value of '1' instead of say... ON or OFF | 18:36 |
| dhx_m | I know I frequently do my work in binary :p | 18:36 |
| dhx_m | suggestions I have for the manage_custom_field_edit_page.php strings are: | 18:37 |
| dhx_m | 1) Possible values... comma separated? | 18:38 |
| dhx_m | 2) Sequence... ?!?what | 18:38 |
| dhx_m | I guess sequence is "display order" | 18:38 |
| nuclear_eclipse | 1) use | | 18:38 |
| nuclear_eclipse | 2) yes | 18:39 |
| dhx_m | for 2) can I rename it to "Display Order"? | 18:39 |
| * nuclear_eclipse slaps dhx_m | 18:39 | |
| nuclear_eclipse | Heresy! | 18:39 |
| dhx_m | or does it have a deeper meaning? | 18:40 |
| dhx_m | "sequence" is too geeky even for me | 18:40 |
| dhx_m | I thought I was operating a nuclear submarine when I went to create my first custom field :p | 18:40 |
| nuclear_eclipse | thee Mantis doth have spoketh unto the Strings and sayeth: "Thou shalt use thee Sequence" and it was Good | 18:41 |
| dhx_m | lol well I guess it makes sense now someone told me | 18:42 |
| dhx_m | that page really needs to be used only when you've got a manual open | 18:42 |
| dhx_m | anyhow, I'm outta here | 18:43 |
| dhx_m | cya later :) | 18:43 |
| nuclear_eclipse | cheers | 18:43 |
| dhx_m | and I hope paul_ has committed before I get back :p | 18:43 |
| paul_ | nuclear_eclipse: yep | 18:45 |
| nuclear_eclipse | yep 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 branch | 18:45 |
| nuclear_eclipse | did you blow away your local master at some point? | 18:46 |
| paul_ | no? | 18:46 |
| paul_ | i'm on my local master | 18:46 |
| nuclear_eclipse | I mean, at some point in the past did you delete and recreate your local master branch? | 18:47 |
| paul_ | no | 18:47 |
| nuclear_eclipse | hmm | 18:47 |
| paul_ | I just want to push | 18:47 |
| nuclear_eclipse | try doing `git push origin master` and see what it says | 18:47 |
| paul_ | yep | 18:48 |
| paul_ | now why i need to do that now? | 18:48 |
| CIA-17 | Mantisbt: paul * r5922a89775b2 /core/custom_field_api.php: Fix bug in custom field api | 18:48 |
| CIA-17 | Mantisbt: paul * r3f9fa830eb3d /core/user_pref_api.php: Fix user preference (INSERT query) | 18:48 |
| CIA-17 | Mantisbt: paul * re0051bb319a6 /core/config_api.php: remove yet another absolute path from require_once | 18:48 |
| CIA-17 | Mantisbt: 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-17 | Mantisbt: paul * r73de2146a8f7 / (4 files in 3 dirs): Fix: rss/export functionality with bugobjects | 18:48 |
| nuclear_eclipse | somehow your repo no longer associates your local master as tracking the remote master | 18:48 |
| * Reapazor looks around ... yay that looks like it ! | 18:48 | |
| paul_ | nuclear_eclipse: so what do I need to do? | 18:49 |
| nuclear_eclipse | paul_: 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_eclipse | shouldn't | 18:51 |
| paul_ | that still gives same message? | 18:54 |
| nuclear_eclipse | paul_: paste your .git/config to pastebin? | 18:54 |
| Reapazor | so paul_ ... | 18:54 |
| Reapazor | i see you fixed the rss :) | 18:54 |
| Reapazor | catch 22 -- is the API broken as well ? | 18:55 |
| paul_ | http://mantisbt.pastebin.com/d7e627af3 | 18:55 |
| paul_ | Reapazor: ? | 18:55 |
| Reapazor | I'm trying to configure Mindtouch's Mantis plugin ;/ | 18:55 |
| Reapazor | and its giving the same error | 18:55 |
| Reapazor | as the rss feed was prior | 18:55 |
| Reapazor | ;/ | 18:55 |
| paul_ | wtf is mindtouch? :P | 18:55 |
| Reapazor | sec :) | 18:55 |
| Reapazor | http://developer.mindtouch.com/Deki/Extensions/Mantis | 18:56 |
| Reapazor | its a commercial wiki | 18:56 |
| nuclear_eclipse | paul_: that config looks correct for automatically doing push/pull from origin... | 18:56 |
| paul_ | nuclear_eclipse: it doesn't work anymore ;/ | 18:56 |
| nuclear_eclipse | Reapazor: basically, the Mantis API has changed a *lot* thanks to Paul ;) | 18:56 |
| paul_ | it used to work | 18:56 |
| Reapazor | oh ... | 18:56 |
| paul_ | Reapazor: does source exist? | 18:56 |
| Reapazor | the extensions source should | 18:57 |
| Reapazor | sec lemme get it | 18:57 |
| paul_ | where | 18:57 |
| Reapazor | or a link to it for ya | 18:57 |
| paul_ | nuclear_eclipse: so why does't it workanymore? ;/ | 18:57 |
| nuclear_eclipse | no clue | 18:57 |
| paul_ | could it be due to updating git ? | 18:57 |
| nuclear_eclipse | shouldn't be... | 18:58 |
| paul_ | I could rm branch | 18:58 |
| paul_ | and re-clone | 18:58 |
| paul_ | let me do that | 18:59 |
| paul_ | or I just type git push origin master right? | 18:59 |
| paul_ | ecah time | 18:59 |
| nuclear_eclipse | right | 19:02 |
| paul_ | ahh i see | 19:05 |
| paul_ | Reapazor: it uses the soap api | 19:05 |
| paul_ | nuclear_eclipse: how do we develop the soap api? ;/ | 19:06 |
| nuclear_eclipse | by telling Victor or Giallu to fix anything we break :P | 19:06 |
| Reapazor | paul_: https://svn.mindtouch.com/source/public/dekiwiki/trunk/src/services/DekiServices/Extension/MantisService.cs | 19:07 |
| Reapazor | there is the source for the extension | 19:07 |
| paul_ | you can test it? | 19:07 |
| Reapazor | ya :) | 19:07 |
| paul_ | what soap call breaks? | 19:07 |
| Reapazor | http://pastebin.ca/1465200 | 19:08 |
| Reapazor | its more access denied.... | 19:09 |
| Reapazor | it seems maybe how user auth is passed | 19:09 |
| Reapazor | might have changed? | 19:09 |
| Reapazor | (im gonna right up anonymous access again | 19:09 |
| Reapazor | see if that resolves | 19:09 |
| Reapazor | dang even with anonymous on ;/ doesnt go away | 19:13 |
| paul_ | daryn: fix soap | 19:18 |
| daryn | what's broken? I don't even mess with soap | 19:19 |
| Reapazor | lol ? | 19:19 |
| Reapazor | its all little old mes fault ;/ | 19:22 |
| paul_ | ? | 19:22 |
| paul_ | hmm? | 19:22 |
| Reapazor | for pointing it out :) | 19:22 |
| daryn | paul_ 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 accidental | 19:23 |
| paul_ | daryn: well, john/myself can't :P | 19:23 |
| paul_ | Reapazor: | 19:26 |
| paul_ | you know that backtrace says access deinied? | 19:26 |
| paul_ | Reapazor: try testing that | 19:29 |
| CIA-17 | Mantisbt: paul * ra494b0fc7a73 /api/soap/ (mc_issue_api.php mc_project_api.php): Update soap for new API (untested) | 19:29 |
| Reapazor | lol k sec | 19:39 |
| Reapazor | sorry was working on sometthing else ;/ | 19:39 |
| Reapazor | nope still access denied (tho i turned off anonymous_) | 19:41 |
| Reapazor | will turn it back on | 19:41 |
| Reapazor | no luck | 19:43 |
| paul_ | what error | 19:43 |
| Reapazor | still access denied | 19:43 |
| Reapazor | BUT one of the functions a direct link | 19:43 |
| Reapazor | came back with : | 19:43 |
| Reapazor | System.Net.WebException: The request failed with HTTP status 302: Found | 19:43 |
| paul_ | was it working before? | 19:49 |
| Reapazor | no | 19:50 |
| Reapazor | all three tests failed prior | 19:50 |
| paul_ | siebrand_alt: you there? | 23:06 |
Generated by irclog2html.py