View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007229 | module Visual CMS | module Visual CMS - sub | public | 2021-04-15 14:26 | 2021-06-09 09:48 |
Reporter | [email protected] | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | unable to reproduce | ||
Product Version | 3.3.2 | ||||
Summary | 0007229: Inactive content cannot be activated | ||||
Description | If you open the Visual CMS editor and load an inactive content element before the initial AJAX request "fnc=searchContents&all=1" has been completed, the value of the active-checkbox will be changed from "1" to "0" via Javascript. If you submit the form afterwards, the oxactive parameter will always be "0", independently if the checkbox is checked or not. | ||||
Steps To Reproduce | - Open VCMS editor in the OXID admin area - Perform the next steps before the request "fnc=searchContents&all=1" has finished (check the network status of the AJAX requests) -- Paste an ident of an existing and inactive content element into the search field immediately -- Click on the content element in the suggest dropdown to load it into the editor -- After loading the content before the request "fnc=searchContents&all=1" has finished, the DOM element looks like this: [html]input type="checkbox" name="editval[oxcontents__oxactive]" id="elm_edit_active" value="0">[/html] | ||||
Additional Information | To fix the problem in our projects in a quick way, we implemented the following extension: class VisualCmsAdmin extends VisualCmsAdmin_parent { public function searchContents() { if (!isset($_GET['definition'])) { $_GET['definition'] = '1'; } return parent::searchContents(); } } | ||||
Tags | No tags attached. | ||||
|
-MK |
|
I have tried to reproduce the behavior. However, the input fields are inactive until "fnc=searchContents&all=1" is completed. So I can't go into the search field before. Please test again if you can still reproduce it in the current OXID 6.3 and if so, how. Until your feedback I will close the ticket. However, you can open this again at any time. -MF |