BastianBalthasarBux / tt_address

Add address / contact datasets to your content management system.
GNU General Public License v2.0
4 stars 2 forks source link

Error "setOrderings" #2

Closed konnisoelch closed 6 years ago

konnisoelch commented 7 years ago

I guess the method setOrderings was removed from the QuerySettings.

I've removed the Lines in the Controller.

BastianBalthasarBux commented 7 years ago

Is this on TYPO3 8.7?

konnisoelch commented 7 years ago

yes, Typo3 8.7.2. Should have written that in the Issue my bad.

BastianBalthasarBux commented 7 years ago

Could you tell me the exact error message? AFAICS setOrderings is indeed part of the QueryInterface: https://api.typo3.org/typo3cms/current/html/interface_t_y_p_o3_1_1_c_m_s_1_1_extbase_1_1_persistence_1_1_query_interface.html#ae2c299000e9b0b90883c863012018c83

konnisoelch commented 7 years ago

image

The method call is in AddressController.

BastianBalthasarBux commented 7 years ago

Hmm, yeah, I know where the call is made. The problem is: removing it means losing sorting, so it is just a dirty fix of that error message, but not a real solution. And ATM i cannot see, that this method has been removed (or made deprecated before), as you can see at the link to the docu I provided ... I will have a deeper look at it on a 8.x

BastianBalthasarBux commented 6 years ago

Fixed in current master by merging contribution of fgebauer.