Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
617386b6
Commit
617386b6
authored
Jan 02, 2019
by
Carsten Rose
Browse files
Fixes #7573: do FillStoreVar before slaveId
parent
1796f0c4
Pipeline
#1271
passed with stage
in 1 minute and 43 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
extension/Source/core/AbstractBuildForm.php
View file @
617386b6
...
@@ -636,6 +636,12 @@ abstract class AbstractBuildForm {
...
@@ -636,6 +636,12 @@ abstract class AbstractBuildForm {
// Fill STORE_LDAP
// Fill STORE_LDAP
$fe
=
$this
->
prepareFillStoreFireLdap
(
$fe
);
$fe
=
$this
->
prepareFillStoreFireLdap
(
$fe
);
if
(
isset
(
$fe
[
FE_FILL_STORE_VAR
]))
{
$this
->
store
->
setVar
(
SYSTEM_FORM_ELEMENT_COLUMN
,
FE_FILL_STORE_VAR
,
STORE_SYSTEM
);
// debug
$fe
[
FE_FILL_STORE_VAR
]
=
$this
->
evaluate
->
parse
(
$fe
[
FE_FILL_STORE_VAR
],
ROW_EXPECT_0_1
);
$this
->
store
->
appendToStore
(
$fe
[
FE_FILL_STORE_VAR
],
STORE_VAR
);
}
// for Upload FormElements, it's necessary to pre-calculate an optional given 'slaveId'.
// for Upload FormElements, it's necessary to pre-calculate an optional given 'slaveId'.
if
(
$fe
[
FE_TYPE
]
===
FE_TYPE_UPLOAD
)
{
if
(
$fe
[
FE_TYPE
]
===
FE_TYPE_UPLOAD
)
{
Support
::
setIfNotSet
(
$fe
,
FE_SLAVE_ID
);
Support
::
setIfNotSet
(
$fe
,
FE_SLAVE_ID
);
...
@@ -650,12 +656,6 @@ abstract class AbstractBuildForm {
...
@@ -650,12 +656,6 @@ abstract class AbstractBuildForm {
$this
->
store
->
setVar
(
SYSTEM_FORM_ELEMENT_COLUMN
,
FE_NOTE
,
STORE_SYSTEM
);
// debug
$this
->
store
->
setVar
(
SYSTEM_FORM_ELEMENT_COLUMN
,
FE_NOTE
,
STORE_SYSTEM
);
// debug
$fe
[
FE_NOTE
]
=
$this
->
processReportSyntax
(
$fe
[
FE_NOTE
]);
$fe
[
FE_NOTE
]
=
$this
->
processReportSyntax
(
$fe
[
FE_NOTE
]);
if
(
isset
(
$fe
[
FE_FILL_STORE_VAR
]))
{
$this
->
store
->
setVar
(
SYSTEM_FORM_ELEMENT_COLUMN
,
FE_FILL_STORE_VAR
,
STORE_SYSTEM
);
// debug
$fe
[
FE_FILL_STORE_VAR
]
=
$this
->
evaluate
->
parse
(
$fe
[
FE_FILL_STORE_VAR
],
ROW_EXPECT_0_1
);
$this
->
store
->
appendToStore
(
$fe
[
FE_FILL_STORE_VAR
],
STORE_VAR
);
}
// ** evaluate current FormElement **
// ** evaluate current FormElement **
$this
->
store
->
setVar
(
SYSTEM_FORM_ELEMENT_COLUMN
,
'Some of the columns of current FormElement'
,
STORE_SYSTEM
);
// debug
$this
->
store
->
setVar
(
SYSTEM_FORM_ELEMENT_COLUMN
,
'Some of the columns of current FormElement'
,
STORE_SYSTEM
);
// debug
$formElement
=
$this
->
evaluate
->
parseArray
(
$fe
,
$skip
,
$debugStack
);
$formElement
=
$this
->
evaluate
->
parseArray
(
$fe
,
$skip
,
$debugStack
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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