grouper-users - Re: [grouper-users] Import Error unable to import from xml: null
Subject: Grouper Users - Open Discussion List
List archive
- From: Tom Barton <>
- To: "GW Brown, Information Systems and Computing" <>
- Cc: Colin Hudler <>,
- Subject: Re: [grouper-users] Import Error unable to import from xml: null
- Date: Wed, 16 Jan 2008 08:42:52 -0600
Gary, but shouldn't XmlExporter produce a document that is importable with XmlImporter? Seems like option 3 would support that requirement.
Tom
GW Brown, Information Systems and Computing wrote:
Hi Colin,
The code is 'designed' to fail if you try to set a null value. Whether or not it should do is debatable. The options would be to:
1. Fail as now
2. Log an error but continue importing
3. Delete the current value if one is set
This could be made a configuration option. The only question would be which to choose as a default.
I've added a Jira issue: <https://bugs.internet2.edu/jira/browse/GRP-81>
Gary
--On 15 January 2008 11:32 -0600 Colin Hudler
<>
wrote:
Hi,
The error in the subject of this email will occur in
edu.internet2.middleware.grouper.XmlImporter when a grouptype has an
empty attribute. Example xml generated by ant xml-export:
<groupTypes>
<groupType name='Provisioner'>
<attribute
name='Destinations'>ou=groups,dc=uchicago,dc=edu</attribute>
<attribute name='Send To'></attribute>
</groupType>
('Send To' has no value)
Sorry, I didn't find exactly which method--if any--causes the error.
--
Colin Hudler
Network Based Services
The University of Chicago
----------------------
GW Brown, Information Systems and Computing
- Import Error unable to import from xml: null, Colin Hudler, 01/15/2008
- Re: [grouper-users] Import Error unable to import from xml: null, GW Brown, Information Systems and Computing, 01/16/2008
- Re: [grouper-users] Import Error unable to import from xml: null, Tom Barton, 01/16/2008
- Re: [grouper-users] Import Error unable to import from xml: null, GW Brown, Information Systems and Computing, 01/16/2008
- Re: [grouper-users] Import Error unable to import from xml: null, Tom Barton, 01/16/2008
- Re: [grouper-users] Import Error unable to import from xml: null, GW Brown, Information Systems and Computing, 01/16/2008
Archive powered by MHonArc 2.6.16.