Monday, 2010-01-25

../irclogs/#mantishelp.2010-01-25.log
--- scribe started ---00:00
CIA-22Mantisbt: hickseydr * r28a23532c5a7 / (core/print_api.php lang/strings_english.txt): Fix #11429: 'Attachment missing' not translatable05:44
CIA-22Mantisbt: hickseydr master-1.2.x * r4beb15aaddc3 / (core/print_api.php lang/strings_english.txt): Fix #11429: 'Attachment missing' not translatable05:44
CIA-22Mantisbt: hickseydr master-1.2.x * r2f42c6a0501e / (4 files in 4 dirs): Fix #11426: Time tracking stopwatch strings not translatable05:59
CIA-22Mantisbt: hickseydr * r18c520014815 / (4 files in 4 dirs): Fix #11426: Time tracking stopwatch strings not translatable05:59
dawitayawhen I try to arrange the change status for the manage configuration to make visible only this lists (new, assigned and closed)   this what I get when I press set configuration option Configuration option "status_enum_workflow " not found.06:11
dhx_mwhich version of Mantis?06:13
dhx_mwhat is the name of the page (.php file)?06:13
dawitayathe version mantis-1.2.x06:19
dhx_mand which page does this problem occur on?06:20
CIA-22Mantisbt: hickseydr * r91049c219a23 /xmlhttprequest.php: Incorrect include filename in xmlhttprequest.php06:20
dawitayawe create plugin called Table Field and we want to arrange the status for the plugin. status eg. new, feedback, assigned, confirmed, resolved, closed I want to make only new, assigned and closed for status can I do that from manage configuration06:24
CIA-22Mantisbt: hickseydr * r8bc6b668f271 / (3 files in 3 dirs): Fix #11420: 'Loading...' string for AJAX controls isn't translatable06:28
CIA-22Mantisbt: hickseydr master-1.2.x * r764989fc444a / (3 files in 3 dirs): Fix #11420: 'Loading...' string for AJAX controls isn't translatable06:28
dhx_mstatus_enum_workflow is most definitely a valid configuration option, and has been for ages06:29
dhx_myou'd have to explain in much greater detail how one can reproduce your problem06:30
dhx_mbecause as it stands, I'm not too sure what the problem is06:30
dhx_mdiff's of your changes, etc so we can check them for errors, etc06:30
dhx_massuming you've modified Mantis' core06:31
dhx_mor even with plugins, it's easy to get the arguments to core functions wrong06:31
dhx_mie. config_get( 'g_some_setting' ) instead of just config_get( 'some_setting' )06:31
dawitayaI didn't touch the mantis code I try to modify from the plugins06:52
alemayogood morning :)07:05
dawitayaOn manage columns we insert status_enum_string and we pass the values new, assigned, closed. This one works but when you open myview tickets and clickon the change status to: list button I found this (new,@02@,@03@,assigned,@04@,closed) this error and I want to hide this for new projects we create because we only need of new assigned and closed.07:26
dawitayaany ideas07:36
dawitayacan I adjust it from adm_config_delete.php because In config_default_inc.php have g_status_enum_workflow = array(); and how can I remove those enum strings08:28
dawitayadhx_m ? help08:56
kroedHey guys09:02
kroedhas anyone of you ever experience the #1901 error in the 1.8.1 release of mantis?09:02
kroed*experienced09:02
kroedthe "reset password" link sent out by mantis seems to be incorrect09:05
alemayois there any chance that the new events we added in our branch (http://git.mantisforge.org/w/mantisbt/gtz-et.git?a=shortlog;h=refs/heads/custom-fields-events) make it into 1.2.0 ?11:38
dhx_malemayo: we'd need some documentation first :)13:05
dhx_malemayo: and EVENT_LANG_GET worries me a little13:06
dhx_m(ie. why it's needed)13:06
alemayoLANG_GET is mostly used in the terminolgy plugin13:07
alemayobut actually there were some other situation were it was necessary to overwrite some strings13:08
alemayohow to do that documentation ? just in the events_inc ?13:08
alemayohttp://git.mantisforge.org/w/Terminology.git13:08
dhx_mwhy do you want to overwrite strings instead of using different strings?13:15
dhx_mremember of course that lang_get() uses translations from the lng/ directory13:16
dhx_m*lang13:16
alemayowe have one project that records "service requests" instead of issues :)13:16
alemayoit's not for our custom plugin strings .. don't worry13:16
alemayothe idea is to mess around with the core strings to adapt the wording of certain things13:16
dhx_mdoes your EVENT_LANG_GET handler call lang_get() to find replacement strings?13:17
dhx_mif so... recursion issue?13:17
alemayo:)13:18
alemayoyes it does ...13:18
dhx_mah I see13:18
alemayobut anyway .. it uses plugin_lang get13:18
alemayowhich it self might use lang_get --- we just should not replace plugin_.... strings13:18
dhx_mbut you might want to replace some plugin strings13:19
dhx_mif you want to use your plugin with other plugins13:19
alemayoyes of course13:19
alemayowe just should not replace those strings that we actually access inside of the handler :) .. that would recurse I guess ..13:19
dhx_malso have to tried testing performance yet to see what effect a plugin call has on lang_get performance?13:19
alemayobut isn13:19
alemayobut isn't that a problem of all plugin handlers?13:20
dhx_myep, but lang_get() is called quite frequently :)13:20
alemayono, we did not do any dedicated performance tests ..13:20
dhx_mI can see what you're trying to do (and it makes sense to me)13:20
alemayoso you would accept the patch :) ?13:22
dhx_mpossibly... with some documentation13:22
dhx_mand I'd want to run some performance tests on it first :)13:23
alemayookay13:23
alemayohave fun with the performance test :-) concerning documentation, sure we'd like to help ... the question is, were shall we put it ?13:23
dhx_msee the docbook/ folder13:29
dhx_mthere is a developer guide with a whole section on plugin events13:30
alemayookay13:50
alemayoso we just write our documentation into these sgml files13:51
alemayoare you interested in some subcategory hack ?14:03
alemayo:)14:03
alemayois there any plan to replace the custom field "date" with that fancy DHTML date selector that is used for due_date ?14:13
dhx_mnot currently... I can't imagine it'd be hard to do?14:16
dhx_mactually, which DHTML date selector? :D14:17
Dieterbehey guys. i just migrated a mantis instance (just exported database and imported it elsewhere). it mostly seems to work, however users are reporting they cannot login (even though they give the correct password) and their accounts are getting blocked14:23
alemayodhx_m: for due_date fields there is some javascript date selector stuff14:24
alemayoDieterbe: can anybody login ? for example administrator ?14:25
Dieterbeyes14:25
Dieterbei can.. though i have to admit i also noticed the issue, but i just re-imported the database and it seemed to work (so maybe i just entered the wrong pass too many times)14:26
Dieterbeanyway, now multiple users are reporting this issue14:26
Dieterbeis there salting going on based on hostname or something? a grep on 'salt' did not show anything..14:27
Dieterbeany idea alemayo ?14:31
alemayono idea, sorry14:45
Dieterbek thanks14:46
lrojashi all16:03
lrojasis there any special steps needed or documented to upgrade a 1.1.8 installation to 1.2rc2 ?16:03
lrojasanybody?16:05
nuclear_eclipselrojas: you should be able to just extract it, copy over the configs from 1.1.8, and visit admin/install.php to upgrade the database schema16:06
lrojasok, perfect.. i will try that.. thanks16:07
nuclear_eclipsenp16:07
lrojasok that went well, thanks nuclear_eclipse16:28
Dieterbewhat could be wrong if any new user, or existing user who used the 'get new password' feature, gets to see 'Your account may be disabled or blocked or the username/password you entered is incorrect' ?16:29
lrojasnow for the real question... i have mantis integrated with svn, but our developers are getting swamped in email because everytime svn adds a comment mantis sends the full history of comments for the issue16:31
lrojasnow, i dont want to stop mantis from sending email if a human adds a comment, just when svn adds a comment... is there a way to do this?16:32
nuclear_eclipselrojas: you can have the devs specify a bugnote limit for notifications16:32
nuclear_eclipsealternately, you could alter checkin.php to disable email notifications16:32
lrojaslet me see the code for checkin and see if is something i could alter without screwing up... thanks again for pointing me in the right direction...16:33
lrojassorry to bother you nuclear_eclipse, i was looking at the code for checkin, i dont see where does it send mail notifications... could you lend me a hand in this ?16:37
nuclear_eclipselrojas: just set `$g_enable_email_notification = OFF;` after the first require_once() call16:42
nuclear_eclipsethat should be sufficient16:42
lrojaswould that work even on 1.1.8 ?16:42
nuclear_eclipseprobably16:43
lrojasok, testing theory :) lest do the safety dance...16:44
nuclear_eclipse"we can dance if we want to... *clap*"16:46
lrojas"We can dance. We can dance. Everything's under control... *clap*"16:49
Dieterbehow long does it usually take for a post on the forums to get accepted?16:49
nuclear_eclipseDieterbe: no clue, I'm not even sure who was access to moderate posts there16:49
nuclear_eclipseDieterbe: you could always tryy posting to the mantisbt-help mailing list16:50
atrolthere was much spam in the forum,17:48
atrolnow the first three posts of a new user go thru moderation17:48
atrolafter that, posting is without moderation17:48

Generated by irclog2html.py