Defect #1123
Can't edit metadata if no other language suported
Status: | Closed | Start date: | 09/10/2015 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | CATALOG | |||
Target version: | 4.4.0 | |||
Affected version: | 4.3.2 |
Description
If the only default language is specified and no other language set, if we edit metadata we have the error :
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 4 SQL=SELECT * FROM bdt32_sdi_language l INNER JOIN bdt32_languages ls ON ls.lang_code=l.code WHERE id IN ()
problem in\com_easysdi_catalog\controllers\metadata.php on line 1131 the getSupported()
History
#1 Updated by Blatti Yves over 3 years ago
That's strange. We're running this configuration. (French only as default lang).
Is it a 4.3.2 branch you are running ?
Look at the code in : \joomla\components\com_easysdi_catalog\libraries\easysdi\dao\SdiLanguageDao.php:line27
If there's supported lang, there's no SQL Query.
#2 Updated by Portier Thomas over 3 years ago
Yes but for an unknown reason, the $supportedIds is set. I just added a test on the size of the array and it's ok.
#3 Updated by Portier Thomas over 3 years ago
- Status changed from New to Affected
#4 Updated by Portier Thomas over 3 years ago
- Status changed from Affected to Resolved
#5 Updated by Van Hoecke Hélène about 3 years ago
- Target version set to 4.4.0
#6 Updated by Portier Thomas about 3 years ago
- Status changed from Resolved to To merge
#7 Updated by Van Hoecke Hélène almost 3 years ago
- Status changed from To merge to Closed
- Assignee deleted (
Portier Thomas)
Merge in r9485