Project

General

Profile

Actions

Bug #21831

closed

TSpagegen::inline2TempFile($this->makeScript(), 'js')

Added by Claus Harup over 14 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2009-12-09
Due date:
% Done:

0%

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

Description

I was wondering why you guys changed the function TSpagegen::inline2TempFile not to produce the wrapping <link....../> or <script.... />

Now we have to change at manually in ALL extensions including TSpagegen::inline2TempFile

(issue imported from #M12991)

Actions #1

Updated by Jerome Schneider about 14 years ago

Yes, indeed. I have experienced the same problem.
It's a change that impacts a lot of existing code.

Funny thing is, the comment above the method says:
@return string <script> or <link> tag for the file.

Actions #2

Updated by Stefan Neufeind over 13 years ago

You are right that it seems to have been a backward-compatibility-break. But since it's been around for some time now, I don't think we can revert it either. So I'd propose to "live with it" as it's now and close this ticket.

(But yes Claus, I feel your pain ... happened that I once had to modify an extension for 4.2 back to the old style and now back to the "new" one again.)

Actions #3

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF