When fieldsets are added to the fields sometimes fields are not allowed to be dragged into the fieldsets in reorder mode.
It almost always happens initially but sometimes it happens when adding new fields or reconfiguring the fields (moving a field from one to another fieldset).
Errors collected:
Error: Call to a member function addWhere() on null in Drupal\views\Plugin\views\filter\BooleanOperator->queryOpBoolean() (line 260 of core/modules/views/src/Plugin/views/filter/BooleanOperator.php)
Error: Call to a member function get() on null in Drupal\views_ui\Form\Ajax\Rearrange->submitForm() (line 154 of core/modules/views_ui/src/Form/Ajax/Rearrange.php)
| Comment | File | Size | Author |
|---|---|---|---|
| #56 | views_fieldsets-fix_empty_handler_query-2908454-56.patch | 1.18 KB | m.lebedev |
| #38 | fixed-php-notice-issue.patch | 448 bytes | unrealauk |
| #24 | views-fieldsets-console-errors.png | 70.3 KB | kferencz91 |
| #20 | screen-d8-vf-views-ui.png | 21.46 KB | rudiedirkx |
Comments
Comment #2
jcaritas commentedYes, I have this issue as well. If I have a fieldset in a view, I'm not able to add or rearrange my fields after initially setting them up, even if I'm not attempting to add fields into the fieldset itself, but merely rearrange them in a different way. It won't allow me to save the "rearrange" palette if there's a fieldset in it. Usually, the first time I save the view it works brilliantly -- it's when I have to go back in that it gets messed up.
Comment #3
rudiedirkx commentedI know. This is some D7 to D8 incompatibility maybe, I had to change a few things with the reorder library, and then it seemed to work, but it doesn't quite. I've no idea how to fix properly.
Patches always very welcome. (Co)-maintainers too. I only do critical bugs anymore.
Comment #4
rudiedirkx commentedIf this is actually the same as #2583535: Fieldset not allowing any field to be nested inside, we should probably Close As Duplicate one.
Comment #5
rudiedirkx commentedComment #6
johnhanley commentedThis bug is actually completely unrelated to #2583535.
I'm unable to configure a fieldset with Drupal 8.4. Dragging a field (via Rearrange fields) within a fieldset does not work.
This issue should be considered a critical bug because this module is presently unusable.
Comment #7
johnhanley commentedComment #8
kferencz91 commentedI am also experiencing this. As jcaritas mentioned, having this module installed on 8.4 seems to interfere not just with adding into a fieldset, but rearranging views field order as a whole, as it does not allow you to save once the rearrangement has been made. If I click "apply" a few times and then reload the view, regular rearrangement orders do apply, but anything regarding a fieldset does not save.
I get the following error in the site log when trying to save:
Error: Call to a member function addWhere() on null in Drupal\views\Plugin\views\filter\BooleanOperator->queryOpBoolean() (line 260 of /Users/user/website/core/modules/views/src/Plugin/views/filter/BooleanOperator.php) #0 [internal function]: Drupal\views\Plugin\views\filter\BooleanOperator->queryOpBoolean('node_field_data...', '=') #1 /Users/user/website/core/modules/views/src/Plugin/views/filter/BooleanOperator.php(223): call_user_func(Array, 'node_field_data...', '=') #2 /Users/user/website/core/modules/views/src/ViewExecutable.php(1371): Drupal\views\Plugin\views\filter\BooleanOperator->query(false) #3 /Users/user/website/core/modules/views/src/ViewExecutable.php(1260): Drupal\views\ViewExecutable->_build('filter') #4 /Users/user/website/modules/views_fieldsets/views_fieldsets.module(177): Drupal\views\ViewExecutable->build('block_1') #5 [internal function]: views_fieldsets_views_ui_rearrange_form_submit(Array, Object(Drupal\Core\Form\FormState)) #6 /Users/user/website/core/lib/Drupal/Core/Form/FormSubmitter.php(111): call_user_func_array('views_fieldsets...', Array) #7 /Users/user/website/core/lib/Drupal/Core/Form/FormSubmitter.php(51): Drupal\Core\Form\FormSubmitter->executeSubmitHandlers(Array, Object(Drupal\Core\Form\FormState)) #8 /Users/user/website/core/lib/Drupal/Core/Form/FormBuilder.php(585): Drupal\Core\Form\FormSubmitter->doSubmitForm(Array, Object(Drupal\Core\Form\FormState)) #9 /Users/user/website/core/lib/Drupal/Core/Form/FormBuilder.php(314): Drupal\Core\Form\FormBuilder->processForm('views_ui_rearra...', Array, Object(Drupal\Core\Form\FormState)) #10 /Users/user/website/core/modules/views_ui/src/Form/Ajax/ViewsFormBase.php(212): Drupal\Core\Form\FormBuilder->buildForm('views_ui_rearra...', Object(Drupal\Core\Form\FormState)) #11 /Users/user/website/core/lib/Drupal/Core/Render/Renderer.php(576): Drupal\views_ui\Form\Ajax\ViewsFormBase->Drupal\views_ui\Form\Ajax\{closure}() #12 /Users/user/website/core/modules/views_ui/src/Form/Ajax/ViewsFormBase.php(214): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure)) #13 /Users/user/website/core/modules/views_ui/src/Form/Ajax/ViewsFormBase.php(123): Drupal\views_ui\Form\Ajax\ViewsFormBase->ajaxFormWrapper('Drupal\\views_ui...', Object(Drupal\Core\Form\FormState)) #14 /Users/user/website/core/modules/views_ui/src/Form/Ajax/Rearrange.php(35): Drupal\views_ui\Form\Ajax\ViewsFormBase->getForm(Object(Drupal\views_ui\ViewUI), 'block_1', 'ajax') #15 [internal function]: Drupal\views_ui\Form\Ajax\Rearrange->getForm(Object(Drupal\views_ui\ViewUI), 'block_1', 'ajax', 'field') #16 /Users/user/website/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array) #17 /Users/user/website/core/lib/Drupal/Core/Render/Renderer.php(576): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() #18 /Users/user/website/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure)) #19 /Users/user/website/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) #20 [internal function]: Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() #21 /Users/user/website/vendor/symfony/http-kernel/HttpKernel.php(153): call_user_func_array(Object(Closure), Array) #22 /Users/user/website/vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #23 /Users/user/website/core/lib/Drupal/Core/StackMiddleware/Session.php(57): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #24 /Users/user/website/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(47): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #25 /Users/user/website/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(47): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #26 /Users/user/website/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(50): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #27 /Users/user/website/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #28 /Users/user/website/core/lib/Drupal/Core/DrupalKernel.php(657): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #29 /Users/user/website/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request)) #30 {main}.
The views_fieldsets module function is called even when a fieldset is not included in the view. (I get this error even when saving without a fieldset).
Comment #9
kferencz91 commentedWanted to follow-up and say that after removing all the views fieldsets I was using and completely uninstalling the module on 8.4.0, I no longer have rearrangement and saving issues on my views. So this is definitely related to this module.
Comment #10
johnhanley commented@kferencz91, thanks for your comments.
Yup, I experienced this as well.
This module could use some TLC.
Comment #11
lquessenberry commentedBump. I have nothing to add other than the fact that for me it seems like it might be an ajax or jquery issue.
Comment #12
rudiedirkx commentedPatches and (co-)maintainers are very welcome! I don't Drupal 8 anymore, so I won't fix it.
Comment #13
lquessenberry commentedComment #14
lquessenberry commentedI am not a very good ajax developer, but the above is the output from my console. Any tips or tricks in the right direction are appreciated. It's too bad that rudiedirkx is unwilling to work on this further. I will do my best to figure it out, but I can assure you there are much more capable people than I am who would be better suited to fix this issue.
Comment #15
lquessenberry commentedDigging a bit further, but I am not sure how would I go about determining the issue for the issue above. Best I can tell is that there was maybe a Drupal API change in Drupal 8.4.0 but I am not sure how to approach this.
https://api.drupal.org/api/drupal/core%21modules%21views_ui%21src%21Form...
Comment #16
lquessenberry commentedI thought a shot in the dark by upgrading to Drupal 8.5.x-dev would help. Newp. Didn't help.
Comment #17
johnhanley commented@lquessenberr, thanks for digging in on this issue. I got slammed this week, but I will try and carve out some time next week to investigate.
Comment #18
lquessenberry commentedJohn,
I will keep digging next week too. I’m new to Drupal 8 and I really like this module from my D7 sites so I’m really hoping to use it.
Lee
Comment #19
rudiedirkx commentedWorks fine for me in a clean D8.4 install. I do have to refresh the Views UI page to see it worked, but it did save fine. The view result looks good too.
Multiple fields and multiple fieldsets work fine too.
What doesn't work is
collapsible, but that can't be related.I'm still not sure how it doesn't work. Only JS? Only PHP? Fatal errors all around? Saving the Field? Or the View? Etc.
Comment #20
rudiedirkx commentedI created this beauty without any major problems.
TableDrag in D8 works crappily, but it always has, and it's still doable. No JS or PHP errors.
Comment #21
johnhanley commented@rudiedirkx, that's interesting.
I too started with a clean install of 8.4.0. I just couldn't get Views fieldsets 8.x-3.1 to work correctly.
Comment #22
rudiedirkx commentedI'm using Views Fieldsets 8.x dev. I'm user 1. I started with a minimal install. Maybe it's fighting with some other module. Might still be VF's fault, but only in combination.
Comment #23
johnhanley commentedBoth 8.x-3.1 and 8.x dev have the same date of September 29, 2017, which I believe are the same. While my application is pretty light, the problem could most certainly be a conflict.
Comment #24
kferencz91 commentedI tried a completely fresh 8.4.0 Drupal install using Simply Test Me and with only Views Fieldsets installed - no other contrib modules - I still couldn't use this module. No matter how many times I tried to drag and drop in, and no matter how many times I saved and refreshed the page, it did not apply.
There were multiple errors in the site log as well once attempting to save. Screengrab attached - if anyone needs the full errors themselves, I can post.
Unlike the other site I was working on, I was at least able to save dialog box, which I could not do before, so that piece may be a conflict with another module, or an outlying issue. This other site was an 8.3.7 site that was then upgraded to 8.4.0. Views Fieldsets seemed to work fine on 8.3.7, but then broke once the site was upgraded to 8.4.0. Either way, even on this fresh 8.4.0 install with nothing else included besides core, there are still issues.
Comment #25
rudiedirkx commentedWorks fine for me. https://du0rp.ply.st/fielded (User 1 is root // boele)
I really don't understand what you're doing....
Comment #26
johnhanley commented@rudiedirkx, thanks for the example app. I logged in and you're right, it definitely works as described. I'll give it another whirl locally and report back.
Comment #27
kferencz91 commented@rudiedirkx Not really doing much of anything. Start the instance, create a view using the basic page content type. Add a title and body field. Try to add the views fieldset - can't. Absolutely nothing else installed.
For what it's worth, I'm trying to make a block instead of a page view. Not sure if that makes a difference (haven't had time to test between the two).
I can try to screencast as well if that would help. @johnhanley, interested to hear what your report back.
Comment #28
rudiedirkx commentedJavascript and PHP logs are most interesting probably. Keep the JS console open while dragging and see what comes up. If nothing, still mysterious, but any errors might be useful. Same for PHP. According to #8 there were even PHP errors. Are these consistent? After saving what? After JS errors? Etc.
If I can reproduce it relatively easily, I'll try to fix it, but I can't so far...
Comment #29
rudiedirkx commentedComment #30
rudiedirkx commentedNot related to #2583535
Comment #31
ta-im-ok commentedWith the JS console open while dragging, this is what comes up
An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /admin/structure/views/ajax/rearrange/frontpage/page_1/field
StatusText: OK
ResponseText: Error: Call to a member function get() on null in Drupal\views_ui\Form\Ajax\Rearrange->submitForm() (line 154 of /core/modules/views_ui/src/Form/Ajax/Rearrange.php).
Comment #32
droprocker commentedSince this also happend to me, I made one simple test. I changend my browser and violà, it worked! So it seems to be an issue with Chrome. Just change to Firefox an everything works as expected.
Comment #33
babin commentedUsing Firefox does not fix my problem, and refreshing no longer shows my changes, so I cant even trick it to work.
I can move my fields into the fieldset, but I get
AjaxError:
An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /admin/structure/views/ajax/rearrange/page_copy/block_1/field
StatusText: OK
ResponseText: Error: Call to a member function addWhere() on null in Drupal\views\Plugin\views\filter\BooleanOperator->queryOpBoolean() (line 260 of /svn/web/core/modules/views/src/Plugin/views/filter/BooleanOperator.php).
ajax.js:110:32
when I try to apply the changes.
:(
Comment #34
hamrant commentedThe same problem - after rearrange on save button click:
From DBlog:
Error: Call to a member function addRelationship() on null in Drupal\views\Plugin\views\relationship\RelationshipPluginBase->query() (line 159 of /var/www/drupalvm/drupal/web/core/modules/views/src/Plugin/views/relationship/RelationshipPluginBase.php) #0 /var/www/drupalvm/drupal/web/core/modules/views/src/ViewExecutable.php(1371): Drupal\views\Plugin\views\relationship\RelationshipPluginBase->query(false) #1 /var/www/drupalvm/drupal/web/core/modules/views/src/ViewExecutable.php(1246): Drupal\views\ViewExecutable->_build('relationship') #2 /var/www/drupalvm/drupal/web/modules/contrib/views_fieldsets/views_fieldsets.module(177): Drupal\views\ViewExecutable->build('rest_export_1') #3 [internal function]: views_fieldsets_views_ui_rearrange_form_submit(Array, Object(Drupal\Core\Form\FormState)) #4 /var/www/drupalvm/drupal/web/core/lib/Drupal/Core/Form/FormSubmitter.php(111): call_user_func_array('views_fieldsets...', Array) #5 /var/www/drupalvm/drupal/web/core/lib/Drupal/Core/Form/FormSubmitter.php(51): Drupal\Core\Form\FormSubmitter->executeSubmitHandlers(Array, Object(Drupal\Core\Form\FormState)) #6 /var/www/drupalvm/drupal/web/core/lib/Drupal/Core/Form/FormBuilder.php(585): Drupal\Core\Form\FormSubmitter->doSubmitForm(Array, Object(Drupal\Core\Form\FormState)) #7 /var/www/drupalvm/drupal/web/core/lib/Drupal/Core/Form/FormBuilder.php(314): Drupal\Core\Form\FormBuilder->processForm('views_ui_rearra...', Array, Object(Drupal\Core\Form\FormState)) #8 /var/www/drupalvm/drupal/web/core/modules/views_ui/src/Form/Ajax/ViewsFormBase.php(212): Drupal\Core\Form\FormBuilder->buildForm('views_ui_rearra...', Object(Drupal\Core\Form\FormState))Comment #35
MGParisi commentedSame issue here...
Comment #36
sachit.thapa commentedI am also getting the same error.
Drupal.AjaxError {message: "↵An AJAX HTTP error occurred.↵HTTP Result Code: 20…sults/block_1/field↵StatusText: OK↵ResponseText: ", name: "AjaxError"}
message
:
"↵An AJAX HTTP error occurred.↵HTTP Result Code: 200↵Debugging information follows.↵Path: /admin/structure/views/ajax/rearrange/aaa/block_1/field↵StatusText: OK↵ResponseText: "
name
:
"AjaxError"
Has anyone able to find solutions for this?
Thanks
Sachit
Comment #37
adanielyan commentedHaving same issue in both Chrome and FF. Was anyone able to find a fix or workaround?
Comment #38
unrealauk commentedFixed PHP notices. Which are mentioned #24
Please, review the patch.
Comment #40
pifagorComment #41
pifagorComment #42
peterg.griffin commentedI'm still getting this error with both the 8.x-3.3 and 8.x-dev versions of the module:
Error: Call to a member function get() on null in Drupal\views_ui\Form\Ajax\Rearrange->submitForm() (line 154 of /vagrant/web/core/modules/views_ui/src/Form/Ajax/Rearrange.php)
Comment #43
attisansorry, but this issue isn't fixed yet. I'm having issues too.
db-log:
js-console:
hth
Comment #44
unrealauk commented@attisan, @peterg.griffin
Sorry, but I can't reproduce the bug.
Could you provide more information about this bug?
I mean, steps to reproduce it or you can record a video with the bug.
I need any information about it - views settings, etc.
Comment #45
pifagorComment #46
pifagorComment #47
eddylbsHello everyone,
I am also confronted with this error when I want to save the order of the fields in a view, the configuration popup does not close and errors are generated.
It looks like it happens when the view contains at least one contextual filter, since after testing without contextual filters it seems to work.
Error : Call to a member function addWhere() on null dans Drupal\views\Plugin\views\filter\InOperator->opSimple()
Notice : Undefined property: Drupal\views\Plugin\views\filter\Bundle::$query dans Drupal\views\Plugin\views\filter\InOperator->opSimple()
Drupal version => 8.4.5
Module Views fieldsets => 8.x-3.3
Module Views Exposed Form Fieldset => 8.x-1.1
Module Field Group => 8.x-1.0
My view settings:
- Current nid in contextual filters
- Use ajax: No
- Has exposed filters on field of type "select list"
- Better exposed filters activated
- View displayed: "HTML List"
- Display fields
- Order by Updated Date
Thanks
Comment #48
unrealauk commentedSorry, I can't reproduce it.
I did the same views with your settings, but I didn't catch error.
Comment #49
rudiedirkx commentedI couldn't reproduce it either. Fresh or new Drupal install. Home server or https://simplytest.me/
Maybe it's a specific combination of (admin?) modules. Or a certain combination of modules that fixes it.
If someone who does have this problem could debug it a bit, that would be super helpful.
Comment #50
pifagorHello everyone.
@attisan and @peterggriffin
Is it possible to prepare a docker compose with a ready-made resource, where we can reproduce the issue? I think the reason is conflict with some additional modules.
Comment #51
rudiedirkx commentedOr a complete Drush Make file?
Comment #52
rainer f. gottlieb commentedSame problem here, error in log same as posted in #43, in some views it worked, but now, no way to get it work.
Edit (a makeshift):
When I deleted the context filter within the view, it worked (after delete the filter save the view, then rearange fields under field set, save (its not dislpayed correct, but after saving the view, it will) saving the view, then adding the context-filter again.
Comment #53
jcaritas commentedYes! Rainer, you're correct (at least for me)! I couldn't figure out why it seemed to work sometimes and not others, but temporarily removing my contextual filter allowed me to save with the fieldsets intact. Thanks for the workaround!
Comment #54
Vuds commented+1 confirming: when the contextual filter is added, it is impossible to edit the positioning of fields inside the fieldsets.
Temporarily removing the filter, it all returns back to normal.
Comment #55
namli commentedAnd for me it's work: Temporary remove contextual filter fix problem.
Comment #56
m.lebedev commentedHello. It is a quick fix.
Comment #57
pifagorComment #58
bohemier commentedPatch #56 works for me, thanks
Comment #60
pifagorDone
Comment #62
ydahithx for the patch in #56, rtbc on 8.x-3.3. Should be included in next release as without patch the module is almost inoperable.
Comment #63
markdcI second this.
Comment #64
HitbyPatch applied cleanly to 3.3 and fixed the issue for me.
Comment #65
WillGFP commentedI've got the latest dev version with the patch in #56 applied, still getting the error.
Error: Call to a member function get() on null in Drupal\views_ui\Form\Ajax\Rearrange->submitForm()It only happens for me when there's an RSS Feed display on the view, if I delete the Feed display, it works just fine. The Views UI button specifically says "Apply (this display)" when the AJAX error occurs, even though the error seems to be cause by a conflict with the other display.
Comment #66
lordzik commentedI've got the same error as in #65
Error: Call to a member function get() on null w Drupal\views_ui\Form\Ajax\Rearrange->submitForm() (linia 156 w /var/www/html/drupal8/core/modules/views_ui/src/Form/Ajax/Rearrange.php) #0 [internal function]: Drupal\views_ui\Form\Ajax\Rearrange->submitForm(Array, Object(Drupal\Core\Form\FormState)) #1 /var/www/html/drupal8/core/modules/views_ui/src/ViewUI.php(258): call_user_func_array(Array, Array) #2 [internal function]: Drupal\views_ui\ViewUI->standardSubmit(Array, Object(Drupal\Core\Form\FormState)) #3 /var/www/html/drupal8/core/lib/Drupal/Core/Form/FormSubmitter.php(111): call_user_func_array(Array, Array) #4 /var/www/html/drupal8/core/lib/Drupal/Core/Form/FormSubmitter.php(51): Drupal\Core\Form\FormSubmitter->executeSubmitHandlers(Array, Object(Drupal\Core\Form\FormState)) #5 /var/www/html/drupal8/core/lib/Drupal/Core/Form/FormBuilder.php(590): Drupal\Core\Form\FormSubmitter->doSubmitForm(Array, Object(Drupal\Core\Form\FormState)) #6 /var/www/html/drupal8/core/lib/Drupal/Core/Form/FormBuilder.php(319): Drupal\Core\Form\FormBuilder->processForm('views_ui_rearra...', Array, Object(Drupal\Core\Form\FormState)) #7 /var/www/html/drupal8/core/modules/views_ui/src/Form/Ajax/ViewsFormBase.php(214): Drupal\Core\Form\FormBuilder->buildForm('views_ui_rearra...', Object(Drupal\Core\Form\FormState)) #8 /var/www/html/drupal8/core/lib/Drupal/Core/Render/Renderer.php(582): Drupal\views_ui\Form\Ajax\ViewsFormBase->Drupal\views_ui\Form\Ajax\{closure}() #9 /var/www/html/drupal8/core/modules/views_ui/src/Form/Ajax/ViewsFormBase.php(216): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure)) #10 /var/www/html/drupal8/core/modules/views_ui/src/Form/Ajax/ViewsFormBase.php(125): Drupal\views_ui\Form\Ajax\ViewsFormBase->ajaxFormWrapper('Drupal\\views_ui...', Object(Drupal\Core\Form\FormState)) #11 /var/www/html/drupal8/core/modules/views_ui/src/Form/Ajax/Rearrange.php(37): Drupal\views_ui\Form\Ajax\ViewsFormBase->getForm(Object(Drupal\views_ui\ViewUI), 'page_1', 'ajax') #12 [internal function]: Drupal\views_ui\Form\Ajax\Rearrange->getForm(Object(Drupal\views_ui\ViewUI), 'page_1', 'ajax', 'field') #13 /var/www/html/drupal8/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array) #14 /var/www/html/drupal8/core/lib/Drupal/Core/Render/Renderer.php(582): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() #15 /var/www/html/drupal8/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure)) #16 /var/www/html/drupal8/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) #17 /var/www/html/drupal8/vendor/symfony/http-kernel/HttpKernel.php(151): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() #18 /var/www/html/drupal8/vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #19 /var/www/html/drupal8/core/lib/Drupal/Core/StackMiddleware/Session.php(57): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #20 /var/www/html/drupal8/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(47): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #21 /var/www/html/drupal8/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #22 /var/www/html/drupal8/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true) #23 /var/www/html/drupal8/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(47): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #24 /var/www/html/drupal8/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(52): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #25 /var/www/html/drupal8/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #26 /var/www/html/drupal8/core/lib/Drupal/Core/DrupalKernel.php(693): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #27 /var/www/html/drupal8/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request)) #28 {main}.
I happens when i try to save rearranged fields when view has rss enabled.
Comment #67
karenann commentedThe patch in #56 fixed my issue:
Comment #68
rroose commentedPatch in #56 works, thanks.
Comment #69
aldibierPatch #56 works.
Comment #70
marceldeb commentedPatch applied cleanly to 3.3 and fixed the issue for me.
Comment #71
prsnjtbarman commentedPatch #56 worked for me having relationship set in view
Comment #72
kebne commentedPatch #56 didn't worked for me (not using fieldsets in my view).
But moving views_fieldsets away make reordering works again. And after saving my changes I can move views_fieldsets back and there's no more error!
Just like: https://www.drupal.org/project/drupal/issues/3068437
Comment #73
breezeweb commentedThanks!
Patch in #56 works for me on 8.x-3.3
Comment #74
gionnibgud commented+1 for patch in #56
Comment #75
dangreenman commentedThe patches did not work for me.
Only moving the RSS feeds to a different view solved the problem.
Thank you for your help.
Comment #76
yfma commentedThank you, Patch 56 works on 8.x-3.3
Comment #77
lubwn commentedPatch #56 is working for me as well. Please push this into production.
Comment #78
chucksimply commentedLooks like it was finally committed to 8.x-3.4. thanks!