Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 42 Next »

[12:28:22 EDT(-0400)] * JASIGLogBot (i=jasigch@jasigch.Princeton.EDU) has joined ##uportal
[12:28:22 EDT(-0400)] * Topic is 'http://uportal.pastebin.com/ - http://www.ja-sig.org/wiki/display/UPC/uportal+IRC+Logs' set by EricDalquist on 2008-02-27 12:32:13 EST(-0500)
[13:10:24 EDT(-0400)] * VangelAjanovski (n=chatzill@89.205.6.231) has joined ##uportal
[13:15:55 EDT(-0400)] <EricDalquist> xslt is so much fun!
[13:16:05 EDT(-0400)] <EricDalquist> actually serious with that (smile)
[13:17:47 EDT(-0400)] <VangelAjanovski> Hi
[13:17:53 EDT(-0400)] <EricDalquist> hello
[13:18:19 EDT(-0400)] <VangelAjanovski> Eric, you mentioned in the email to turn on logging just for the person directory api
[13:18:30 EDT(-0400)] <VangelAjanovski> I can't find how to do just that
[13:18:39 EDT(-0400)] <VangelAjanovski> I meant DEBUG logging
[13:18:45 EDT(-0400)] <EricDalquist> ah
[13:18:53 EDT(-0400)] <EricDalquist> you know where the log4j config file is?
[13:19:15 EDT(-0400)] <VangelAjanovski> yes, but whatever I tried I don't get enough logging to see the actual ldap query
[13:20:39 EDT(-0400)] <EricDalquist> ok, just a sec
[13:21:28 EDT(-0400)] <EricDalquist> http://uportal.pastebin.com/d2cfcf8a1
[13:21:35 EDT(-0400)] <EricDalquist> try setting up your log4j config like that
[13:21:52 EDT(-0400)] <EricDalquist> I'm not sure how much logging spring-ldap has in it but that will enable all of it
[13:24:48 EDT(-0400)] <VangelAjanovski> ok i will try that
[13:45:31 EDT(-0400)] * holdorph (n=holdorph@wsip-98-174-242-39.ph.ph.cox.net) has joined ##uportal
[13:45:36 EDT(-0400)] <holdorph> join #sakai2
[13:45:39 EDT(-0400)] <holdorph> (smile)
[13:45:43 EDT(-0400)] <holdorph> missed a slash
[13:49:57 EDT(-0400)] <VangelAjanovski> uhm... this will take a while, i decided to do it from scratch and now ant initportal stops with errors, whereas yesterday it only took a minute
[13:50:25 EDT(-0400)] <EricDalquist> hrm
[13:50:40 EDT(-0400)] <EricDalquist> what are the errors?
[13:50:59 EDT(-0400)] <VangelAjanovski> lots of them
[13:51:13 EDT(-0400)] <EricDalquist> also you may want to do a svn update (you're using trunk right?) I committed some changes yesterday that gets rid of all the console spam when the tests run
[13:51:16 EDT(-0400)] <VangelAjanovski> first it had trouble with CAS, so I downgraded it from 3.3 to 3.2 (in the pom.xml)
[13:51:25 EDT(-0400)] <EricDalquist> which makes tracking down issues easier
[13:52:04 EDT(-0400)] <VangelAjanovski> yes I'm using trunk but I don't get how anything has changed in the last 12 hours without touching it
[13:52:30 EDT(-0400)] <VangelAjanovski> maybe maven has downloaded some different version of something in the meanwhile
[13:53:01 EDT(-0400)] <EricDalquist> that shouldn't happen I don't think trunk has many snapshot dependencies
[13:53:12 EDT(-0400)] <VangelAjanovski> ok look at this:
[13:53:16 EDT(-0400)] <VangelAjanovski> [java] Import Membership: membership/Entertainment__e-online-55.membership
[13:53:18 EDT(-0400)] <VangelAjanovski> [java] Import Membership: membership/Entertainment__motley-fool-57.membership
[13:53:20 EDT(-0400)] <VangelAjanovski> [java] Import Membership: membership/Entertainment__new-movies-58.membership
[13:53:21 EDT(-0400)] <VangelAjanovski> [java] Import Membership: membership/Entertainment__phd-comics-59.membership
[13:53:23 EDT(-0400)] <VangelAjanovski> [java] Import Membership: membership/Entertainment__sports-illustrated-61.membership
[13:53:24 EDT(-0400)] <VangelAjanovski> [java] Import Membership: membership/Entertainment__word-of-the-day-62.membership
[13:53:26 EDT(-0400)] <VangelAjanovski> [java] Import Membership: membership/Everyone__Faculty-1.membership
[13:53:27 EDT(-0400)] <VangelAjanovski> [java] Import Membership: membership/Everyone__Guests-2.membership
[13:53:29 EDT(-0400)] <VangelAjanovski> [java] Import Membership: membership/Everyone__PAGS_Root-5.membership
[13:53:30 EDT(-0400)] <VangelAjanovski> [java] Exception in thread "main" java.lang.RuntimeException: Error invoking the specified method: getApplicationContext
[13:53:32 EDT(-0400)] <VangelAjanovski> [java] at org.danann.cernunnos.core.InvokeMethodTask.perform(InvokeMethodTask.java:200)
[13:53:33 EDT(-0400)] <VangelAjanovski> [java] at org.danann.cernunnos.runtime.RuntimeTaskDecorator.perform(RuntimeTaskDecorator.java:58)
[13:53:35 EDT(-0400)] <VangelAjanovski> [java] at org.danann.cernunnos.runtime.ScriptRunner$TaskDecorator.perform(ScriptRunner.java:310)
[13:53:36 EDT(-0400)] <VangelAjanovski> [java] at org.danann.cernunnos.runtime.ScriptRunner.run(ScriptRunner.java:264)
[13:53:38 EDT(-0400)] <VangelAjanovski> [java] at org.danann.cernunnos.runtime.ScriptRunner.run(ScriptRunner.java:204)
[13:53:39 EDT(-0400)] <VangelAjanovski> [java] at org.danann.cernunnos.runtime.ScriptRunner.run(ScriptRunner.java:156)
[13:53:41 EDT(-0400)] <VangelAjanovski> [java] at org.danann.cernunnos.runtime.Main.main(Main.java:59)
[13:53:42 EDT(-0400)] <VangelAjanovski> [java] Caused by: java.lang.RuntimeException: Error invoking the specified method: getBean
[13:53:44 EDT(-0400)] <VangelAjanovski> [java] at org.danann.cernunnos.core.InvokeMethodTask.perform(InvokeMethodTask.java:200)
[13:53:46 EDT(-0400)] <VangelAjanovski> [java] at org.danann.cernunnos.runtime.RuntimeTaskDecorator.perform(RuntimeTaskDecorator.java:58)
[13:53:48 EDT(-0400)] <VangelAjanovski> ups I pasted too much here
[13:53:51 EDT(-0400)] <EricDalquist> heh
[13:53:53 EDT(-0400)] <EricDalquist> yeah use pastebit
[13:53:59 EDT(-0400)] <EricDalquist> pastebin*
[13:54:00 EDT(-0400)] <VangelAjanovski> sorry
[13:54:02 EDT(-0400)] <EricDalquist> no problem
[13:54:14 EDT(-0400)] <EricDalquist> just that freenode will boot you if you do too much too fast
[13:54:56 EDT(-0400)] <VangelAjanovski> http://uportal.pastebin.com/d624aed5c
[13:55:50 EDT(-0400)] <EricDalquist> is there any more to that stack trace?
[13:56:50 EDT(-0400)] <VangelAjanovski> http://uportal.pastebin.com/m58d7959b
[13:57:21 EDT(-0400)] <VangelAjanovski> it has something to do with PAGS, which I'm not using
[13:57:38 EDT(-0400)] <EricDalquist> ah
[13:57:46 EDT(-0400)] <EricDalquist> you have to use PAGs in 3
[13:58:25 EDT(-0400)] <EricDalquist> the default PAGs group is how the portal makes sure that all users end up in the Everyone group
[13:58:34 EDT(-0400)] <EricDalquist> er 'the default PAGs configuration'
[13:58:46 EDT(-0400)] <EricDalquist> you don't need to make any changes to it
[13:59:02 EDT(-0400)] <EricDalquist> but that default config is needed ... which likely needs to be documented (sad)
[13:59:03 EDT(-0400)] <VangelAjanovski> ok, i meant i never did anything with it
[13:59:34 EDT(-0400)] <EricDalquist> are you using the default entity files?
[13:59:44 EDT(-0400)] <EricDalquist> like have you added/removed any
[14:00:09 EDT(-0400)] <EricDalquist> or have you modified uportal-impl/src/main/resources/properties/groups/compositeGroupServices.xml ?
[14:01:58 EDT(-0400)] <VangelAjanovski> no I tested to use smart ldap group store yesterday and it got all the groups from ldap, it seemed OK
[14:02:09 EDT(-0400)] <VangelAjanovski> and I disabled it and did initportal
[14:02:21 EDT(-0400)] <EricDalquist> ok, can you make sure that in uportal-impl/src/main/resources/properties/groups/compositeGroupServices.xml PAGs is still enabled?
[14:03:17 EDT(-0400)] <EricDalquist> brb
[14:05:23 EDT(-0400)] <EricDalquist> I'm back
[14:06:31 EDT(-0400)] <VangelAjanovski> you are right, that was it
[14:06:58 EDT(-0400)] <VangelAjanovski> i just don't recall commenting it out
[14:07:13 EDT(-0400)] <EricDalquist> if you copied that from a 2.x version of uP it may not have been enabled
[14:07:36 EDT(-0400)] * jessm (n=Jess@c-76-19-199-61.hsd1.ma.comcast.net) has joined ##uportal
[14:07:49 EDT(-0400)] <VangelAjanovski> no, i checked it out from trunk couple a days ago
[14:09:26 EDT(-0400)] <VangelAjanovski> but this does not explain how CAS 3.2 is working and CAS 3.3 is not
[14:10:34 EDT(-0400)] <EricDalquist> CAS I can't help much with
[14:11:04 EDT(-0400)] <VangelAjanovski> ok nevermind, i will boot it up and see what is happening with the person directory
[14:12:05 EDT(-0400)] <EricDalquist> there are a lot of folks on the uportal-user list with CAS experience though
[14:12:22 EDT(-0400)] <EricDalquist> it could be that the client in uP3 (which is the old Yale CAS2 client) doesn't work with 3.3?
[14:15:00 EDT(-0400)] <VangelAjanovski> it worked yesterday
[14:15:18 EDT(-0400)] <EricDalquist> oh well then I really don't know :/
[14:16:51 EDT(-0400)] <VangelAjanovski> ok, i have something like this: http://uportal.pastebin.com/d724b1cf7
[14:17:33 EDT(-0400)] <VangelAjanovski> i get: Welcome Unrecognized person: ajan.
[14:18:01 EDT(-0400)] <EricDalquist> so there is a caching layer configured in the default PD config and that log just shows cache hits so the real query must be earlier on in the log file
[14:18:26 EDT(-0400)] <VangelAjanovski> there was similar discussion about this with Kim and Drew and I don't know if it was resolved
[14:18:27 EDT(-0400)] <EricDalquist> you could also go into personDirectoryContext.xml and remove the caching layer if you'd like
[14:20:42 EDT(-0400)] <VangelAjanovski> maybe http://uportal.pastebin.com/d2e5920f3
[14:20:55 EDT(-0400)] <VangelAjanovski> from the first occurence of my username
[14:22:29 EDT(-0400)]

<VangelAjanovski> I can see this: Generated query builder '(sAMAccountName=ajan)' from query Map

Unknown macro: {username=[ajan]}

.


[14:22:42 EDT(-0400)] <EricDalquist> so not a lot of info, looks like lines 20-24 are related to the ldap query
[14:23:08 EDT(-0400)] <EricDalquist> we should create a jira issue to increasing logging in the ldap dao before PD 1.5 is final
[14:23:15 EDT(-0400)] <EricDalquist> so you can see the query it builds
[14:23:16 EDT(-0400)]

<VangelAjanovski> you see in line 24: Retrieved attributes='[]' for query='

Unknown macro: {username=[ajan]}

', isFirstQuery=false,


[14:23:20 EDT(-0400)] <EricDalquist> yup
[14:23:28 EDT(-0400)] <EricDalquist> and so that query appears to have returned no results
[14:23:33 EDT(-0400)]

<VangelAjanovski> but the query should be

Unknown macro: {samaccountname=[ajan]}

[14:23:36 EDT(-0400)] <VangelAjanovski> i think
[14:23:52 EDT(-0400)] <EricDalquist> ah so line 24 isn't ldap any more
[14:24:03 EDT(-0400)] <EricDalquist> the ldap query it runs is listed on 21
[14:24:04 EDT(-0400)] <EricDalquist> รฏยปยฟ(sAMAccountName=ajan)
[14:25:03 EDT(-0400)] <VangelAjanovski> aha... the thing is that the LDAP is Active Directory so I can't get any info from it what is the exact query it got
[14:25:10 EDT(-0400)] <EricDalquist> do you have any ldap query tool available on that same machine?
[14:26:22 EDT(-0400)] <EricDalquist> what I've seen before (here included) is confusion about the connect URL, connect baseDN and query baseDN
[14:26:51 EDT(-0400)] <EricDalquist> so like your log shows it connecting to:
[14:26:52 EDT(-0400)] <EricDalquist> ldap://staff.ii.edu.mk:389/ou=Korisnici,dc=staff,dc=ii,dc=edu,dc=mk
[14:27:20 EDT(-0400)] <EricDalquist> is a query to that URL with the basedn specified in the PD config correct?
[14:28:17 EDT(-0400)] <VangelAjanovski> the basedn and the querybasedn are the same
[14:28:36 EDT(-0400)] <EricDalquist> so then does it need to be specified in both places?
[14:28:55 EDT(-0400)] <EricDalquist> try leaving it off the LdapContextSource and just specifying it on the LDAP PD DAO
[14:28:59 EDT(-0400)] <EricDalquist> or vice versa
[14:29:12 EDT(-0400)] <VangelAjanovski> it must be
[14:29:18 EDT(-0400)] <VangelAjanovski> it fails if i leave it empty
[14:29:44 EDT(-0400)] <EricDalquist> if you leave it empty on either one?
[14:30:12 EDT(-0400)] <VangelAjanovski> now i can't recall all the combinations that i tried
[14:30:16 EDT(-0400)] <EricDalquist> :/
[14:30:23 EDT(-0400)] <VangelAjanovski> i can try again in just 2-3 seconds
[14:30:55 EDT(-0400)] <EricDalquist> so locally
[14:31:07 EDT(-0400)] <EricDalquist> we specify no base on the LdapContextSource
[14:31:14 EDT(-0400)] <EricDalquist> just url/username/password
[14:31:27 EDT(-0400)] <EricDalquist> and we specify the base on the LdapPersonAttributeDao
[14:34:18 EDT(-0400)] <VangelAjanovski> i tried it and now there is some change in the log
[14:34:52 EDT(-0400)]

<VangelAjanovski> previously: Retrieved attributes='[]' for query='

Unknown macro: {username=[ajan]}

', isFirstQuery=false


[14:34:54 EDT(-0400)]

<VangelAjanovski> now: Retrieved attributes='[AttributeNamedPersonImpl[name=ajan,attributes=

Unknown macro: {username=[ajan], first_name=[Вангел], last_name=[ÐยÑย˜Ð°Ð½Ð¾Ð²ÑยÐºÐ¸], email=[ajan@ii.edu.mk]}

]]' for query='

