12Apr/106
Relations and FacultyStaffDirectory for Plone4
Here is a patch to get Relations working with Plone4.
Here is a patch to get FacultyStaffDirectory working with Plone4. You will need to install Kupu; whenever I get around to updating it to TinyMce i'll provide a patch for that. In the meantime let me know if there are any problems so I can update. Cheers!
[1]: http://dl.dropbox.com/u/5510475/relations.plone4.patch
[2]: http://pypi.python.org/pypi/Products.Relations
[3]: http://dl.dropbox.com/u/5510475/facultystaffdirectory.plone4.patch
[4]: http://plone.org/products/faculty-staff-directory/releases/2.1.3
August 29th, 2010 - 20:47
Hello Christopher,
Thanks for the patch for Plone 4 relations. I am using Windows and this is the first time I have used a file like this. I used a feature in Tortoise SVN called “Apply Patch” and it worked. We have a product created with Plone 2.5. It makes use of the Relations product. Eric Steele was the programmer on the project. It is used by the College of Education for their accreditation with various accrediting organizations. We are currently preparing it for the next evaluations by the Council for Accreditation of Counseling and Related Educational Programs, the National Council for Accreditation of Teacher Education and it is planned for usage for the next evaluation by the Pennsylvania Department of Education.
The application is complete, but we would like to migrate it to Plone 4 when it is released. I had contacted the current project manager for the relations product, but he didn’t have time to fix the product for Plone 4. I appreciate your taking the time to create this patch. We can now proceed with the migration.
Joe Bigler
Web Administrator
College of Education
Penn State University
August 30th, 2010 - 08:02
Glad I could help and glad you guys are moving from 2.5 to 4.0
September 14th, 2010 - 16:00
Hi Christopher,
Ran into a problem with Relations in Plone 4.0. I installed your patch and was able to add the product. It appears to be picking up all the information from my product, but gives me this error. I pasted the traceback to http://pastie.org/1158724
The last line says ValueError: No ruleset with id ‘Assessment’
There is a rule with id of Assessment. I tried reinstalling my product and Relations, but still get the same error. It is showing in the Relations.xml file, which I pasted at http://pastie.org/1158764. I worked with Eric Steele on this. He has made use of Relations in FacultyStaffDirectory. Unfortunately, we weren’t able to get it to see rule. Any suggestions? This worked in Plone 2.5.
Joe Bigler(jeb6@psu.edu)
September 15th, 2010 - 10:28
I’d have to take a look at your setup to see what was going on realistically. I can only eyeball and suspect something is wrong with the way a field and/or old relationships via uuid are interacting. That’s just an off the cuff analysis however. However if you want to setup a meeting time to go over this email me.
September 15th, 2010 - 12:03
Thanks Christopher. That sounds great. One thing I would like to try first, perhaps saving you and me some time. I am using ArgoUML 0.30.2 and ArchGenXML 2.5. I was wondering what versions you tested your patch with. If they are different, I will try testing them here with the same versions to see if the problem still occurs.
Thanks,
Joe Bigler
Joe
September 16th, 2010 - 10:40
I didn’t use any of that as it’s not necessary but if you are using those it’s probably a boiler plate code problem somewhere with fields or archetypes.