Redirection after batch import

Frank Steiner - March 17, 2009 - 09:12
Project:Bibliography Module
Version:6.x-1.1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

Hi,
I'm not sure if you really want to go back to the publication list after doing some bibtex import (because without batch it stays on the import site). But in either case the redirect is wrong as it is hardcoded to 'biblio'. I should either bei

function biblio_import_form_submit($form, & $form_state) {
...
  $base = variable_get('biblio_base', 'biblio');
  // only needed if not inside a form _submit handler :
  batch_process($base);
..

or
  batch_process(NULL);

Not attaching a patch because I'm not sure where you want to go :-)

#1

rjerome - March 18, 2009 - 01:08

Good catch! Fixed, it now goes back to the import form which is the same as what happens if you don't use batch importing.

Ron.

#2

rjerome - March 18, 2009 - 01:09
Status:active» fixed

#3

System Message - April 1, 2009 - 01:10
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.