Feature #43181
Integrate NULL value handling stdWrap.ifNull and stdWrap.if.isNull
Status: | Closed | Start date: | 2012-11-20 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Chris topher | % Done: | 100% |
|
Category: | - | |||
Target version: | 6.0 |
Description
Please add the following new properties to TSref - one name is *if*Null (like ifBlank, ifEmpty) and the other one is *is*Null (like isTrue, isFalse), so please watch on "if" vs. "is" since that happened to me as well... ;-)
1) In stdWrap section, before ifEmpty property, add new property
- Property: ifNull
- Datatype: string/stdWrap
- Description: If the content is null (PHP NULL type), the content is overridden with the value defined here.
2) In if section, before isTrue, add new property
- Property: isNull
- Datatype: stdWrap
- Description: If the resulting content of the stdWrap is null (PHP NULL type). Since null values cannot be assigned in TypoScript, only the stdWrap features are available below this property.
See #43133.
Related issues
Associated revisions
[TASK] Integrate stdWrap.ifNull and stdWrap.if.isNull
Integrate stdWrap.ifNull and stdWrap.if.isNull for NULL value handling.
Change-Id: Ie2c8a75628603ef6aa5ffeedda9b6637111c9e8f
Resolves: #43181
History
#1 Updated by Oliver Hader over 2 years ago
- Subject changed from Integrat NULL value handling stdWrap.ifNull and stdWrap.if.isNull to Integrate NULL value handling stdWrap.ifNull and stdWrap.if.isNull
#2 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/16749
#3 Updated by Chris topher over 2 years ago
- Assigned To set to Chris topher
#4 Updated by Chris topher over 2 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset ad712fe46eabbb6d4763441bdb96d501923ab995.
#5 Updated by Chris topher over 2 years ago
- Status changed from Resolved to Closed