Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
views.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
4 Feb 2015 at 12:40 UTC
Updated:
4 Mar 2015 at 11:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
arla commentedThe tests missed this bug because they are using the Node entity type, which adds the destination parameter anyway in the list builder. This patch modifies one of the tests to check for the destination parameter, using another entity type that does not set the parameter by itself.
Comment #5
arla commentedOops, bad tests.
Comment #7
arla commentedEr.. not sure why I thought
$entity->url('collection')would be appropriate to use there.Comment #8
andypostlooks good, +1 rtbc
Comment #9
jibran@Arla thanks for the bug report and patch
Comment #11
arla commentedRerolled.
Comment #12
jibranBack to RTBC.
Comment #13
alexpottWhy are we removing the sorts? This kind of thing can break running the test on postgres.
Comment #14
arla commentedI think there was no reason other than clean code. I know nothing about Postgres, but if you say so :)
Comment #15
dawehnerAlso the filter removal kinda looks out of scope, but I agree, its not needed to be as part of the test.
Comment #16
alexpottre the filter removal - I'm not a huge fan of unrelated changes in patches but given I've knocked this back once I'm not inclined to again since it is test code and the tests pass.
This issue is a normal bug fix, and doesn't include any disruptive changes, so it is allowed per https://www.drupal.org/core/beta-changes. Committed c2f9434 and pushed to 8.0.x. Thanks!
Comment #18
arla commentedThank you! Point taken about unrelated changes, sorry for the inconvenience.