Feature #43133

Integrate possibility to determine NULL values in TypoScript

Added by Oliver Hader over 2 years ago. Updated over 2 years ago.

Status:Resolved Start date:2012-11-20
Priority:Should have Due date:
Assigned To:Oliver Hader % Done:

100%

Category:Frontend Spent time: -
Target version:6.0.0-RC2
PHP Version:5.3 Sprint Focus:
Complexity:

Description

Currently there's no possibility to handle NULL values in TypoScript. This is related to the feature "Add possibility to store NULL values (#41773)".

Examples:

  • (stdWrap).ifNull


10 = COA
10 {
field = description
stdWrap.ifNull = No description defined
}

  • (stdWrap).if.isNull


10 = COA
10 {
10 = TEXT
10 {
if.isNull.field = description
value = No description defined
}
}


Related issues

related to Core - Feature #41773: Add possibility to store NULL values Resolved 2012-10-09
related to TypoScript Reference (TSref) - Feature #43181: Integrate NULL value handling stdWrap.ifNull and stdWrap.... Closed 2012-11-20
precedes TypoScript Reference (TSref) - Task #43364: Add examples for stdWrap.ifNull and if.isNull Closed 2012-11-27

Associated revisions

Revision 636ad6c8
Added by Oliver Hader over 2 years ago

[FEATURE] Integrate possibility to determine NULL values in TypoScript

Currently there's no possibility to handle NULL values in
TypoScript. This is related to the feature "Add possibility
to store NULL values (#41773)".

Thus, two new elements are integrated:
  • (stdWrap).ifNull -> string/stdWrap
  • (stdWrap).if.isNull -> stdWrap

Change-Id: I77a29341c66edaf3bef14de33f65c702fbbb9fbd
Resolves: #43133
Releases: 6.0
Reviewed-on: http://review.typo3.org/16637
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader

History

#1 Updated by Gerrit Code Review over 2 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/16637

#2 Updated by Gerrit Code Review over 2 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/16637

#3 Updated by Gerrit Code Review over 2 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/16637

#4 Updated by Oliver Hader over 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF