Project

General

Profile

Actions

Bug #55011

closed

when no link on an image the link is a space instat of an empty string

Added by Nico Pieters over 10 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2014-01-15
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.4
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:

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 ""

Actions #1

Updated by Nico Pieters over 10 years ago

I've checked the database:
In the database there is no space in the field

Actions #2

Updated by Markus Klein over 10 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?

Actions #3

Updated by Nico Pieters over 10 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 ;-)

Actions #4

Updated by Nico Pieters about 10 years ago

Need more feedback?

Actions #5

Updated by Alexander Opitz over 9 years ago

  • Category set to Frontend
  • Status changed from Needs Feedback to New
Actions #6

Updated by Mathias Schreiber over 9 years ago

  • Target version changed from next-patchlevel to 7.1 (Cleanup)
Actions #7

Updated by Benni Mack almost 9 years ago

  • Target version changed from 7.1 (Cleanup) to 7.4 (Backend)
Actions #8

Updated by Susanne Moog over 8 years ago

  • Target version changed from 7.4 (Backend) to 7.5
Actions #9

Updated by Benni Mack over 8 years ago

  • Target version changed from 7.5 to 7 LTS
Actions #10

Updated by Mathias Schreiber over 8 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?

Actions #11

Updated by Alexander Opitz about 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.

Actions

Also available in: Atom PDF