Closed (fixed)
Project:
Localization server
Version:
7.x-1.x-dev
Component:
l10n_packager
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
3 May 2012 at 22:41 UTC
Updated:
19 May 2012 at 00:31 UTC
Hi, at some point in l10n_packager.pages.inc this line was changed to:
function l10n_packager_download_project_form_submit($form, $form_state) {
drupal_goto('translate/downloads', array('query' => array('project' => '\\' .$form_state['values']['uri'])));
}
this will make that the form at translate/downloads, when the project "project_name" is selected, redirects to
translate/downloads&project=\project_name instead of translate/downloads&project=project_name
and the extra \ breaks the form, that won't find the project.
Here's a patch to change it to:
function l10n_packager_download_project_form_submit($form, $form_state) {
drupal_goto('translate/downloads', array('query' => array('project' => $form_state['values']['uri'])));
}
After this patch, the form shows the file downloads for a project.
note that we might need to apply the patch from #1549780: Repackaging Form Not Working to even test this :)
cheers.
| Comment | File | Size | Author |
|---|---|---|---|
| l10n_packager-remove_backslashes_in_query_string.patch | 639 bytes | lucascaro |
Comments
Comment #1
lucascaro commentedUpdate: the mentioned patch is not necessary to test this.
Comment #2
SebCorbin commentedCommitted