Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] Grouper-WS: Strategies for moving groups/stems?

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] Grouper-WS: Strategies for moving groups/stems?


Chronological Thread 
  • From: "GW Brown, Information Systems and Computing" <>
  • To: Tom Barton <>, Loris Bennett <>
  • Cc: Grouper Users Mailing List <>
  • Subject: Re: [grouper-users] Grouper-WS: Strategies for moving groups/stems?
  • Date: Tue, 14 Oct 2008 15:55:14 +0100



--On 13 October 2008 09:07 -0500 Tom Barton
<>
wrote:

In answer to your question 2, you could instead use the xml-export
capability to export the group and then import it into the new folder.
But I haven't yet tried this out to verify that subgroup or composite
structure us preserved. Perhaps Gary can comment on that before I get the
chance to test it.
Export and import would work for a simple group i.e. not a composite or one with other groups as members, though for it to work you would have to either delete the original group after export but before import, or remove the id attribute of the group in the export file.

When importing and an id is present Grouper will attempt to recreate the group with the same id. This is what you would want if doing a bulk export and import between Grouper versions, but does not work well when importing to the same repository.

There is a property 'export.group.internal-attributes' which is true by default which causes modify times / subjects to be exported, however, setting it to false does not stop the id being exported - which it probably should do.

I'll raise a Jira issue regarding some tweaks to XML import/export which would make it behave 'better'. I'm not sure if some things were broken since my original version of the tool or if they never really worked the way they should have when importing back into the same repository

Gary



----------------------
GW Brown, Information Systems and Computing




Archive powered by MHonArc 2.6.16.

Top of Page