If a module is not released yet, the configuration page displays :
Notice: Undefined index: releases in l10n_update_build_projects()

Patch attached.

Comments

sutharsan’s picture

Status: Patch (to be ported) » Needs review
StatusFileSize
new619 bytes

I can't find a module without a release to test with. How about this patch?

sutharsan’s picture

This is an interesting and perhaps related issue: #1392030: Error when fetching update data It may solve this situation too.
Where or how do I find modules which don't have a release yet?

sutharsan’s picture

Title: Notice: Undefined index: releases in l10n_update_build_projects() » PHP Notice if a module is not released yet
cthiebault’s picture

You're right, patch #1 works fine and is better :)

sutharsan’s picture

Status: Needs review » Fixed

Thanks. Committed.

Status: Fixed » Closed (fixed)

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