caveats drupal 7.x-dev

Bug #322762 reported by foerdi
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
ideatorrent
New
Undecided
Unassigned

Bug Description

Hi,

i'm trying to get your modules started in drupal 7.x-dev (I know, it is unstable.. and it will eat my sould, bang my wife, bite my dog, etc... but i love bleeding edge and it loves me, some kind of vampiristic)

when i take your bzr trunk and customize .install and .module files so your modules are accepted by drupal 7.x-dev (no big thing, just syntax correctures and removing the switch-case-bla-bla) i get into trouble because you're using an old function "db_next_id" which obviously increments some id for the sql crap... Sadly, i never worked with SQL, so I can not change it easily myself, but for me it seems you should use db_last_insert_id (successor of db_next_id) or better: db_insert (will remove db_last_insert_id in future)...

Can somebody give me updated code, replacing the INSERT INTO stuff with db_insert?

Thanks in advance (for a patch)

Best,
Ferdi

Revision history for this message
Angel Ramirez Isea (angel-ramirez-isea) wrote :

Hi, foerdi.

I just installed Drupal 7.0 and my plan is to get the ideatorrent module running on it. You have advanced on that path, it seems, and I have some experience with SQL.

Let's share information to update the module.

Revision history for this message
Gerd Moe-Behrens (gerdmoebehrens) wrote :

Hi Fredi,
Very interesting. I would like to install ideatorrent modul on drupal7. It is difficult for me to convert the module. Do you have something working. It would be nice and of great help, if you could share the zip tar tgz gz or bz2 file (for a version of ideatorrent compartible with drupal7). Thanks a lot in advance.
Best
Gerd

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers