Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
views.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
30 Dec 2014 at 17:54 UTC
Updated:
11 May 2015 at 09:44 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #1
pcambraThis is a views thing, it seems.
Comment #3
pcambraComment #4
dawehnerDo we need some kind of test coverage here?
Comment #5
dawehner.
Comment #6
geertvd commentedAdded test, I also had to reroll the original patch.
Comment #8
koence commentedAction message in the confirmation page/form is no longer shown after the patch is applied.
before patch
select content to be deleted

action message IS visible in confirmation page

delete confirmed

after patch
select content to be deleted

no action message visible in confirmation page

delete confirmed

Comment #9
sutharsan commentedComment #10
alexpottCan we add a positive assertion of the text after the post. An assertNoText with a corresponding assertion can easily have false positives if the underlying code changes.
Comment #11
geertvd commentedComment #13
Anonymous (not verified) commentedThe patch looks good, and the proposal from #10 was added properly.
I do have some nitpicks on the comments though:
This wrapping should be 80 chars.
'not a' should be 'no'
Comment #14
geertvd commentedFixed nitpicks.
Comment #15
Anonymous (not verified) commentedGreat! I tested this manually and can confirm it works as expected (cf screenshots #8).
Added a beta evaluation to the summary.
RTBC if green.
Comment #17
Anonymous (not verified) commentedComment #18
xjmNice work! Thanks for the beta evaluation, the screenshots, and the test-only patch.
Following up on @alexpott's feedback in #10. Instead of or in addition to the
assertNoText(), could we maybe checkdrupal_get_messages()or something along those lines? Just to confirm that there are no messages, regardless of what exactly we may make the message text in the future.Also, I don't think there is test coverage for this code path. Can we add that as well?
Comment #19
geertvd commenteddrupal_get_messages()will always be empty after messages are displayed.Comment #21
Anonymous (not verified) commented1. Clever! I see we do a similar thing in ContentTranslationSyncImageTest, so this should be ok to do.
2. Agreed.
The feedback from #18 was addressed, so back to RTBC.
Comment #22
xjmThanks, that works nicely.
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 and pushed to 8.0.x.