Commit d416923f authored by Carsten  Rose's avatar Carsten Rose
Browse files

phpunit: fix problems. Revert change in...

phpunit: fix problems. Revert change in cb2e2a70: if a record lock exist, another form, with record lock mode=NONE, can't get write access to it. This is what the manual describes.
parent 4f52d98b
...@@ -31,13 +31,16 @@ Notes ...@@ -31,13 +31,16 @@ Notes
^^^^^ ^^^^^
* Existing installations: update QFQ extension config form-layout.formBsColumns/formBsLabelColumns/formBsInputColumns,formBsNoteColumns. * Existing installations: update QFQ extension config form-layout.formBsColumns/formBsLabelColumns/formBsInputColumns,formBsNoteColumns.
old: 12, new: 'col-md-12 col-lg10' resp. smaller values for individual columnns. old: 12, new: 'col-md-12 col-lg10' resp. smaller values for individual columns.
* New config values: * New config values:
* Config/flagProduction: yes/now - differentiate between development und production system. Will be used for * Config/flagProduction: yes/now - differentiate between development und production system. Will be used for
'throwExceptionGeneralError' too. 'throwExceptionGeneralError' too.
* Debug/throwExceptionGeneralError - shows/hide exception of general errors. * Debug/throwExceptionGeneralError - shows/hide exception of general errors.
* Record locking: revert to old behaviour, that a locked record can't be modified by another form, even if the second
form has modeRecordLock=NONE.
Features Features
^^^^^^^^ ^^^^^^^^
......
...@@ -316,7 +316,7 @@ class SanitizeTest extends TestCase { ...@@ -316,7 +316,7 @@ class SanitizeTest extends TestCase {
$this->assertEquals('1ue2oe3ae4Ue5Oe6Ae7', Sanitize::safeFilename($value), 'Alnum string with umlaut'); $this->assertEquals('1ue2oe3ae4Ue5Oe6Ae7', Sanitize::safeFilename($value), 'Alnum string with umlaut');
$value = '`~!@#$%^&*()_+=-[]{}\|;:\'"/?.> ,<`'; $value = '`~!@#$%^&*()_+=-[]{}\|;:\'"/?.> ,<`';
$this->assertEquals('____________________________._____', Sanitize::safeFilename($value), 'Alnum string with umlaut'); $this->assertEquals('_______________-____________._____', Sanitize::safeFilename($value), 'Alnum string with umlaut');
$value = ''; $value = '';
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment