Project

General

Profile

Actions

Bug #24939

closed

GIFBUILDER / LOAD_REGISTER issue with generating image file names

Added by Thorsten van Stipriaan over 13 years ago. Updated over 12 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-02-03
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

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 = &lt;h1 id=&quot;page_title&quot; style=&quot;background-image: url(&#039;/|&#039;);&quot;&gt;{page:title}&lt;/h1&gt;
}
(issue imported from #M17463)
Actions

Also available in: Atom PDF