Postponed (maintainer needs more info)
Project:
Bank Transfer | Ubercart Payment
Version:
6.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Sep 2010 at 10:41 UTC
Updated:
26 Mar 2012 at 17:26 UTC
Comments
Comment #1
xibun commentedcan you please describe the steps necessary to recreate this error? (please also list the SW versions used)
Comment #2
checker commentedSorry for missing information. I get this error on the "admin/store/orders/%/payments". After you click the link "receive bank transfer" on the order view. In theme_uc_bank_transfer_receive_bank_transfer_form() you call uc_paymant.js with drupal_add_js() that causes this error. So I'm asking myself why you need there that script.
Comment #3
xibun commentedwill have to check (maybe someone else finds the time before me...) - only thing I can say right now is that it works perfectly on our live site (http://www.seizpacks.com)
Comment #4
checker commentedDo you override theme_uc_bank_transfer_receive_bank_transfer_form in another module or theme?
Comment #5
xibun commentedJust to make sure.. I'm using Drupal 6.19, Ubercart 2.4 and Bank Transfer 1.0beta2.
I've done a quick check to make sure my mind is not playing a trick on me and I cannot reproduce the error here.
As far as I remember I don't override that theme function.
Comment #6
xibun commentedand I did another quick test: just removing that line doesn't hurt the functionality in our case - so I guess you are right that it's there for "historic" reason only...
Comment #7
xibun commentedI think I found the origin / reason why "uc_paymant.js" is added: there is a similar payment method in the Ubercart payment pack (COD - check).
-> file uc_payment_pack.admin.inc - function theme_uc_payment_pack_receive_check_form()
so I guess we have to file the bug against Ubercart - or do you see a reason why they need it there and we don't need it here ?
(in other words: it seems both payment methods or none of them needs the .js - and therefor I will not remove it as long as Ubercart includes it...)
Comment #8
xibun commentedrelated to this issue is this one: #1416298: Warning upon receiving payment. since Ubercart 7.x-3.0-rc1 uc_payment.js is history. (= removed from both ubercart and uc_bank_transfer)
still, as long is it is not causing any real problems for the Ubercart 6.x-2.x version I will not dig deeper and just leave it as it is.