uPortal IRC Logs-2011-11-01

[10:18:48 CDT(-0500)] <b-rock> Greetings uPortal devs: working in the up4.0.1 build. I'm logged in and searching for users to look at their data but get "User '" + searcher.getName() + "' attempted searching on attribute '" + attr + "' which is not allowed in the current configuration. The attribute will be ignored."

[10:19:10 CDT(-0500)] <b-rock> coming out of PersonLookupHelper.

[10:20:13 CDT(-0500)] <b-rock> looks like there are available attributes in the person directory for me but I have no permissions as "principal.hasPermission(USERS_OWNER, VIEW_ATTRIBUTE_PERMISSION, attr)" fails for all of the attributes

[10:20:34 CDT(-0500)] <EricDalquist> yeah so I think you need to import all permissions from that quickstart/permission_set dir

[10:20:36 CDT(-0500)] <b-rock> might I be missing some of the data

[10:21:08 CDT(-0500)] <EricDalquist> remember we ran into this permissions issue with id swapping

[10:21:09 CDT(-0500)] <b-rock> oh ok. i did go ahead and import the Portal_Administrator* permissions but not the others.

[10:21:15 CDT(-0500)] <EricDalquist> yeah

[10:21:24 CDT(-0500)] <EricDalquist> I'm going to move those files to the default data set

[10:21:28 CDT(-0500)] <b-rock> np. I'll give that a try now. thanks for the tip.

[10:55:57 CDT(-0500)] <b-rock> Thanks EricDalquist. Importing the quickstart permission_sets fixed that issue.

[15:16:19 CDT(-0500)] <Daskreech> Side note. There is a Atheists Humanists and Agnostics mailing list on Jasig

[15:16:27 CDT(-0500)] <Daskreech> Isn't that a pretty inclusive list?

[15:17:07 CDT(-0500)] <EricDalquist> huh?

[15:17:15 CDT(-0500)] <EricDalquist> link?

[15:20:17 CDT(-0500)] <Daskreech> Ah wait it's not jasig

[15:20:23 CDT(-0500)] <Daskreech> https://lists.wisc.edu/read/all_forums/

[15:20:35 CDT(-0500)] <Daskreech> it's the mailing list server (smile)

[15:20:38 CDT(-0500)] <EricDalquist> lol yeah

[15:20:55 CDT(-0500)] <EricDalquist> so University of Wisconsin - Madison provides email list hosting for Jasig

[15:21:10 CDT(-0500)] <EricDalquist> so that is a list of all public email lists at the 40k student university (smile)

[15:21:46 CDT(-0500)] <Daskreech> You'd pretty much have to be an Assured Religious Genocidal person to not be there

[15:22:10 CDT(-0500)] <EricDalquist> hah

[15:45:07 CDT(-0500)] <Daskreech> EricDalquist: http://pastebin.com/Z8NwKkq6

[15:45:37 CDT(-0500)] <Daskreech> I'm looking through the error and nothing really jumps out at me except for Line 127

[15:45:54 CDT(-0500)] <EricDalquist> yup, what sort of configuration for the portlet have you done?

[15:46:07 CDT(-0500)] <EricDalquist> actually back a step

[15:46:11 CDT(-0500)] <EricDalquist> how did you publish the portlet?

[15:46:37 CDT(-0500)] <Daskreech> I went through the creation of it and then named it and categorized it

[15:46:52 CDT(-0500)] <Daskreech> saved it and then added it to the admin dashboard to test it

[15:46:57 CDT(-0500)] <EricDalquist> and you're in uP3.1 right?

[15:46:58 CDT(-0500)] <Daskreech> This is TTW

[15:47:01 CDT(-0500)] <Daskreech> yes

[15:47:14 CDT(-0500)] <EricDalquist> so this portlet has a "rich config mode"

[15:47:25 CDT(-0500)] <EricDalquist> unfortunatly uP 3.1 doesn't support rich config mode (tongue)

[15:47:28 CDT(-0500)] <Daskreech> oh

[15:47:28 CDT(-0500)] <EricDalquist> 3.2 and later do

[15:47:33 CDT(-0500)] <Daskreech> >_>

[15:47:35 CDT(-0500)] <EricDalquist> you can configure it by hand

