-
Bug
-
Resolution: Low Engagement
-
Medium
-
3.4.9, 4.2, 4.2.1, 5.8.17, 5.9.4, 5.9.5
-
4
-
Severity 2 - Major
-
3
-
User macros appear to be ignoring the default value, this leaves an undefined value that is that is passed verbatim in the html.
For example, the line
-
- @param width:title=Width|type=string|default=600|desc=Width in pixels
plus this invocation (note: width not set)
{iframetest:source=http://www.evernote.com|height=500}produces this code
<p><iframe width="$paramwidth" height="500" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://www.evernote.com"></iframe> <br /><small><a href="http://www.evernote.com">View full page</a></small></p> </div>
"paramwidth" has passed through to the html as unknown
I'll document the full example iin a comment.
- is duplicated by
-
CONFSERVER-26992 Default param not showing on user macros
-
- Closed
-
- is related to
-
CONFSERVER-23544 default macro parameter not accessible within EditorImagePlaceholder#getImagePlaceholder
-
- Closed
-
- was cloned as
-
CONFSERVER-37325 Custom Macro ignores default boolean parameter
-
- Closed
-
- links to
(1 mentioned in)
[CONFSERVER-23704] Default user macro parameters ignored
QA Demo Status | New: Not Needed [ 14332 ] | |
QA Kickoff Status | New: Not Needed [ 14236 ] | |
Resolution | New: Low Engagement [ 10300 ] | |
Status | Original: Gathering Impact [ 12072 ] | New: Closed [ 6 ] |
Labels | Original: affects-server macros tidy | New: affects-server cleanup-seos-fy25 macros tidy |
Support reference count | Original: 5 | New: 4 |
UIS | Original: 2 | New: 3 |
UIS | Original: 3 | New: 2 |
UIS | Original: 2 | New: 3 |
UIS | Original: 3 | New: 2 |
UIS | Original: 2 | New: 3 |
UIS | Original: 3 | New: 2 |
UIS | Original: 1 | New: 3 |