[TYPO3-dam-devel] RFC #15566: When trying to edit a media link in the RTE, the external url tab is activated

Lorenz Ulrich lorenz-typo3 at visol.ch
Mon Dec 27 16:04:19 CET 2010


Hi there, especially Stanislas :)

Could this have had any side effects? See:
http://bugs.typo3.org/view.php?id=16809

I tested it myself. With DAM 1.1.5 I was able to change media links, 
with DAM 1.1.7 it works as described in Jonas' Mantis issue.

Best regards,

Lorenz

Am 06.11.2010 18:07, schrieb Dan Osipov:
> Committed to trunk and 1.1
> Revisions 39922 and 39921 respectively
>
> Sorry for the delay!
>
> On 8/28/10 4:56 AM, Stanislas Rolland wrote:
>> Hi DAM team,
>>
>> This is an SVN patch request.
>>
>> Type:
>> Bugfix
>>
>> Bugtracker references:
>> http://bugs.typo3.org/view.php?id=15566
>>
>> Branches:
>> trunk
>>
>> Problem:
>> Using htmlArea 2.0 (TYPO3 4.4), after selecting a media link in the RTE,
>> the link dialogue opens on the external url tab instead of the media tab.
>>
>> The problem arises because the "external" attribute is set on the a-tag
>> by the RTE transformation. The "external" attribute is set on the way to
>> the RTE because the dam media-to-a-tag transformation makes the href an
>> absolute url. An a-tag with already absolute url href when coming from
>> the database is assumed to be referencing an external url.
>>
>> Solution:
>> Unset the "external" key in the browse_links current url array, if the
>> "tx_dam" attribute is set. This can be done when the url is parsed
>> through the dam interface to tx_rtehtmlarea_browse_links.
>>
>> Regards,
>> Stanislas
>



More information about the TYPO3-team-dam mailing list