Skip to Content.
Sympa Menu

grouper-users - xml-import errors

Subject: Grouper Users - Open Discussion List

List archive

xml-import errors


Chronological Thread 
  • From: graham <>
  • To:
  • Cc: "Pytel,G" <>
  • Subject: xml-import errors
  • Date: Thu, 08 May 2008 17:16:08 +0100

Hi,

I'm attempting an initial grouper install, using the separate api/ui tar files for 1.3.0rc2. I'm having a few problems, some minor and some less so:

1. (minor, I guess): one of the junit tests fails. The error message is:

<testcase classname="edu.internet2.middleware.grouper.Test_I_API_RegistrySubject_delete"
name="test_delete_failToDeleteNoLongerExistingRegistrySubject" time="0.071">
<failure message="did not throw expected GrouperException"
type="junit.framework.AssertionFailedError">junit.framework.AssertionFailedError:
did not throw expected GrouperException
at
edu.internet2.middleware.grouper.Test_I_API_RegistrySubject_delete.test_delete_failToDeleteNoLongerExistingRegistrySubject(Unknown
Source)
</failure>
</testcase>

2. (minor) If the login succeeds because the user is in tomcat-users.xml, but the same user is not in the database, the resulting error page is not rendered as html (I guess the wrong header information is sent)

3. (very minor) gsh.sh is being distributed in MSDOS format (I assume it isn't actually any use on a DOS-based system...)

4. (currently a blocker for me) I can login as user GrouperSystem (I haven't set up a wheel group yet). But this gives me nothing, since my database is empty. I don't currently understand the format of the grouper registry data (is there a wiki page I missed?) so am attempting to upload the quickstart.xml file rather than creating my own test data.

Using
ant xml-import -Dcmd="GrouperSystem quickstart.xml"

succeeds for a large part of the file then fails when it comes to the first list of individuals (line 776):

2008-05-08 16:45:46,080:
[53307d7b-bdfc-46d4-9132-1b9157379a5b,'GrouperSystem','application'] grant access priv: group='etc:wheel' priv='view'
subject='GrouperAll'/'application'/'g:isa' (42ms)
2008-05-08 16:45:46,149: unable to import from xml: subject not found: jaco

Any idea what I'm doing wrong?

Thanks
Graham



Archive powered by MHonArc 2.6.16.

Top of Page