FluidTYPO3 / flux

TYPO3 extension Flux: Dynamic Fluid FlexForms
https://fluidtypo3.org
146 stars 212 forks source link

MediaElement not possible to create in the BE! #222

Closed Gorli closed 11 years ago

Gorli commented 11 years ago

I have TYPO3 6.1.1 installed. The environment is very simple. After an update of TYPO3 6.0.6 on TYPO3 6.1.1 no longer works inserting the content element "Media". The right side is blank and gray work.

Please try it for yourself!

Thank you very much

Goarli

bjo3rnf commented 11 years ago

Hi, thanks for reporting. I can confirm this. When adding a media element an exception is thrown: Call to undefined method TYPO3\CMS\Backend\Form\ElementConditionMatcher::setRecord()

amkoroew commented 11 years ago

Hi, I've almost no time this weekend. So I won't be able to make my next bugfix now. And I couldn't test this issue nor am I sure I found the reason. But here is what I've found out in the last few minutes:

There is a [BUGFIX] Call to undefined method ElementConditionMatcher::setRecord() at https://git.typo3.org/Packages/TYPO3.CMS.git/commit/3349dc974c2b884c47459fd7cbe37420703637ab in the method isDisplayCondition() this Method is @deprecated since TYPO3 6.1, will be removed 2 versions later - Use \TYPO3\CMS\Backend\Form\ElementConditionMatcher instead

Seems like this method gets called at flux\Classes\Override\Backend\Form\FormEngine.php Line 149

Gorli commented 11 years ago

Hello gentlemen!

I would be very happy if they are right or could solve this problem. I wish you a nice weekend

Thank you very much

Harald

janspisiak commented 11 years ago

Related TYPO3 issue: http://forge.typo3.org/issues/49354

Gorli commented 11 years ago

Hello ptrl4me!

This tip has really helped. It's working!

Thank you very much

Harald

cedricziel commented 11 years ago

Problem itself has been resolved and is already merged in the Core. [https://review.typo3.org/#/c/21615/] for reference.

@NamelessCoder has done some serious code cleanup lately and the method is not called anymore.