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.

Comments

lucascaro’s picture

Update: the mentioned patch is not necessary to test this.

SebCorbin’s picture

Status: Needs review » Fixed

Committed

Status: Fixed » Closed (fixed)

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