Missing return statement in locale.inc

kajetan - December 15, 2008 - 13:19
Project:Drupal
Version:6.x-dev
Component:locale.module
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

I was reviewing the changes in Drupal 6.8 and noticed what I think is a missing return statement.
I don't know what potential bugs it couses, but I decided to create a patch for it anyway. This is my first ever Drupal patch so please be nice...

AttachmentSize
locale.inc_.patch374 bytes
Testbed results
locale.inc_.patchfailedFailed: Failed to apply patch. Detailed results

#1

Damien Tournoud - December 15, 2008 - 22:37
Version:6.8» 7.x-dev
Status:needs review» reviewed & tested by the community

Bumping to D7, which has exactly the same code. The only consequence of that bug is that the user is redirected to admin/build/translate instead of admin/build/translate/import.

The patch itself applies to D7 and looks good. I'm not convinced this requires testing, so RTBC.

#2

System Message - December 15, 2008 - 22:45
Status:reviewed & tested by the community» needs work

The last submitted patch failed testing.

#3

kajetan - December 16, 2008 - 16:01
Status:needs work» reviewed & tested by the community

Ok, thanx. I changed the status and upload another patch, that was made against 7.x-dev. Hope it will work.

AttachmentSize
locale.inc_.patch 374 bytes
Testbed results
locale.inc_.patchfailedFailed: Failed to apply patch. Detailed results

#4

System Message - December 16, 2008 - 16:10
Status:reviewed & tested by the community» needs work

The last submitted patch failed testing.

#5

kajetan - December 16, 2008 - 16:26
Status:needs work» reviewed & tested by the community

That didn't work... So how about this? (there seems to be no good tools to create patches on windows)

AttachmentSize
locale.inc_.patch 372 bytes
Testbed results
locale.inc_.patchpassedPassed: 7641 passes, 0 fails, 0 exceptions Detailed results

#6

Dries - December 16, 2008 - 21:04
Version:7.x-dev» 6.x-dev

Committed to CVS HEAD. Moving to D6. Thanks!

#7

Gábor Hojtsy - January 6, 2009 - 15:37
Status:reviewed & tested by the community» fixed

Committed to Drupal 6 as well.

#8

System Message - January 20, 2009 - 15:40
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.