Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.5.0, 4.6.0-dev
-
None
-
Last ez publish taken from github
last versions of chromium and firefox browsers
Description
Hi.
Having a multilingual site, a warning php rise when you edit an object and you don't wan't to translate it. just edit again the first version of the example.
The error came because js code set disabled property to the 'FromLanguage' radio button. it is enabled again only if you select another language to be edited, different from the main one.
As this radio button is disabled, php warning is shown for line 194 of kernel/content/edit.php file
$selectedFromLanguage = $http->postVariable( 'FromLanguage' );
Steps to reproduce
- Install a bilingual site
- Add a new object
- Go to your dashbord and try to edit same object again.
- In the language selection screen, just leave all as default and go to edit the object.
Note: For better catch of the warning you may want to have DebugRedirection enabled.
You will see something like
Warning: eZHTTPTool Jun 15 2011 22:20:01 Undefined post variable: FromLanguage