Ignore:
Timestamp:
27 Oct 2007, 21:53:04 (17 years ago)
Author:
Henrik Bettermann
Message:

rebuild getNextInfo.py completely
fetch session from portal properties.xml
change all scripts using getSessionId
remove StudentCourseResult? relevant code from event services
make pay_by_sc.py and interswitch_cb.py work (rebuild both)

Location:
WAeUP_SRP/base/skins/waeup_utilities
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_utilities/fixReservedBeds.py

    r1567 r2454  
    1717students = context.portal_url.getPortalObject().campus.students
    1818hostels = context.portal_url.getPortalObject().campus.accommodation.objectItems()
    19 acco_id = "accommodation_%s" % context.getSessionId()
     19acco_id = "accommodation_%s" % context.getSessionId()[0]
    2020logger.info('%s starts fixReservedBeds' % (member))
    2121#from Products.zdb import set_trace;set_trace()
  • WAeUP_SRP/base/skins/waeup_utilities/fixReturningSession.py

    r2453 r2454  
    3636brains = aq_students(query)
    3737total = len(brains)
    38 logger.info('editet %d students with session 06 and returning' % total)
     38logger.info('editet %d students with session 06 and state returning' % total)
    3939count = 0
    4040commit_after = 100
     
    5555    except:
    5656        rwrite('>>>> not found %s study_course' % (brain.id))
    57        
     57
Note: See TracChangeset for help on using the changeset viewer.