Unknown macro: {username=[ajan]}

', isFirstQuery=false, currentlyConsidering='org.jasig.services.persondir.support.ldap.LdapPersonAttributeDao@576ba7f9', resultAttributes='[AttributeNamedPersonImpl[name=ajan,attributes={usernam


[14:34:56 EDT(-0400)] <VangelAjanovski> e=[ajan],...
[14:34:58 EDT(-0400)] <VangelAjanovski> ...user.login.id=[ajan]}]]'
[14:35:27 EDT(-0400)] <EricDalquist> that's promising
[14:35:37 EDT(-0400)] <EricDalquist> can you do a pastebin paste of that whole section?
[14:36:35 EDT(-0400)] <VangelAjanovski> just a minute, now i forgot to include displayName attribute
[14:37:04 EDT(-0400)] <VangelAjanovski> yes, that was it ... thank you
[14:37:23 EDT(-0400)] <VangelAjanovski> BaseDN in LdapContextSource should be empty
[14:37:32 EDT(-0400)] <EricDalquist> no problem
[14:37:45 EDT(-0400)] <EricDalquist> I always get frustrated with LDAP configs too
[14:37:50 EDT(-0400)] <VangelAjanovski> yesterday i tried it empty in the query but it failed
[14:38:05 EDT(-0400)] <EricDalquist> end up talking to middleware who does some magic hand-waving and gives me the right strings
[14:38:21 EDT(-0400)] <VangelAjanovski> obviously i have yet to learn in reading log files (smile)
[14:40:12 EDT(-0400)] <EricDalquist> the hard part with that ldap stuff is there isn't a ton the log can tell you
[14:40:27 EDT(-0400)] <EricDalquist> since a mis-configured basedn looks like like the user not existing in the directory to the code
[14:45:15 EDT(-0400)] <EricDalquist> DTDs confuse me to no end
[14:45:19 EDT(-0400)] <VangelAjanovski> ok, i will note the solution to the mailing list in order to have it there if anyone need it
[14:45:36 EDT(-0400)] <EricDalquist> I just want to add a few new elements to a .channel file and I can't figure out how to edit the DTD to make it validate!
[14:45:40 EDT(-0400)] <EricDalquist> thanks VangelAjanovski!
[14:45:56 EDT(-0400)] <EricDalquist> I'll add more logging to the LDAP part of PD before 1.5 is final
[14:50:21 EDT(-0400)] <VangelAjanovski> I have one more question for you
[14:50:38 EDT(-0400)] <EricDalquist> ok
[14:50:58 EDT(-0400)] <VangelAjanovski> a year or maybe more ago I discussed several changes to be able to have different TAB-set for different languages
[14:51:37 EDT(-0400)] <VangelAjanovski> since I am not up2date with trunk for almost a year, have any of that or similar features got into
[14:52:21 EDT(-0400)] <EricDalquist> I don't think so
[14:52:30 EDT(-0400)] <EricDalquist> this was targeting tabs based on the user's language?
[14:53:09 EDT(-0400)] <VangelAjanovski> well, first I had a modification to make a different set of tab for different languages
[14:53:35 EDT(-0400)] <VangelAjanovski> it was mainly done in the theme and structure transformations
[14:53:42 EDT(-0400)] <EricDalquist> hrm
[14:53:59 EDT(-0400)] <VangelAjanovski> but i had the problem - i had to disable the caching for this to work
[14:53:59 EDT(-0400)] <EricDalquist> I guess depending on what you're trying to acomplish you might be able to do that already using groups and DLM
[14:54:25 EDT(-0400)] <EricDalquist> are languages for your users an attribute in a directory or a self-selected value?
[14:54:49 EDT(-0400)] <VangelAjanovski> well i want to have tabs Studies and Information when you click English, and only Studies when you click macedonian and I want to have the language change on the front page
[14:55:25 EDT(-0400)] <EricDalquist> ah
[14:55:28 EDT(-0400)] <VangelAjanovski> i did several modification to be able to have this in up2
[14:55:39 EDT(-0400)] <EricDalquist> so let the user switch languages during their session?
[14:55:48 EDT(-0400)] <VangelAjanovski> yes
[14:55:59 EDT(-0400)] <EricDalquist> hrm, that I'm not sure about
[14:56:18 EDT(-0400)] <EricDalquist> since, as you found, layout structure is generally cached for the duration of the user's session
[14:56:32 EDT(-0400)] <EricDalquist> sounds like an interesting discussion though
[14:56:41 EDT(-0400)] <EricDalquist> there are several ways it could be approached
[14:56:50 EDT(-0400)] <EricDalquist> one would be to have the entire layout there
[14:57:16 EDT(-0400)] <VangelAjanovski> well i did it with special numbers of the dlm fragments and the xsl used the number to present different sets of tabs
[14:57:26 EDT(-0400)] <EricDalquist> have the user's language be a structure parameter and attach 'valid languages' to fragments
[14:57:28 EDT(-0400)] <VangelAjanovski> but I had to disable caching
[14:57:40 EDT(-0400)] <EricDalquist> when the structure parameter changes the structure transform would be able to re-do the filtering
[14:57:53 EDT(-0400)] <VangelAjanovski> and i did a modification in UserInstance to have a transform that was locale sensitive
[14:57:55 EDT(-0400)] <EricDalquist> and I think you could leave caching on since it takes structure parameters into account when generating the cache key
[14:59:12 EDT(-0400)] <VangelAjanovski> ok, i will try to do this same thing with trunk now and see if the same is possible (smile)
[14:59:26 EDT(-0400)] <VangelAjanovski> and post the notes on -dev
[15:00:07 EDT(-0400)] <EricDalquist> sounds great
[15:00:08 EDT(-0400)] <VangelAjanovski> I just need it - I want to upgrade to up3
[15:01:45 EDT(-0400)] <VangelAjanovski> this is the current production we use: http://www.ii.edu.mk
[15:01:59 EDT(-0400)] <EricDalquist> glad you're interested, and being patient with some of the holes in documentation and such
[15:02:30 EDT(-0400)] <EricDalquist> very neat
[15:02:48 EDT(-0400)] <EricDalquist> have you ever been able to make it over for a JASIG conference?
[15:02:52 EDT(-0400)] <VangelAjanovski> you can try the locale changing on the right and you will see different channels
[15:03:00 EDT(-0400)] <EricDalquist> yup, noticed that
[15:03:04 EDT(-0400)] <EricDalquist> it sounds like a great feature
[15:04:24 EDT(-0400)] <VangelAjanovski> well ... I never had a chance to go to USA, because the projects we have are mainly EU funded and we rarely have our own finance to go over the ocean
[15:04:58 EDT(-0400)] <EricDalquist> yeah, makes sense
[15:06:10 EDT(-0400)] <VangelAjanovski> next year I will have a bit to choose, so if I do something worth of a presentation I might
[15:06:39 EDT(-0400)] <EricDalquist> that would be great, and a feature like this would be a wonderful showcase of someone taking uPortal and extending it for their needs
[15:08:08 EDT(-0400)] <VangelAjanovski> I'm experimenting with adaptable navigation in a public information portal with thousands of services for my phd, and wanted to do me tests with uportal ... if anything comes out of it as I planned it could be more interesting
[15:08:35 EDT(-0400)] <EricDalquist> (smile)
[15:20:38 EDT(-0400)] <athena7> EricDalquist i'm close to having something together for the tabbed search portlet i mentioned earlier
[15:20:45 EDT(-0400)] <EricDalquist> cool
[15:20:50 EDT(-0400)] <athena7> i gave up and just used spring ldap rather than hooking into the uportal person api
[15:21:02 EDT(-0400)] <athena7> since it would make it easier to use across different versions of uportal
[15:21:39 EDT(-0400)] <EricDalquist> ah yeah
[15:21:56 EDT(-0400)] <EricDalquist> is it behind an interface at least so we could fairly easily swap it out to use PD on 3.1?
[15:22:14 EDT(-0400)] <athena7> not yet really
[15:22:33 EDT(-0400)] <athena7> but it wouldnt' really be that hard to just add a new servlet or something and swap it out in the jsp
[15:22:43 EDT(-0400)] <athena7> i'm not going to have time to make it really elegant, i don't think
[15:22:49 EDT(-0400)] <athena7> but maybe it'd be something we can start from
[15:22:54 EDT(-0400)] <EricDalquist> sounds good
[15:23:22 EDT(-0400)] <athena7> sound like something we could reasonably add to the jasig repository?
[15:24:29 EDT(-0400)] <EricDalquist> yeah, probably into the sandbox for now
[15:24:51 EDT(-0400)] <EricDalquist> it sounds like the incubation group is getting spooled up so they can start filtering though that stuff soon
[15:36:52 EDT(-0400)] <athena7> sounds great
[15:41:54 EDT(-0400)] <athena7> do you know if there's a way to limit the number of results that the spring ldap template returns when you do a search?
[15:47:29 EDT(-0400)] <EricDalquist> yup
[15:47:34 EDT(-0400)] <EricDalquist> SearchControls
[15:47:39 EDT(-0400)] <EricDalquist> it should be an optional argument
[15:47:41 EDT(-0400)] <athena7> ah
[15:47:46 EDT(-0400)] <EricDalquist> create one and set the appropriate properties
[15:47:52 EDT(-0400)] <EricDalquist> you can also limit the search scope
[15:48:05 EDT(-0400)] <EricDalquist> also a good idea is to only return the attributes you're interested in
[15:48:42 EDT(-0400)] <athena7> here we go
[15:48:43 EDT(-0400)] <athena7> thanks!
[15:49:27 EDT(-0400)] <athena7> we actually have a requirement to return different data depending on whether you're logged in or not
[15:49:43 EDT(-0400)] <athena7> which i think is potentially useful
[15:50:00 EDT(-0400)] <EricDalquist> yup
[15:50:10 EDT(-0400)] <EricDalquist> still a good idea to limit
[15:50:19 EDT(-0400)] <EricDalquist> lots of places have things like photos and such in ldap
[15:50:35 EDT(-0400)] <EricDalquist> so unless you really want to potentially be getting multi-MB result sets
[15:51:03 EDT(-0400)] <athena7> yeah that sounds great
[15:51:04 EDT(-0400)] <athena7> thank you!
[15:58:17 EDT(-0400)] * michelled (n=team@142.150.154.197) has left ##uportal
[16:16:51 EDT(-0400)] <athena7> is it ok if the attributes mapper is a singleton?
[16:18:00 EDT(-0400)] <EricDalquist> I think so
[16:18:24 EDT(-0400)] <athena7> ok
[16:18:29 EDT(-0400)] <athena7> i couldn't think of a good reason why it shouldn't be
[16:18:34 EDT(-0400)] <athena7> the examples just made me wonder
[16:33:32 EDT(-0400)] <EricDalquist> my brain is going to mush from editing import scripts (tongue)
[16:34:11 EDT(-0400)] <athena7> uhoh!
[16:34:22 EDT(-0400)] <athena7> your brain isn't allowed to be mush (smile)
[16:34:25 EDT(-0400)] <EricDalquist> hah
[16:34:36 EDT(-0400)] <EricDalquist> it will be very mushy over the next 5 weeks
[16:34:40 EDT(-0400)] <athena7> i think mine might be at the moment - this classcastexception makes no sense
[16:34:50 EDT(-0400)] <EricDalquist> different classloaders?
[16:35:01 EDT(-0400)] <athena7> i think i probably did something stupid
[16:35:32 EDT(-0400)] <athena7> heeeey there we go
[16:35:48 EDT(-0400)] <athena7> think i finally ahve it working such that guest users get different data than logged in ones
[16:35:54 EDT(-0400)] <EricDalquist> neat
[16:37:06 EDT(-0400)] <athena7> argh.
[16:37:07 EDT(-0400)] <athena7> String logged = (String) session.getAttribute("loggedIn");
[16:37:13 EDT(-0400)] <athena7> is causing java.lang.ClassCastException: java.lang.Boolean
[16:37:17 EDT(-0400)] <athena7> huh?
[16:37:22 EDT(-0400)] <EricDalquist> so the attribute must be a Boolean
[16:37:33 EDT(-0400)] <athena7> oh, right.
[16:37:38 EDT(-0400)] <athena7> see i told you i was doing something stupid
[16:37:43 EDT(-0400)] <athena7> it means it is a boolean
[16:37:47 EDT(-0400)] <athena7> not that it isn't one
[16:38:21 EDT(-0400)] <athena7> gah.
[16:38:45 EDT(-0400)] <athena7> thanks for the sanity check there
[16:52:47 EDT(-0400)] <athena7> ok, what do i need to do to get this into the jasig sandbox?
[16:53:03 EDT(-0400)] <EricDalquist> create a project folder
[16:53:11 EDT(-0400)] <EricDalquist> and check it into 'trunk' under that folder
[16:53:18 EDT(-0400)] <athena7> ok, can do
[16:53:34 EDT(-0400)] <athena7> i didn't know if there was anything more organizational you wanted me to do before checking it in
[16:53:39 EDT(-0400)] <EricDalquist> send a note to the portlets list about it
[16:53:43 EDT(-0400)] <athena7> sounds fair
[16:53:48 EDT(-0400)] <EricDalquist> perhaps put a page up in the portlets wiki space with a brief summary
[16:54:01 EDT(-0400)] <athena7> i need to get the copyright blurb from yale, too
[17:53:37 EDT(-0400)] * EiNZTEiN (n=einztein@205.241.143.3) has joined ##uportal
[18:15:32 EDT(-0400)] * jessm (n=Jess@c-76-19-199-61.hsd1.ma.comcast.net) has joined ##uportal
[20:14:26 EDT(-0400)] * lennar1 (n=sparhk@wsip-98-174-242-39.ph.ph.cox.net) has left ##uportal
[21:48:53 EDT(-0400)] * jessm (n=Jess@c-76-19-199-61.hsd1.ma.comcast.net) has joined ##uportal
[22:21:22 EDT(-0400)] * jessm (n=Jess@c-76-19-199-61.hsd1.ma.comcast.net) has joined ##uportal

  • No labels