Bug #24939
closedGIFBUILDER / LOAD_REGISTER issue with generating image file names
0%
Description
Given a two line pagetitle. Output was something like "LINE_ONE_LINE_TWO_b62300e380.png" with 4.4.6
In 4.5 the setup below produces cryptic file names like "TY7IY7~0.PNG" in typo3temp/GB
The resulting wrap contains the filename as it should be.
Setting fixes text values (commented out below) works fine, so the problem may lie within the usage of LOAD_REGISTER.
tmp.pagetitle = COA
tmp.pagetitle {
2 = LOAD_REGISTER
2 {
line1 {
field = title
case = upper
split {
token.char = 10
cObjNum = 1
returnKey = 0
}
}
line2 < .line1
line2.split.returnKey = 1
}
10 = IMG_RESOURCE
10.file = GIFBUILDER
10.file {
XY = [10.w]+[20.w]+15, [10.h]+6
10 = TEXT
10 {
text.data = register:line1
#text = Line1 <- this works
offset = 10,15
fontColor = #ffffff
fontSize = 18
niceText = 1
fontFile = {$filepaths.fonts}Klavika-Medium.otf
}
20 < .10
20 {
text.data = register:line2
#text = Line2 <- this works
offset = [10.w]+15,15
}
}
stdWrap.dataWrap = <h1 id="page_title" style="background-image: url('/|');">{page:title}</h1>
}
(issue imported from #M17463)