2008-04-04T00:00:09 and I don't think it does what we want it to do 2008-04-04T00:00:46 ??? 2008-04-04T00:01:10 those CGIs are by no means Good(tm), but they worked last I checked 2008-04-04T00:01:58 with conify, it's not going to matter, but when I try to clear a checkbox for "can_have_vols" and update the row in org_unit_types.cgi, it no worky (firefox) 2008-04-04T00:02:13 sql confirms that 2008-04-04T00:02:20 dbs: did you check the action box at the right? yeah, it's not intuitive 2008-04-04T00:02:28 yep 2008-04-04T00:02:41 hrm... it /used/ to work... 2008-04-04T00:03:17 try it yourself at http://biblio-dev.laurentian.ca/cgi-bin/org_unit_types.cgi if you like, i'll pm you auth creds 2008-04-04T00:03:21 I wouldn't suggest staring directly at the code, though ... you'll develop a few bad pixels 2008-04-04T00:04:52 I just tried it on demo ... 2008-04-04T00:04:56 I have no idea 2008-04-04T00:08:08 heh 2008-04-04T00:08:15 worked on demo? 2008-04-04T00:08:27 nope 2008-04-04T00:11:36 maybe we could OR the value of the arg: $u->$col( $cgi->param($col."_$id") || 0 ); 2008-04-04T00:12:09 or 'f' if that's what it wants 2008-04-04T00:14:03 0/f/n are all literal FALSE, 1/t/y are TRUE ... is the cgi param even getting there? 2008-04-04T00:14:37 changing method="POST" to GET might help debugging, if you're looking further 2008-04-04T00:14:40 there is no CGI param for an unchecked box 2008-04-04T00:15:06 hrm... indeed ... 2008-04-04T00:15:08 i'm using liveheaders to confirm that the standard behaviour is, in fact, occurring 2008-04-04T00:15:14 I wonder how that ever worked... 2008-04-04T00:15:25 maybe in IE 6 it passes something 2008-04-04T00:15:31 because ... it has to have 2008-04-04T00:16:11 no ... I must have special-cased that param at one point ... gah ... I just ... dont ...know 2008-04-04T00:16:31 but, if you have a fix, please, by all means 2008-04-04T00:16:36 that, or the null value was automatically translated into 0 for the actor::org_unit_type methods (perhaps a json-ification thing?) 2008-04-04T00:16:42 * dbs stabs wildly 2008-04-04T00:16:55 I'll try ORing it 2008-04-04T00:17:01 well, wait 2008-04-04T00:17:19 $cgi->param($col."_$id") || 0 returns 0 if the param isn't there 2008-04-04T00:17:46 and $col comes from the list of columns to check 2008-04-04T00:17:54 not the list of params 2008-04-04T00:18:06 so, it should be getting a 0 2008-04-04T00:18:10 wth 2008-04-04T00:18:14 yeah, but || 0 isn't there 2008-04-04T00:18:28 OH! 2008-04-04T00:18:35 I though you were pasting the actual code 2008-04-04T00:18:39 well then :) 2008-04-04T00:18:39 that was my first suggested fix :) 2008-04-04T00:19:10 heh ... we'll end up with types named "0", but that's ok :) 2008-04-04T00:19:22 nope, that does nothing 2008-04-04T00:19:26 booo 2008-04-04T00:21:17 *** greg-g has quit IRC 2008-04-04T01:01:15 miker_++ # nice answers on the list 2008-04-04T01:01:18 *** dbs has quit IRC 2008-04-04T02:15:45 *** Mark__T has joined #openils-evergreen 2008-04-04T04:51:11 *** Mark__T has left #openils-evergreen 2008-04-04T04:52:04 *** Mark__T has joined #openils-evergreen 2008-04-04T08:26:30 *** greg-g has joined #openils-evergreen 2008-04-04T08:44:06 *** gmcharlt-away is now known as gmcharlt 2008-04-04T09:44:56 *** Mark__T has quit IRC 2008-04-04T10:15:01 *** edc_detached is now known as ecorrado 2008-04-04T10:38:37 *** pmurray_away is now known as pmurray 2008-04-04T10:47:38 *** phase_bb has quit IRC 2008-04-04T10:48:06 *** dbs has joined #OpenILS-Evergreen 2008-04-04T10:48:33 okay, dumb question: how do I call opensrf.open-ils.system.ils_version from srfsh? 2008-04-04T10:49:11 call it on open-ils.actor 2008-04-04T10:49:37 I believe only the perl services will respond to that 2008-04-04T10:49:59 hah 2008-04-04T10:50:17 I was struggling with open-ils.search :) 2008-04-04T10:50:37 yep: request open-ils.actor opensrf.open-ils.system.ils_version works 2008-04-04T10:50:44 phasefx_++ 2008-04-04T10:50:49 and open-ils.search, on my end 2008-04-04T10:51:27 there are other nifty little opensrf methods that these services inherit.. server time, echo 2008-04-04T10:52:05 yeah - I was trying to munge the prefix of the api name to match open-ils.search, amongst other variations 2008-04-04T10:52:08 <-- brain dead 2008-04-04T11:25:19 folks - we have one more system installed via John Schmidt's install script reporting the problem checking out items (that makes three) 2008-04-04T11:25:41 I'm going to try spinning up my debian image to ensure that the debian image doesn't have that problem 2008-04-04T11:25:44 too weird 2008-04-04T11:26:20 that thread confuzzled me.. too many issues being pushed together 2008-04-04T11:26:34 and delayed email :-/ 2008-04-04T11:27:57 phasefx_: yeah 2008-04-04T11:42:25 *** ecorrado is now known as edc_detached 2008-04-04T11:51:27 *** dbs has quit IRC 2008-04-04T11:57:44 miker_: did you do any magic to make your permission grid sortable (in permission/grp_tree.html) ? 2008-04-04T11:58:26 berick: I don't think so ... clientSort : true on create, maybe? 2008-04-04T12:01:13 miker_: that did it! thanks 2008-04-04T12:02:57 berick: what transates 'lf' to 'lit_form' for the backend search? 2008-04-04T12:03:26 hmmm... 2008-04-04T12:04:14 nm... result_common.js 2008-04-04T12:07:28 ok ... breaking dev :) 2008-04-04T12:07:43 break away 2008-04-04T12:10:02 it works :) ... holy crap first try rad 2008-04-04T12:10:59 miker_: do you have any take on godmar's commentary? 2008-04-04T12:11:39 i feel a bit too ignorant to say much more 2008-04-04T12:14:07 rsinger: (the way I read it was that using atom's not good because we'd be abusing it with "bad" xhtml in the element) ... I feel like the issues raised are a bit pedantic this early in the game ;) ... to put it more diplomatically, if we use rdf/a or uf or something to encode the data in the then I think his arguments hold less water 2008-04-04T12:14:32 miker_: yeah, that was sort of my take, too 2008-04-04T12:14:37 (note: answering from swap, not main memory) 2008-04-04T12:15:07 miker_: i also question the robustness of the library he's trying to use if it can't cope with one of the fundamental principles of xml, namely namespacing 2008-04-04T12:15:07 I don't doubt his intentions, mind you 2008-04-04T12:15:12 me neither 2008-04-04T12:15:30 but let's throw some spaghetti on the wall before we buy the mop 2008-04-04T12:15:38 sure 2008-04-04T12:15:42 agreed 2008-04-04T12:16:08 miker_: i just wanted to make sure i was actually interpreting what he was saying properly 2008-04-04T12:16:41 at some point, some xml will have to transport other xml that doesn't know how to send multiple records of itself 2008-04-04T12:16:42 well, I have a soft spot for unapi, but I don't think libxess is actually trying to solve the same problem at all... 2008-04-04T12:17:21 well, i like unapi, too 2008-04-04T12:17:37 unapi would benefit greatly from jangle, really 2008-04-04T12:17:46 since it would effectively be an unapi resolver 2008-04-04T12:18:20 rsinger: right ... there's no way around "your records are under my element, and yes, that violates the schema for the format they live in" at some point ... unless everything becomes DC 2008-04-04T12:19:12 well, sort of 2008-04-04T12:19:43 i mean, theoretically you could "start" your document there, declaring its namespace and whatnot and process it as an atomic entity 2008-04-04T12:21:47 one of the things that seems cool about using atom for this is that, no matter what, you've still got a title to work with, regardless of the "native" format the record would be in 2008-04-04T12:22:19 so at the very least, *something* is usable, regardless of the data source 2008-04-04T12:23:03 right ... more than title -- a (semantically muddy) subset of relevant metadata. author, links, dates, subjects (categories), etc 2008-04-04T12:23:46 well, all that's optional 2008-04-04T12:23:53 but you gotta have a title :) 2008-04-04T12:24:08 (well, not links) 2008-04-04T12:24:25 well, ok, not any of that :) 2008-04-04T12:24:27 rsinger-- 2008-04-04T12:24:27 rsinger: Error: You're not allowed to adjust your own karma. 2008-04-04T12:24:44 pinesol`: keep your shirt on, it's down, not up 2008-04-04T12:24:44 rsinger: Error: "keep" is not a valid command. 2008-04-04T12:28:27 rsinger: sure, I just mean it's there, and should be populated for the sake of humans ... "should" in the RFC sense 2008-04-04T12:28:42 absolutely 2008-04-04T12:35:44 berick: brandon's recent patch that you applied ... we're not filtering pub/not-pub on the server side? 2008-04-04T12:36:10 berick: and ... we should, if we're not ... IMO 2008-04-04T12:37:45 *** phase_bb has joined #openils-evergreen 2008-04-04T12:38:29 miker_: staff client needs the pub's, so it's not fitlering 2008-04-04T12:38:35 er, non-pubs 2008-04-04T12:38:43 could make different methods, of course 2008-04-04T12:38:53 .staff, that is 2008-04-04T12:40:16 right ... and a staff perm check for "VIEW_PRIVATE_STUFF" :) 2008-04-04T12:40:58 lunch 2008-04-04T12:43:55 lunch++ 2008-04-04T13:20:48 my god, dojo will test a man's patience 2008-04-04T13:21:05 food will help 2008-04-04T13:21:09 brb 2008-04-04T13:53:55 *** pmurray is now known as pmurray_away 2008-04-04T14:02:27 *** edc_detached is now known as ecorrado 2008-04-04T14:51:44 phasefx_: can you point me at the message catalog stuff? thinking about porting it into the acq branch... 2008-04-04T14:53:05 berick: yeah, look for bindings.xml 2008-04-04T14:53:52 Open-ILS/xul/staff_client/chrome/content/main/bindings.xml 2008-04-04T14:56:25 phasefx_: is this XUL only? 2008-04-04T14:56:54 it's XBL, so tied to Mozilla 2008-04-04T14:57:23 I thought you were wanting to reimplement it in dojo 2008-04-04T14:57:37 or something 2008-04-04T14:57:52 hm, for some reason i thought a cross-browser catalog had been built 2008-04-04T15:02:47 I bet it would be easy to build, but I'm not a cross-browser kind of guy :) 2008-04-04T15:04:27 http://www.fstoffel.de/tbblog/2008/03/28/stringbundles-in-pure-javascript/ 2008-04-04T15:05:03 cant' use that 2008-04-04T15:05:08 still mozilla specific 2008-04-04T15:09:28 berick: not liking the i18n stuff on dojo? 2008-04-04T15:14:49 miker_: s/not liking/not tried yet/ .. for some reason, i thought we were all sticking with a localy defined message catalog. 2008-04-04T15:15:08 * berick looks at dojo i18n 2008-04-04T15:15:12 berick: I'd be fine with that, personally, for any in-ILS stuff 2008-04-04T15:15:32 though dbs may have a different opinion ;) 2008-04-04T15:15:44 * berick summons the i18n god 2008-04-04T16:07:11 *** ecorrado is now known as edc_detached 2008-04-04T16:21:20 berick: so, lassos return results, but I'm fighting with displaying copy counts now 2008-04-04T16:21:33 goes into an infinite loop 2008-04-04T16:21:37 somewhere 2008-04-04T16:23:02 somewhere before actually making the remote request for the count 2008-04-04T16:23:12 but, the request will bring results back 2008-04-04T16:23:18 ah, in the JS? 2008-04-04T16:24:00 yeah 2008-04-04T16:24:21 note: the location is -1 2008-04-04T16:24:36 and, of course, no depth is available 2008-04-04T16:24:57 what I have now (mostly) works, so let me check it in... 2008-04-04T16:25:21 wait ... I lied 2008-04-04T16:26:15 it breaks normal requests in the same way :( 2008-04-04T16:29:14 i see a suspicious loop around line 108 in result_common.js 2008-04-04T16:29:24 miker_: is it relatively easy to load in an authority file? I want to test some things with authority validation 2008-04-04T16:31:49 I'll just hijack the xul on dev 2008-04-04T16:35:13 infinite_browser_loops-- there's no easy way out of that ;) 2008-04-04T16:35:17 apart from kill 2008-04-04T16:36:14 berick: I was thinking that too... but there's something else going on before that, I think 2008-04-04T16:36:32 well, I know there is ... I have a result count line 2008-04-04T16:36:47 it's in the copy count callback that it's going nuts 2008-04-04T16:36:51 and ... I can't find that 2008-04-04T16:38:52 another potential at line 691 2008-04-04T16:40:19 that's a likely culprit for the lasso loop 2008-04-04T16:40:45 heh 2008-04-04T16:40:48 but righ tnow the regular searches are going crazy somewhere too... and I can't figure out why 2008-04-04T16:41:38 LOCATION is set correctly ... 7 2008-04-04T16:41:38 * berick fires up debug FF 2008-04-04T16:44:08 hey ... where is the remote request for copy count for each record? 2008-04-04T16:44:56 for non-mr searches, rresult.js:rresultHandleMods 2008-04-04T16:44:58 found it 2008-04-04T16:45:02 well 2008-04-04T16:45:03 yeah.. 2008-04-04T16:45:16 oh, I was looking at resultCollectCopyCounts 2008-04-04T16:45:23 that's it 2008-04-04T16:45:30 rresultHandleMods calls resultCollectCopyCounts 2008-04-04T16:45:34 i was one step removed 2008-04-04T16:48:15 it doesn't seem to bet getting that far ... the copy count method is never called 2008-04-04T16:54:55 miker_: rresultLaunchDrawn 2008-04-04T16:55:23 it runs recordDrawn, and rresultLaunchDrawn is registered as a handler for recordDrawn 2008-04-04T16:55:34 so it eats its tail 2008-04-04T16:56:21 how ... how ... I didn't chang any of that! 2008-04-04T16:56:48 ok ... so ... 2008-04-04T16:57:21 that function can be dropped 2008-04-04T16:57:21 so why was it doing that? I mean, why now? 2008-04-04T16:57:26 ok 2008-04-04T16:57:30 just remove it? 2008-04-04T16:57:38 did you add a call to runEvt('recordDrawn') anywhere? 2008-04-04T16:57:42 nope 2008-04-04T16:57:51 then i don't know 2008-04-04T16:57:58 but, yeah, that method does nothing 2008-04-04T16:58:19 ok ... I'm commenting out its body 2008-04-04T16:58:25 k 2008-04-04T16:59:29 nope ... still looping 2008-04-04T17:00:09 are you on dev? 2008-04-04T17:00:13 yeah 2008-04-04T17:00:21 copying stuff into place 2008-04-04T17:00:41 i see the function uncommented 2008-04-04T17:01:06 i commented the body of rresultLaunchDrawn 2008-04-04T17:01:07 fyi, and unrelated, the xul was setup all funky on dev (newer builds linking back to an old build) 2008-04-04T17:03:25 commented out the attachEvt 2008-04-04T17:03:42 oh.. ok 2008-04-04T17:03:46 and ... still looping 2008-04-04T17:04:38 crazy storm here 2008-04-04T17:04:57 so ... yeah, I don't think that's it :( 2008-04-04T17:05:06 that hasn't changed from me 2008-04-04T17:05:12 http://svn.open-ils.org/trac/ILS/changeset/9232 2008-04-04T17:05:29 that's the basic change I've made so far 2008-04-04T17:05:44 well, I fixed a problem getting LOCATION after that 2008-04-04T17:06:24 but ... basically it allows for a negative location, which it interprets as a lasso id 2008-04-04T17:06:31 the search works 2008-04-04T17:06:40 but nothing after that works 2008-04-04T17:06:47 in normal or lasso mode 2008-04-04T17:07:38 I'm going to check in what I have now (and we can roll back later if we need to) so you can see what I'm doing 2008-04-04T17:08:20 k 2008-04-04T17:08:29 i'm gonna add some debug lines to dev ineline 2008-04-04T17:08:31 inline 2008-04-04T17:08:36 k 2008-04-04T17:10:14 berick: you may want to ./update.sh before going to far, just to make sure everthing is as you expect 2008-04-04T17:10:50 ok 2008-04-04T17:16:16 *** lisppaste6 has quit IRC 2008-04-04T17:18:48 *** lisppaste6 has joined #openils-evergreen 2008-04-04T17:20:43 miker_: ok, found the problem. findOrgUnit returns a new aou() if it can't find the requested org (not sure why it's not finding it in this case yet..). that's causing orgNodeTrail to loop forever 2008-04-04T17:21:48 ahh... 2008-04-04T17:22:01 if i just tell it to return null (which is what it should do anyway, IMO), it works fine 2008-04-04T17:24:38 ok ... so, I need to make the trail code smarter in the face of no org 2008-04-04T17:25:37 or just make findOrgUnit return null when it can't find it, which seems sane to me 2008-04-04T17:25:47 probably wouldn't hurt to do both 2008-04-04T17:25:57 did the first 2008-04-04T17:26:07 now it won't display results for lassos 2008-04-04T17:26:12 ahh 2008-04-04T17:26:21 which is why I had it returning a dummy node 2008-04-04T17:26:29 ohhh, ok 2008-04-04T17:26:34 i thought that was already there 2008-04-04T17:26:52 no, I changed that in the changeset I pasted above 2008-04-04T17:27:06 but I changed it back just now 2008-04-04T17:27:11 to return null 2008-04-04T17:28:08 anyway ... I will create a new plan 2008-04-04T18:33:22 *** djfiander has joined #OpenILS-Evergreen 2008-04-04T18:41:31 *** sylvar has joined #openils-evergreen 2008-04-04T18:42:29 Is http://open-ils.org/dokuwiki/doku.php?id=advocacy:evergreen_walk-through_script#what_s_missing_from_an_academic_library_perspective still accurate, or have some of those needs been met? I know acq and serials are in the works. 2008-04-04T18:52:27 staff client i18n is about 60% done I think. Alternate ("friendlier") bulk import interface is almost done I think. Academic reserves should be very low hanging fruit. Not sure about authority 2008-04-04T18:53:59 with ERM, I think the plan is to integrate with something else 2008-04-04T18:54:33 though I imagine some of that could tie into acq 2008-04-04T19:02:27 *** gmcharlt has quit IRC 2008-04-04T20:03:51 I have now remapped my emacs key bindings so that 'option' is meta and the common 'command-keys' work the same was as in other mac os apps. 2008-04-04T20:03:58 am I a geek? 2008-04-04T20:49:01 *** sarabee has quit IRC 2008-04-04T21:43:17 *** sarabee has joined #openils-evergreen 2008-04-04T22:20:23 *** lisppaste6 has quit IRC 2008-04-04T22:43:37 I hate dojo. and it's bedtime 2008-04-04T22:43:43 *** djfiander has quit IRC 2008-04-04T23:14:13 *** kados has quit IRC 2008-04-04T23:14:13 *** bradl has quit IRC 2008-04-04T23:14:13 *** phasefx_ has quit IRC 2008-04-04T23:14:13 *** greg-g has quit IRC 2008-04-04T23:14:13 *** dmcmorris_dt has quit IRC 2008-04-04T23:14:13 *** edc_detached has quit IRC 2008-04-04T23:14:13 *** agJohn has quit IRC 2008-04-04T23:14:13 *** tristanbob__ has quit IRC 2008-04-04T23:14:13 *** eeevil has quit IRC 2008-04-04T23:14:13 *** jeff has quit IRC 2008-04-04T23:14:13 *** pmurray_away has quit IRC 2008-04-04T23:14:13 *** phasefx has quit IRC 2008-04-04T23:14:13 *** scottmcd has quit IRC 2008-04-04T23:14:13 *** asmodai has quit IRC 2008-04-04T23:14:13 *** sarabee has quit IRC 2008-04-04T23:14:13 *** rsinger has quit IRC 2008-04-04T23:14:13 *** denials_ has quit IRC 2008-04-04T23:14:13 *** berick has quit IRC 2008-04-04T23:14:13 *** phase_bb has quit IRC 2008-04-04T23:14:13 *** miker_ has quit IRC 2008-04-04T23:14:13 *** atheos has quit IRC 2008-04-04T23:14:13 *** phasefx2 has quit IRC 2008-04-04T23:15:27 *** sarabee has joined #openils-evergreen 2008-04-04T23:15:27 *** greg-g has joined #openils-evergreen 2008-04-04T23:15:27 *** eeevil has joined #openils-evergreen 2008-04-04T23:15:27 *** phasefx has joined #openils-evergreen 2008-04-04T23:15:27 *** scottmcd has joined #openils-evergreen 2008-04-04T23:15:27 *** dmcmorris_dt has joined #openils-evergreen 2008-04-04T23:15:27 *** edc_detached has joined #openils-evergreen 2008-04-04T23:15:27 *** tristanbob__ has joined #openils-evergreen 2008-04-04T23:15:27 *** agJohn has joined #openils-evergreen 2008-04-04T23:15:27 *** rsinger has joined #openils-evergreen 2008-04-04T23:15:27 *** jeff has joined #openils-evergreen 2008-04-04T23:15:27 *** kados has joined #openils-evergreen 2008-04-04T23:15:27 *** pmurray_away has joined #openils-evergreen 2008-04-04T23:15:27 *** bradl has joined #openils-evergreen 2008-04-04T23:15:27 *** phasefx_ has joined #openils-evergreen 2008-04-04T23:15:27 *** asmodai has joined #openils-evergreen 2008-04-04T23:15:27 *** berick has joined #openils-evergreen 2008-04-04T23:15:27 *** denials_ has joined #openils-evergreen 2008-04-04T23:23:41 *** phasefx2 has joined #OpenILS-Evergreen 2008-04-04T23:23:41 *** atheos has joined #OpenILS-Evergreen 2008-04-04T23:23:41 *** miker_ has joined #OpenILS-Evergreen 2008-04-04T23:23:41 *** phase_bb has joined #OpenILS-Evergreen 2008-04-04T23:39:30 *** greg-g has quit IRC