Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
bc6858f2
Commit
bc6858f2
authored
Jan 29, 2018
by
Carsten Rose
Browse files
Bug #5311 / Error Msg SLQ_RAW != SQL_FINAL: Debug message shows outdated SQL_RAW
parent
9ddf3fb4
Changes
4
Hide whitespace changes
Inline
Side-by-side
extension/Documentation/Manual.rst
View file @
bc6858f2
...
...
@@ -2325,8 +2325,10 @@ Fields:
+---------------------+-----------------------------+-----------------------------------------------------------------------------------------------------+
|Encode | 'none', 'specialchar' | With 'specialchar' (default) the chars <>"'& will be encoded to their htmlentity. _`field-encode` |
+---------------------+-----------------------------+-----------------------------------------------------------------------------------------------------+
|Check Type | enum('min|max', 'pattern', | _`field-checktype` |
| | 'number', 'email') | |
|Check Type | enum('alnumx','digit', | _`field-checktype` |
| | 'numerical','email', | |
| | 'min|max','min|max date', | |
| | 'pattern','allbut','all') | |
+---------------------+-----------------------------+-----------------------------------------------------------------------------------------------------+
|Check Pattern | 'regexp' |_`field-checkpattern`: If $checkType=='pattern': pattern to match |
+---------------------+-----------------------------+-----------------------------------------------------------------------------------------------------+
...
...
extension/qfq/qfq/Evaluate.php
View file @
bc6858f2
...
...
@@ -115,6 +115,8 @@ class Evaluate {
$posFirstClose
=
strpos
(
$result
,
$this
->
endDelimiter
);
$this
->
store
->
setVar
(
SYSTEM_SQL_RAW
,
$line
,
STORE_SYSTEM
);
while
(
$posFirstClose
!==
false
)
{
$posMatchOpen
=
strrpos
(
substr
(
$result
,
0
,
$posFirstClose
),
$this
->
startDelimiter
);
...
...
extension/qfq/qfq/helper/Sanitize.php
View file @
bc6858f2
...
...
@@ -57,7 +57,7 @@ class Sanitize {
case
SANITIZE_ALLOW_MIN_MAX_DATE
:
$minMax
=
explode
(
'|'
,
$patternOrRange
);
//TODO: hier sollten die Exceptions abgefangen werden um zwei unterschiedliche Fehlermeldungen ausgeben zu koen
e
nn:
//TODO: hier sollten die Exceptions abgefangen werden um zwei unterschiedliche Fehlermeldungen ausgeben zu koenn
e
n:
// a) der Value verletzt die Datumsgrenzen
// b) die Definition der Grenzen ist buggy
// try {
...
...
extension/qfq/qfq/helper/Support.php
View file @
bc6858f2
...
...
@@ -367,7 +367,6 @@ class Support {
/**
* @param string $type date | datetime | time
* @param string $format FORMAT_DATE_INTERNATIONAL | FORMAT_DATE_GERMAN
* @param string $showSeconds
*
* @return string
* @throws UserFormException
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment