Ignore:
Timestamp:
28 Mar 2012, 16:49:18 (13 years ago)
Author:
Henrik Bettermann
Message:

Callback requests in the base package are only for demonstration purposes. These components must be neutralized in the customization package.

Location:
main/waeup.kofa/trunk/src/waeup/kofa/applicants
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser.py

    r7996 r7997  
    505505    """
    506506    grok.context(IApplicantOnlinePayment)
    507     grok.name('callback')
     507    grok.name('simulate_callback')
    508508    grok.require('waeup.payApplicant')
    509509
    510510    # This update method simulates a valid callback und must be
    511     # specified in the customization package. The parameters must be taken
    512     # from the incoming request.
     511    # neutralized in the customization package.
    513512    def update(self):
    514513        self.wf_info = IWorkflowInfo(self.context.__parent__)
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_browser.py

    r7984 r7997  
    644644                          self.browser.contents)
    645645        # Callback can't be applied twice
    646         self.browser.open(payment_url + '/callback')
     646        self.browser.open(payment_url + '/simulate_callback')
    647647        self.assertMatches(
    648648            "...Transition 'pay' requires 'started' as source state...",
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/viewlets.py

    r7819 r7997  
    182182    icon = 'actionicon_call.png'
    183183    text = _('Request callback')
    184     target = 'callback'
     184    target = 'simulate_callback'
    185185
     186    # This button must be neutralized
     187    # in the customization package.
    186188    @property
    187189    def target_url(self):
Note: See TracChangeset for help on using the changeset viewer.