Changeset 1350 for WAeUP_SRP/trunk


Ignore:
Timestamp:
25 Jan 2007, 17:54:18 (18 years ago)
Author:
joachim
Message:

added Patch for VocalbulariesTool?, which fixed the loading of to many objects.

Location:
WAeUP_SRP/trunk
Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/Students.py

    r1322 r1350  
    996996            if per is not None:
    997997                dp = {}
    998                 dp['perm_address'] = entry_mode
     998                dp['perm_address'] = perm_address
    999999                per_doc.edit(mapping=dp)
    10001000            tr_count += 1
  • WAeUP_SRP/trunk/__init__.py

    r1226 r1350  
    1515import PatchCPSSchemasAttributeStorageAdapter
    1616import PatchCPSSchemasDataModel
     17import PatchCPSSchemasVocabulariesTool
    1718import PatchCPSMembershipTool
    1819import PatchCPSUserFolderUserFolder
  • WAeUP_SRP/trunk/skins/waeup_default/waeup_edit.py

    r1151 r1350  
    5959    elif context.portal_type in ("StudentPersonal",):
    6060        name = "%(firstname)s %(middlename)s %(lastname)s" % ds
     61        name = name.strip()
     62        name = name.replace('  ',' ')
    6163        student_id = context.getStudentId()
    6264        app_doc = context.application.getContent()
  • WAeUP_SRP/trunk/skins/waeup_utilities/deleteStudentByMatricNo.py

    r1316 r1350  
    4949        res_imp.deleteRecord(r.key)
    5050        res_deleted.append(r.key)
    51     msg = "%s deleted" % (','.join(res_deleted))
     51    msg = "%s results deleted" % (',\n'.join(res_deleted))
    5252else:
    5353    msg = "No results to delete for %s" % matric_no
  • WAeUP_SRP/trunk/skins/waeup_utilities/fixPermAddress.py

    r1345 r1350  
    2424    return
    2525count = 0
     26students = retcat()
    2627#from Products.zdb import set_trace;set_trace()
    27 students = retcat()
    2828for sbrain in students:
    2929    sres = scat(matric_no=sbrain.matric_no)
Note: See TracChangeset for help on using the changeset viewer.