[15:47:38 CDT(-0500)] <EricDalquist> its just a lot harder

[15:47:53 CDT(-0500)] <Daskreech> so for each site I want to proxy I have to make a change on the filesystem

[15:48:34 CDT(-0500)] <EricDalquist> no, not on the file system

[15:48:45 CDT(-0500)] <EricDalquist> this isn't a great doc but it is the best I can find for it: https://wiki.jasig.org/display/PLT/WebProxy+Portlet+Installation+and+Configuration

[15:48:52 CDT(-0500)] <EricDalquist> in the General Configuration section

[15:49:11 CDT(-0500)] <EricDalquist> the portlet preferences you'll most likely need to deal with are:

[15:49:14 CDT(-0500)] <EricDalquist> edu.wisc.my.webproxy.webproxy.general.config.sBaseUrl

[15:49:35 CDT(-0500)] <EricDalquist> edu.wisc.my.webproxy.webproxy.general.config.sPortletUrl and edu.wisc.my.webproxy.webproxy.general.config.sListType

[15:49:45 CDT(-0500)] <EricDalquist> sBaseUrl is the initial url the portlet captures

[15:49:55 CDT(-0500)] <EricDalquist> sPortletUrl/sListType are multivalued preferences

[15:50:01 CDT(-0500)] <EricDalquist> that have to have the same number of entries

[15:50:07 CDT(-0500)] <Daskreech> Select 'Editable' for the Channel Controls, if you would like the end user to be able to go to a predetermined URL to edit the proxied web application configuration.

[15:50:13 CDT(-0500)] <Daskreech> I'm not sure I understand that sentence

[15:50:27 CDT(-0500)] <EricDalquist> where the sPortletUrl entry is a regex used to match URLs to be proxied

[15:51:14 CDT(-0500)] <EricDalquist> and the sListType entry is if urls that match the regex is an included (proxied) or excluded (not proxied)

[15:51:35 CDT(-0500)] <EricDalquist> that is for a much older version of uiPortal

[15:55:45 CDT(-0500)] <Daskreech> Ok I'm looking at the portlet that I have here and it's not listed as Authenticated Web Proxy It's listed as Simple Web Proxy Portlet

[15:56:04 CDT(-0500)] <EricDalquist> it is the same portlet

[15:56:20 CDT(-0500)] <Daskreech> Alright just checking

[15:59:49 CDT(-0500)] <Daskreech> http://developer.jasig.org/projects/webproxyportlet/configuration.html is referenced though as you said it's an old article

[16:01:14 CDT(-0500)] <Daskreech> it 404's

[16:03:37 CDT(-0500)] <Daskreech> EricDalquist: Oh another thing. Do you have an example WebProxy Portlet somewhere? I don't know what the final working output should look like

[16:05:38 CDT(-0500)] <EricDalquist> hrm, I'm not sure, you could try setting one up on the uPortal 4.0 nightly build site: https://up40-nightly.jasig.org/f/u14l1s4/normal/render.uP

[16:05:43 CDT(-0500)] <EricDalquist> login as admin/admin

[16:05:49 CDT(-0500)] <EricDalquist> the rich config mode exists there

[16:06:08 CDT(-0500)] <EricDalquist> and you could export the data file for the configured portlet from that site as well

[16:06:30 CDT(-0500)] <EricDalquist> you can't import a 4.0 data file into 3.1 but it would give you an idea of what a working set of portlet preferences would look like

[16:06:41 CDT(-0500)] <EricDalquist> note that site gets wiped and rebuilt nightly

[16:06:59 CDT(-0500)] <Daskreech> It's prettier (smile)

[16:07:21 CDT(-0500)] <EricDalquist> yeah, it's a few years newer than 3.1 (smile)

[16:07:25 CDT(-0500)] <Daskreech> yeah I would expect that

[16:07:35 CDT(-0500)] <Daskreech> Esp from a nightly build site

[16:07:49 CDT(-0500)] <Daskreech> nightly upgrades doesn't make sense a whole lot

[16:27:56 CDT(-0500)] <Daskreech> ok that worked

[16:52:19 CDT(-0500)] <Daskreech> Hmm Went through and redid that on my server and I get that line 127 again