How did it fail? Was it a SQL exception?

If so Cernunnos 1.0 should be able to deal with the string since it uses prepared statements for the SQL. Also, all of the updated import scripts are in the trunk right now if you want to take a look.

-Eric

Christopher Doyle wrote:

I ran into a little issue when attempting to import a membership entity into uPortal where the relevant group name contains parentheses. In our case, we are using the following values to define the /ROOT_KEY/ value of our SmartLdapGroupStore (per environment):

Local / Development:     "Active Directory (H1)"

Staging / Production:      "Active Directory (WIN)"

We added this SmartLdapGroupStore ROOT group to the "Everyone" group using the Groups Manager. The subsequent exported membership entity (as generated by crn-export) is defined as:

<membership script="classpath://org/jasig/portal/io/import-membership_v2-6.crn">

  <parent>Everyone</parent>

  <child>

    <group>Active Directory (H1)</group>

  </child>

</membership>

My initial attempt to import this entity into a new environment failed. As it turns out, the parentheses in the /ROOT_KEY/ were the culprit. I manually delimited the parentheses in the entity and was able to re-run the import successfully:

    <group>Active Directory \(H1\)</group>

My proposal is obviously to modify the export .crn scripts to accommodate proper delimiting. I'm prepping a release at the moment and don't have an immediate solution to contribute back, but wanted to at least make folks aware of the concern in case it comes up elsewhere.

Eric D. -- I know that you have prepared some updated import/export scripts for 3.1.0, do they address this? I don't want to duplicate any work that you may have already completed.

Thanks,

--Chris

--

[ c h r i s d o y l e ]

Johns Hopkins University

Sr. System Software Engineer, [EMAIL PROTECTED]

410.735.4127

[EMAIL PROTECTED]

"Eleven. Exactly. One louder."


--

You are currently subscribed to [email protected] as: [EMAIL 
PROTECTED]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/uportal-dev

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to