Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
views.module
Priority:
Normal
Category:
Task
Assigned:
Issue tags:
Reporter:
Created:
9 Mar 2013 at 20:49 UTC
Updated:
29 Jul 2014 at 22:00 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
damiankloip commentedThere might be an issue here as the preview is used with an AJAX command, and that will expect the result to be rendered. This could be moved somewhere else, just a warning :)
Comment #2
damiankloip commentedWorking on this one.
Comment #3
damiankloip commentedWe may have to do something like this, which I'm not sure about.
Comment #4
olli commentedJust a few notes:
Lots of these, what about
instead?
Indentation.
Obsolete.
Comment #5
damiankloip commentedThanks for the review! Much appreciated.
Here are those changes, let's see how this gets on. In a bit of a rush so if there are some missing I will have to fi them later :)
Comment #6
damiankloip commentedAnd the interdiff..
Comment #7
damiankloip commentedSpotted a couple of things.
Comment #9
dawehnerFixing this bunch of silly mistakes :)
Comment #10
damiankloip commentedThanks! I did say I ran out of time :)
Comment #11
dawehnerForgot to set the patch rtbc
Comment #12
tim.plunkettRTBC+1
Comment #13
webchick#9: drupal-1938380-9.patch queued for re-testing.
Comment #14
xjmSo Alex and I talked at length about this method, since it was setting a value in
#markuprather than returning a "true" render array. However, in this particular case, the contents of the#markupisn't actually markup at all--it's a string representation of the REST response, getting wrapped in a<pre>tag for display to the user.I did notice that we are calling
drupal_render()inStylePluginBase::render_grouping_sets()-- Is that a requirement, or is that something we're planning to clean up later? Out of scope here in any case.So we agree that this is commit-ready once it finishes testing.
Comment #15
dawehnerOpened a follow up: #1962836: Don't use drupal_render in StylePluginBase::render_grouping_sets()
Comment #16
webchickCommitted and pushed to 8.x. Thanks!