When I configure a language and enter a domain that is already in use, the error message is missing the language for which the domain is already used. The error message is:

The domain (example.com) is already tied to a language ().

Instead, it should be:

The domain (example.com) is already tied to a language 'English'.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

pixelite’s picture

Status: Active » Needs review
FileSize
2.54 KB

The problem was that the db_query returned the language code, but the error message expected the language object. I've created a patch that selects the language name instead and uses that in the error message.

kasperg’s picture

The issue is still relevant, the patch applies and fixes the issue.