Bug #55011
closedwhen no link on an image the link is a space instat of an empty string
0%
Description
When calling $this->cObj->data['image_link'] in an extension for example perfectlightbox the value is " " ( a space ) this should be the empty string ""
Updated by Nico Pieters almost 11 years ago
I've checked the database:
In the database there is no space in the field
Updated by Markus Klein almost 11 years ago
- Status changed from New to Needs Feedback
Hi Nico,
what does do you mean with
When calling
$this->cObj->data['image_link']
? What is your goal and what does not work?
Updated by Nico Pieters almost 11 years ago
Hi Markus,
If in an extension you use $this->cObj->data['image_link'] it contains the value of the link when you click on that image. When there is no link defined the value should be empty.
It works, but the value is not empty when the link is not defined, but it contains the space-character.
So somewhere in the code a space-character is introduced when the value is empty.
I hope it's clear ;-)
Updated by Alexander Opitz about 10 years ago
- Category set to Frontend
- Status changed from Needs Feedback to New
Updated by Mathias Schreiber almost 10 years ago
- Target version changed from next-patchlevel to 7.1 (Cleanup)
Updated by Benni Mack over 9 years ago
- Target version changed from 7.1 (Cleanup) to 7.4 (Backend)
Updated by Susanne Moog over 9 years ago
- Target version changed from 7.4 (Backend) to 7.5
Updated by Benni Mack about 9 years ago
- Target version changed from 7.5 to 7 LTS
Updated by Mathias Schreiber about 9 years ago
- Status changed from New to Needs Feedback
- Assignee set to Mathias Schreiber
I don't get it.
$this->cObj->data['image_link'] is a raw value from the DB.
You can't "call" it.
Apart from this, there is also no code modifying this value.
Can you supply a dummy extension and/or var_dump screenshot (xdebug maybe) illustrating the behavior?
Updated by Alexander Opitz over 8 years ago
- Status changed from Needs Feedback to Closed
- Assignee deleted (
Mathias Schreiber) - Target version deleted (
7 LTS)
No feedback within the last 90 days => closing this issue.
If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.