Closed (fixed)
Project:
Currency
Version:
master
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Mar 2006 at 23:49 UTC
Updated:
14 Jul 2006 at 17:01 UTC
Jump to comment: Most recent file
Again :), here is the api patch, i've included the full package too, as i'm new to this patching thing and we have new ".install" files...
Changes:
- new formAPI stuff.
- code changes to conform with drupal coding conventions.
- creation of .install file (4.7 way to create the mysql table's automatically).
Pacheco
Obs.: StockAPI and Stock both have new patches too.
| Comment | File | Size | Author |
|---|---|---|---|
| #14 | currency_api_0.patch | 687 bytes | pacheco |
| #10 | currency_api.patch | 18.53 KB | pacheco |
| #9 | currency_2.patch | 28.74 KB | pacheco |
| #7 | currency_1.patch | 9.98 KB | pacheco |
| #6 | currency.zip | 14.38 KB | pacheco |
Comments
Comment #1
hadishon commentedI tried installing this on a 4.7 (released) version of drupal and it crashed the site. These are the errors I got:
Warning: Missing argument 2 for variable_get() in /httpdocs/includes/bootstrap.inc on line 263
Warning: Cannot modify header information - headers already sent by (output started at /httpdocs/includes/bootstrap.inc:263) in /kcholmim.org/httpdocs/includes/common.inc on line 266
Maybe something changed between when you submitted this patch and the 4.7 release?
Comment #2
pacheco commentedYes, its possible, i will have a look and upload a new version asap. Tks!
Comment #3
pacheco commentedeasier than i thought...
please verify this new version.
tks again
Comment #4
pacheco commentedThis is the final version, it's ready to go in my opinion.
Comment #5
pacheco commentedjust "diff -u"...
Comment #6
pacheco commentedand a full package, just in case...
Comment #7
pacheco commentedText editor encoding solved, this one is a lot smaller, sorry...
Comment #8
kbahey commentedThere is still one form_checkbox in currency_api.module.
Please make a separate patch for it.
Comment #9
pacheco commentednew one, i forgot to "diff -uN" (recursive)
most of the changes at currency_ap/currency_api.module are conding convention ones, this file got havier most because of that.
Comment #10
pacheco commentedok, new separated patch
formAPI stuff and indentation conforming with conventions...
Comment #11
kbahey commentedpacheco, I committed your changes.
One thing is missing: creating a .install file for the database table to be created.
Comment #12
pacheco commentedthis one doesn't use a database table Khalid... currency does not cache results, remember?
Comment #13
kbahey commentedThanks Pacheco. I confused it with Stock API.
Branched for 4.7 too.
Comment #14
pacheco commentedJust found an little error, last one please ;)
Comment #15
pacheco commentedjust changing the status to fixed
Comment #16
(not verified) commented