[TYPO3-core] RFC: Bug #7371: Query generator does not accept dates in where condition
Oliver Hader
oh at inpublica.de
Mon Feb 4 01:22:58 CET 2008
This is a SVN patch request.
Problem:
In lowlevel / DB check / Full search, you can't set any value in the
conditions of "date" and "datetime" fields. Every time you submit the
form, the values are removed again.
Additionally, the JS eval functions seem not to work.
Solution:
SVN rev. 1899 (4.1.0) introduced the file jsfunc.tbe_editor.js and
changed the parts in the Core that were formerly hardcoded. In
t3lib_queryGenerator the name of the HTML form object was addressed by
document.forms[0] and not by a real name. Introducing some required
methods to set the name of the form over the envolved instances to
inform the JavaScript object 'TBE_EDITOR', solves this issue.
Comments:
Additionally, it should be mentioned that the whole module does not work
anymore unless you fix line 633 of class.t3lib_fullsearch.php. Use type
casting to make sure t3lib_div::_POST('SET') is an array:
...(array)t3lib_div::_POST('SET')...
Bugtracker references:
http://bugs.typo3.org/view.php?id=7371
Branches: TYPO3_4-1 & Trunk
olly
--
Oliver Hader
http://inpublica.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007371.patch
Type: text/x-patch
Size: 10603 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080204/73deae8b/attachment.bin
More information about the TYPO3-team-core
mailing list