Log message #4101641

# At Username Text
# Dec 6th 2017, 21:19 dereuromark then method_exists smell can also get removed
# Dec 6th 2017, 21:19 dereuromark IMO it would be cleaner to use an interface approach here though ;) Controller implements IsAuthorizedInterface etc
# Dec 6th 2017, 21:18 dereuromark but it also doesnt hurt to have here it seems
# Dec 6th 2017, 21:18 dereuromark that doc block line isnt really necessary other than auto-generating the method stub + `parent::isAuthorized($user); // TODO: Change the autogenerated stub` etc
# Dec 6th 2017, 21:17 dereuromark @phantomwatson support
# Dec 6th 2017, 20:59 saeideng ?
# Dec 6th 2017, 20:59 saeideng has any one worked by http1 2
# Dec 6th 2017, 20:06 slackebot default, or even throw a "FooController must not have `isAuthorized()` defined" exception.
# Dec 6th 2017, 20:06 phantomwatson I've been getting IDE class hierarchy errors for `FooController::isAuthorized()` because is expected to be checked against a `Controller::isAuthorized()` method for compatibility, and there's a `@method bool isAuthorized($user)` doc comment for the `Controller` class, but no actual `isAuthorized()` method. Anyone care to weigh in on whether that's something that should be corrected? `Controller::isAuthorized()` could return false by
# Dec 6th 2017, 19:17 inoas if you fetch just say the first image - or all of them - it will work, however sorting and filtering will get difficult
# Dec 6th 2017, 19:17 inoas then you need to paginate trees (or walk parts of a tree and their children)
# Dec 6th 2017, 19:17 inoas joopm: you can do so yourself, but it is not true it does work - it simply cannot work with m:n
# Dec 6th 2017, 18:59 sab Hi all
# Dec 6th 2017, 18:41 joopm please write at the manual tha paginater does not works with *Many
# Dec 6th 2017, 18:40 joopm ohm jesus just finish with your hint hmic
# Dec 6th 2017, 18:36 JD-Robbs hmic, thanks! Oh yeah - I should add that it's not the standard PagesController. So it does have the action "privacyPolicy" which is accessible via "/pages/privacy-policy" (the latter fallback route is set after my redirect; but I also tried it the other way 'round).
# Dec 6th 2017, 18:15 hmic pages has usually only one action - display and gets a second routing parameter - that might be your case for not matching the route you think it should
# Dec 6th 2017, 18:14 hmic try setting it up explicitely, if that makes a difference please
# Dec 6th 2017, 18:14 hmic *before* you setup the redirect
# Dec 6th 2017, 18:09 JD-Robbs hmic, yep - the other route is already setup via one of the standard fallback routes
# Dec 6th 2017, 17:44 joopm okey thank you once againú
# Dec 6th 2017, 17:44 joopm :)
# Dec 6th 2017, 17:43 hmic you can setup an additional relation to the same table as hasOne and add the conditions to this relation, which in turn makes the paginator happy
# Dec 6th 2017, 17:42 hmic you could have multiple
# Dec 6th 2017, 17:42 hmic does not matter
# Dec 6th 2017, 17:42 joopm but its located in the _matchingData
# Dec 6th 2017, 17:41 joopm but if use the match than i only have one
# Dec 6th 2017, 17:41 joopm i have many Applications
# Dec 6th 2017, 17:41 joopm but now i felt it
# Dec 6th 2017, 17:41 joopm just was not sure
# Dec 6th 2017, 17:41 joopm yes you are right no *many
# Dec 6th 2017, 17:39 hmic the paginator does not handle *many
# Dec 6th 2017, 17:39 hmic whats the relation between those tables?
# Dec 6th 2017, 17:38 joopm because in that case it will be in the same
# Dec 6th 2017, 17:38 joopm thats why i need to match it
# Dec 6th 2017, 17:38 joopm than its seems its makes 2 independ query in the mysql
# Dec 6th 2017, 17:37 joopm if i use contain
# Dec 6th 2017, 17:37 joopm i need to sort with People.name
# Dec 6th 2017, 17:37 hmic contain them and use this
# Dec 6th 2017, 17:37 hmic thats how it's supposed to work
# Dec 6th 2017, 17:37 joopm how can i pass to the sortWhitelist ?