Skip Navigation

[Resolved] Javascript stack size exceeded in codemirror, View editor & settings

This support ticket is created 8 years ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 10:00 - - - - -
- - - - - - -

Supporter timezone: Africa/Cairo (GMT+02:00)

Tagged: 

This topic contains 9 replies, has 4 voices.

Last updated by Bob 7 years, 7 months ago.

Assisted by: Mohammed.

Author
Posts
#387271

Bob

Hi Adriano,
I've seen some issues recently in the support forum about JS stack size exceeded and Types.
I've seen this stack issue with Views also so did some investigation.
The stack error occurs due to an infinite loop in the codemirror library (as used in Toolset). See below for the console log.
I note Toolset is using V5.5.0 and codemirror is now at V5.13.2.
Thus the infinite loop issue in codemirror may or may not have already been found and fixed in the changes since 5.5.0 to 5.13.2.
So putting the codemirror issue aside for now (and not wishing to debug codemirror) I looked for abnormal conditions within Views that triggered the codemirror stack error.
Here is what I found:
1. Within views there are settings per view as you know (held in meta data for the View).
2. The GUI editor of Views adds/changes/deletes these settings
3. There are issues I identified in the Views GUI editor managing the "filter_controls_..." section
4. The primary issue is that "filters_control_..." section can be left with multiple entries for the same filter item
5. When multiple entries are created and a user attempts to edit and save a filter (using the "Edit filter" button) which has more than one entry in "filters_control_..." then the data passed to the codemirror library results in the stack overflow in codemirror.
6. The issues in Views editor with multiple entries may also impact runtime filtering in wpv-filter-query.php since there will be more than one entry (incorrectly) in "filter_control_..." for a CF or TAX and the multiple entries could be different in their parameters (if a user has deleted and re-entered a filter with different parameters). However, I have not diagnosed the potential issues that might arise.
7. The reason that multiple entries can occur in "filter_settings_..." are:
a) When adding a filter using the Views GUI "New filter" an existing entry for the CF or TAX item in "filter_Controls..." is not found and modified/updated. Instead a new entry is added to "filter_controls...".
b) When deleting a [wpv-control ...] the message that the filter now has a query entry only and should be removed from query is presented in the VIews editor. The "recommended" action is to remove the query filter. However, clicking YES does not remove the entry from "filter_settings_..." thus a remnant (dissociated) entry is left in "filter_settings...".

8. Further issues (that has been reported before) is that when using the Views GUI "Add a filter" the "filter_controls_..." entries are not updated with a query filter entry for the new query filter. That means if an entry did not exist in "filter_controls_..." then it is not created.
Similarly when deleting a query filter (using the "Delete" (trash can icon in Query Filter section) it appears there is no check of the existing "filter_controls_..." to determine if an entry matching the query filter in "filter_settings_..." should be deleted.

This analysis has all been done on the latest release (v2.0). and WP 4.5.

OK. I hope that provides you with sufficient detail to take to the development person responsible for review.

Thanks for giving this priority.

Regards,

Bob

=======================================
Follows is an example of the multiple entries in a View created by entering and then deleting filters and then adding them again....

                    <custom_fields_relationship>AND</custom_fields_relationship>
                    <users-show-current>0</users-show-current>
                    <taxonomy-element-tag-attribute-url-format>name</taxonomy-element-tag-attribute-url-format>
                    <taxonomy-element-tag-attribute-operator>IN</taxonomy-element-tag-attribute-operator>
                    <filter_controls_field_name>
                        <filter_controls_field_name>wpcf-s2u-set</filter_controls_field_name>
                        <filter_controls_field_name>element-tag</filter_controls_field_name>
                        <filter_controls_field_name>wpcf-s2u-set</filter_controls_field_name>
                        <filter_controls_field_name>wpcf-s2u-family</filter_controls_field_name>
                        <filter_controls_field_name>wpcf-s2u-source</filter_controls_field_name>
                        <filter_controls_field_name>element-tag</filter_controls_field_name>
                    </filter_controls_field_name>
                    <filter_controls_mode>
                        <filter_controls_mode>cf</filter_controls_mode>
                        <filter_controls_mode>slug</filter_controls_mode>
                        <filter_controls_mode>cf</filter_controls_mode>
                        <filter_controls_mode>cf</filter_controls_mode>
                        <filter_controls_mode>cf</filter_controls_mode>
                        <filter_controls_mode>slug</filter_controls_mode>
                    </filter_controls_mode>
                    <filter_controls_label>
                        <filter_controls_label>Set</filter_controls_label>
                        <filter_controls_label>Element Tags</filter_controls_label>
                        <filter_controls_label>Set</filter_controls_label>
                        <filter_controls_label>Family</filter_controls_label>
                        <filter_controls_label>Source</filter_controls_label>
                        <filter_controls_label>Element Tags</filter_controls_label>
                    </filter_controls_label>
                    <filter_controls_type>
                        <filter_controls_type>false</filter_controls_type>
                        <filter_controls_type>checkboxes</filter_controls_type>
                        <filter_controls_type>textfield</filter_controls_type>
                        <filter_controls_type>select</filter_controls_type>
                        <filter_controls_type>select</filter_controls_type>
                        <filter_controls_type>checkboxes</filter_controls_type>
                    </filter_controls_type>
                    <filter_controls_values>
                        <filter_controls_values>{"values":[],"auto_fill":"0","auto_fill_default":"","auto_fill_sort":"false","hide_empty":"","taxonomy_order":"","taxonomy_orderby":"","format":""}</filter_controls_values>
                        <filter_controls_values>{"values":[],"auto_fill":"0","auto_fill_default":"","auto_fill_sort":"false","hide_empty":"false","taxonomy_order":"ASC","taxonomy_orderby":"name","format":""}</filter_controls_values>
                        <filter_controls_values>{"values":[],"auto_fill":"0","auto_fill_default":"","auto_fill_sort":"false","hide_empty":"","taxonomy_order":"","taxonomy_orderby":"","format":""}</filter_controls_values>
                        <filter_controls_values>{"values":[],"auto_fill":"wpcf-s2u-family","auto_fill_default":"All","auto_fill_sort":"asc","hide_empty":"","taxonomy_order":"","taxonomy_orderby":"","format":"%%NAME%% (%%COUNT%%)"}</filter_controls_values>
                        <filter_controls_values>{"values":[],"auto_fill":"wpcf-s2u-source","auto_fill_default":"Any","auto_fill_sort":"asc","hide_empty":"","taxonomy_order":"","taxonomy_orderby":"","format":"%%NAME%% (%%COUNT%%)"}</filter_controls_values>
                        <filter_controls_values>{"values":[],"auto_fill":"0","auto_fill_default":"","auto_fill_sort":"false","hide_empty":"false","taxonomy_order":"ASC","taxonomy_orderby":"name","format":""}</filter_controls_values>
                    </filter_controls_values>
                    <filter_controls_enable>
                        <filter_controls_enable>1</filter_controls_enable>
                        <filter_controls_enable>1</filter_controls_enable>
                        <filter_controls_enable>1</filter_controls_enable>
                        <filter_controls_enable>1</filter_controls_enable>
                        <filter_controls_enable>1</filter_controls_enable>
                        <filter_controls_enable>1</filter_controls_enable>
                    </filter_controls_enable>
                    <filter_controls_param>
                        <filter_controls_param>s2u-set</filter_controls_param>
                        <filter_controls_param>wpv-element-tag</filter_controls_param>
                        <filter_controls_param>s2u-set</filter_controls_param>
                        <filter_controls_param>s2u-family</filter_controls_param>
                        <filter_controls_param>s2u-source</filter_controls_param>
                        <filter_controls_param>wpv-element-tag</filter_controls_param>
                    </filter_controls_param>
                    <custom-field-wpcf-s2u-set_compare>LIKE</custom-field-wpcf-s2u-set_compare>
                    <custom-field-wpcf-s2u-set_type>CHAR</custom-field-wpcf-s2u-set_type>
                    <custom-field-wpcf-s2u-set_value>URL_PARAM(s2u-set)</custom-field-wpcf-s2u-set_value>
                    <custom-field-wpcf-s2u-family_compare>=</custom-field-wpcf-s2u-family_compare>
                    <custom-field-wpcf-s2u-family_type>CHAR</custom-field-wpcf-s2u-family_type>
                    <custom-field-wpcf-s2u-family_value>URL_PARAM(s2u-family)</custom-field-wpcf-s2u-family_value>
                    <custom-field-wpcf-s2u-source_compare>=</custom-field-wpcf-s2u-source_compare>
                    <custom-field-wpcf-s2u-source_type>CHAR</custom-field-wpcf-s2u-source_type>
                    <custom-field-wpcf-s2u-source_value>URL_PARAM(s2u-source)</custom-field-wpcf-s2u-source_value>
                    <tax_element-tag_relationship>FROM URL</tax_element-tag_relationship>
                    <taxonomy-element-tag-attribute-url>wpv-element-tag</taxonomy-element-tag-attribute-url>

==============================================
Console log when stack overflow occurs in codemirror...

Uncaught RangeError:
Maximum call stack size exceeded.n.event.special.focus.trigger @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,suggest,jquery-ui-core,jquery-ui-widge…:3
n.event.trigger @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,suggest,jquery-ui-core,jquery-ui-widge…:3
a.event.trigger @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,suggest,jquery-ui-core,jquery-ui-widge…:9
(anonymous function) @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,suggest,jquery-ui-core,jquery-ui-widge…:3
n.extend.each @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,suggest,jquery-ui-core,jquery-ui-widge…:2
n.fn.n.each @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,suggest,jquery-ui-core,jquery-ui-widge…:2
n.fn.extend.trigger @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,suggest,jquery-ui-core,jquery-ui-widge…:3
n.fn.(anonymous function) @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,suggest,jquery-ui-core,jquery-ui-widge…:4
a.fn.extend.focus @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,suggest,jquery-ui-core,jquery-ui-widge…:24
a.widget._focusTabbable @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,suggest,jquery-ui-core,jquery-ui-widge…:101
(anonymous function) @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,suggest,jquery-ui-core,jquery-ui-widge…:35
document.data._on.focusin @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,suggest,jquery-ui-core,jquery-ui-widge…:101
h @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,suggest,jquery-ui-core,jquery-ui-widge…:35
n.event.dispatch @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,suggest,jquery-ui-core,jquery-ui-widge…:3
r.handle @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,suggest,jquery-ui-core,jquery-ui-widge…:3
n.event.trigger @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,suggest,jquery-ui-core,jquery-ui-widge…:3
a.event.trigger @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,suggest,jquery-ui-core,jquery-ui-widge…:9
n.event.simulate @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,suggest,jquery-ui-core,jquery-ui-widge…:3
c @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,suggest,jquery-ui-core,jquery-ui-widge…:3
selectInput @ codemirror.js?ver=5.5.0:8203
copyObj.reset @ codemirror.js?ver=5.5.0:1340
onFocus @ codemirror.js?ver=5.5.0:4155
(anonymous function) @ codemirror.js?ver=5.5.0:8244
selectInput @ codemirror.js?ver=5.5.0:8203
copyObj.reset @ codemirror.js?ver=5.5.0:1340
onFocus @ codemirror.js?ver=5.5.0:4155
(anonymous function) @ codemirror.js?ver=5.5.0:8244
selectInput @ codemirror.js?ver=5.5.0:8203
copyObj.reset @ codemirror.js?ver=5.5.0:1340
onFocus @ codemirror.js?ver=5.5.0:4155
(anonymous function) @ codemirror.js?ver=5.5.0:8244
selectInput @ codemirror.js?ver=5.5.0:8203
copyObj.reset @ codemirror.js?ver=5.5.0:1340
onFocus @ codemirror.js?ver=5.5.0:4155
(anonymous function) @ codemirror.js?ver=5.5.0:8244
selectInput @ codemirror.js?ver=5.5.0:8203
copyObj.reset @ codemirror.js?ver=5.5.0:1340
onFocus @ codemirror.js?ver=5.5.0:4155
(anonymous function) @ codemirror.js?ver=5.5.0:8244
selectInput @ codemirror.js?ver=5.5.0:8203
copyObj.reset @ codemirror.js?ver=5.5.0:1340
onFocus @ codemirror.js?ver=5.5.0:4155
(anonymous function) @ codemirror.js?ver=5.5.0:8244
selectInput @ codemirror.js?ver=5.5.0:8203
copyObj.reset @ codemirror.js?ver=5.5.0:1340
onFocus @ codemirror.js?ver=5.5.0:4155
(anonymous function) @ codemirror.js?ver=5.5.0:8244
selectInput @ codemirror.js?ver=5.5.0:8203
copyObj.reset @ codemirror.js?ver=5.5.0:1340
onFocus @ codemirror.js?ver=5.5.0:4155
(anonymous function) @ codemirror.js?ver=5.5.0:8244
selectInput @ codemirror.js?ver=5.5.0:8203
copyObj.reset @ codemirror.js?ver=5.5.0:1340
onFocus @ codemirror.js?ver=5.5.0:4155
(anonymous function) @ codemirror.js?ver=5.5.0:8244
selectInput @ codemirror.js?ver=5.5.0:8203
copyObj.reset @ codemirror.js?ver=5.5.0:1340
onFocus @ codemirror.js?ver=5.5.0:4155
(anonymous function) @ codemirror.js?ver=5.5.0:8244
selectInput @ codemirror.js?ver=5.5.0:8203
copyObj.reset @ codemirror.js?ver=5.5.0:1340
onFocus @ codemirror.js?ver=5.5.0:4155
(anonymous function) @ codemirror.js?ver=5.5.0:8244
selectInput @ codemirror.js?ver=5.5.0:8203
copyObj.reset @ codemirror.js?ver=5.5.0:1340
onFocus @ codemirror.js?ver=5.5.0:4155
(anonymous function) @ codemirror.js?ver=5.5.0:8244
selectInput @ codemirror.js?ver=5.5.0:8203
copyObj.reset @ codemirror.js?ver=5.5.0:1340
onFocus @ codemirror.js?ver=5.5.0:4155
(anonymous function) @ codemirror.js?ver=5.5.0:8244
selectInput @ codemirror.js?ver=5.5.0:8203
copyObj.reset @ codemirror.js?ver=5.5.0:1340
onFocus @ codemirror.js?ver=5.5.0:4155
(anonymous function) @ codemirror.js?ver=5.5.0:8244
selectInput @ codemirror.js?ver=5.5.0:8203
copyObj.reset @ codemirror.js?ver=5.5.0:1340
onFocus @ codemirror.js?ver=5.5.0:4155
(anonymous function) @ codemirror.js?ver=5.5.0:8244
selectInput @ codemirror.js?ver=5.5.0:8203
copyObj.reset @ codemirror.js?ver=5.5.0:1340
onFocus @ codemirror.js?ver=5.5.0:4155
(anonymous function) @ codemirror.js?ver=5.5.0:8244
selectInput @ codemirror.js?ver=5.5.0:8203
copyObj.reset @ codemirror.js?ver=5.5.0:1340
onFocus @ codemirror.js?ver=5.5.0:4155
(anonymous function) @ codemirror.js?ver=5.5.0:8244
selectInput @ codemirror.js?ver=5.5.0:8203
copyObj.reset @ codemirror.js?ver=5.5.0:1340
onFocus @ codemirror.js?ver=5.5.0:4155
(anonymous function) @ codemirror.js?ver=5.5.0:8244
selectInput @ codemirror.js?ver=5.5.0:8203
copyObj.reset @ codemirror.js?ver=5.5.0:1340
onFocus @ codemirror.js?ver=5.5.0:4155
(anonymous function) @ codemirror.js?ver=5.5.0:8244
selectInput @ codemirror.js?ver=5.5.0:8203
copyObj.reset @ codemirror.js?ver=5.5.0:1340
onFocus @ codemirror.js?ver=5.5.0:4155
(anonymous function) @ codemirror.js?ver=5.5.0:8244
selectInput @ codemirror.js?ver=5.5.0:8203
copyObj.reset @ codemirror.js?ver=5.5.0:1340
onFocus @ codemirror.js?ver=5.5.0:4155
(anonymous function) @ codemirror.js?ver=5.5.0:8244
selectInput @ codemirror.js?ver=5.5.0:8203
copyObj.reset @ codemirror.js?ver=5.5.0:1340
onFocus @ codemirror.js?ver=5.5.0:4155
(anonymous function) @ codemirror.js?ver=5.5.0:8244
selectInput @ codemirror.js?ver=5.5.0:8203
copyObj.reset @ codemirror.js?ver=5.5.0:1340
onFocus @ codemirror.js?ver=5.5.0:4155
(anonymous function) @ codemirror.js?ver=5.5.0:8244
selectInput @ codemirror.js?ver=5.5.0:8203
copyObj.reset @ codemirror.js?ver=5.5.0:1340
onFocus @ codemirror.js?ver=5.5.0:4155
(anonymous function) @ codemirror.js?ver=5.5.0:8244
selectInput @ codemirror.js?ver=5.5.0:8203
copyObj.reset @ codemirror.js?ver=5.5.0:1340
onFocus @ codemirror.js?ver=5.5.0:4155
(anonymous function) @ codemirror.js?ver=5.5.0:8244
selectInput @ codemirror.js?ver=5.5.0:8203
copyObj.reset @ codemirror.js?ver=5.5.0:1340
onFocus @ codemirror.js?ver=5.5.0:4155
(anonymous function) @ codemirror.js?ver=5.5.0:8244
selectInput @ codemirror.js?ver=5.5.0:8203
copyObj.reset @ codemirror.js?ver=5.5.0:1340
onFocus @ codemirror.js?ver=5.5.0:4155
(anonymous function) @ codemirror.js?ver=5.5.0:8244
selectInput @ codemirror.js?ver=5.5.0:8203
copyObj.reset @ codemirror.js?ver=5.5.0:1340
onFocus @ codemirror.js?ver=5.5.0:4155
(anonymous function) @ codemirror.js?ver=5.5.0:8244
selectInput @ codemirror.js?ver=5.5.0:8203
copyObj.reset @ codemirror.js?ver=5.5.0:1340
onFocus @ codemirror.js?ver=5.5.0:4155
(anonymous function) @ codemirror.js?ver=5.5.0:8244
selectInput @ codemirror.js?ver=5.5.0:8203
copyObj.reset @ codemirror.js?ver=5.5.0:1340
onFocus @ codemirror.js?ver=5.5.0:4155
(anonymous function) @ codemirror.js?ver=5.5.0:8244
selectInput @ codemirror.js?ver=5.5.0:8203
copyObj.reset @ codemirror.js?ver=5.5.0:1340
onFocus @ codemirror.js?ver=5.5.0:4155
(anonymous function) @ codemirror.js?ver=5.5.0:8244
selectInput @ codemirror.js?ver=5.5.0:8203
copyObj.reset @ codemirror.js?ver=5.5.0:1340
onFocus @ codemirror.js?ver=5.5.0:4155
(anonymous function) @ codemirror.js?ver=5.5.0:8244
selectInput @ codemirror.js?ver=5.5.0:8203
copyObj.reset @ codemirror.js?ver=5.5.0:1340
onFocus @ codemirror.js?ver=5.5.0:4155
(anonymous function) @ codemirror.js?ver=5.5.0:8244
selectInput @ codemirror.js?ver=5.5.0:8203
copyObj.reset @ codemirror.js?ver=5.5.0:1340
onFocus @ codemirror.js?ver=5.5.0:4155
(anonymous function) @ codemirror.js?ver=5.5.0:8244
selectInput @ codemirror.js?ver=5.5.0:8203
copyObj.reset @ codemirror.js?ver=5.5.0:1340
onFocus @ codemirror.js?ver=5.5.0:4155
(anonymous function) @ codemirror.js?ver=5.5.0:8244
selectInput @ codemirror.js?ver=5.5.0:8203
copyObj.reset @ codemirror.js?ver=5.5.0:1340
onFocus @ codemirror.js?ver=5.5.0:4155
(anonymous function) @ codemirror.js?ver=5.5.0:8244
selectInput @ codemirror.js?ver=5.5.0:8203
copyObj.reset @ codemirror.js?ver=5.5.0:1340
onFocus @ codemirror.js?ver=5.5.0:4155
(anonymous function) @ codemirror.js?ver=5.5.0:8244
selectInput @ codemirror.js?ver=5.5.0:8203
copyObj.reset @ codemirror.js?ver=5.5.0:1340
onFocus @ codemirror.js?ver=5.5.0:4155
(anonymous function) @ codemirror.js?ver=5.5.0:8244
selectInput @ codemirror.js?ver=5.5.0:8203
copyObj.reset @ codemirror.js?ver=5.5.0:1340
onFocus @ codemirror.js?ver=5.5.0:4155
(anonymous function) @ codemirror.js?ver=5.5.0:8244
selectInput @ codemirror.js?ver=5.5.0:8203
copyObj.reset @ codemirror.js?ver=5.5.0:1340
onFocus @ codemirror.js?ver=5.5.0:4155
(anonymous function) @ codemirror.js?ver=5.5.0:8244
selectInput @ codemirror.js?ver=5.5.0:8203
copyObj.reset @ codemirror.js?ver=5.5.0:1340
onFocus @ codemirror.js?ver=5.5.0:4155
(anonymous function) @ codemirror.js?ver=5.5.0:8244
selectInput @ codemirror.js?ver=5.5.0:8203
copyObj.reset @ codemirror.js?ver=5.5.0:1340
onFocus @ codemirror.js?ver=5.5.0:4155
(anonymous function) @ codemirror.js?ver=5.5.0:8244
selectInput @ codemirror.js?ver=5.5.0:8203
copyObj.reset @ codemirror.js?ver=5.5.0:1340
endOperation_W2 @ codemirror.js?ver=5.5.0:3079
endOperations @ codemirror.js?ver=5.5.0:3016
endOperation @ codemirror.js?ver=5.5.0:3001
(anonymous function) @ codemirror.js?ver=5.5.0:3161
(anonymous function) @ codemirror.js?ver=5.5.0:7631
ShortCodeParser.replace_tag_content @ views_parametric.js?ver=2.0:3158
self.edit_the_field @ views_parametric.js?ver=2.0:670
self.insertShortCode @ views_parametric.js?ver=2.0:533
(anonymous function) @ views_parametric.js?ver=2.0:731
n.event.dispatch @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,suggest,jquery-ui-core,jquery-ui-widge…:3
r.handle @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,suggest,jquery-ui-core,jquery-ui-widge…:3
#387620

Hello,

I’m Adriano, Toolset support lead and I have been escalated to this thread. I’ll give my best to help you to achieve your needs through Toolset components.

I've managed to reproduce that issue here too. Indeed the filter elements are being added forever each time you delete / add them.

Our development team will take care of this, thank you for reporting that!

Please let me know if you are satisfied with my reply and any other questions you may have.

Regards,

Adriano Ferreira

#387719

Bob

Hi Adriano,
OK very good you can reproduce the issue.
A key point to note here is that the Views editor is logically incorrect at the moment.
The logical error is that it assumes a query filter must be matched by a parametric ([wpv-control ...]) filter.
This is not true since a use case can be to filter a dataset up front but not present anything in the user UI for changing the filtering.
I explained the split View case in detail to Beda in this support thread...
https://toolset.com/forums/topic/split-parametric-and-display-form-useage-issues/

The Views editor should not treat the case where there is a query filter but not a matching [wpv-control ...] in the HTML as an error (especially where it is a companion to a [wpv-form-view ...]).

So the Views editing GUI and backend as well as the backend query code will need to take account of the full View case but also the split form -> full view use case.
Views used to handle that use case before but got a bit off track a while back and really got off track recently.

I'll leave this incident open pending resolution.

Thanks,

Bob

#387732

Great, you said when you remove and add the same filter it creates a new index in the arrays:

[filter_controls_field_name] => Array
        (
            [0] => category
            [1] => category
        )

    [filter_controls_mode] => Array
        (
            [0] => slug
            [1] => slug
        )

    [filter_controls_label] => Array
        (
            [0] => Categories
            [1] => Categories
        )

I'll update you as soon as I hear something back.

#388325

Bob

Yes what you see is one problem with Views in the editing part.
There are more issues that were not fixed in 2.0 that need to be fixed.

I sent you an email on the topic of accelerating the process of getting the known problems documented and fixed.

The current forum based process is inefficient for dealing with issues.

#399155

I'm updating here to say it will be fixed in the next release within a few weeks. Please confirm the fix as soon as possible.

#399194

Bob

Thanks for the update on the CodeMirror etc. issues.
Can you provide an update (email is fine) on the other bugs listed?
Actually I fixed the attributes transfer (js->wp) bug temporarily so that I could continue development of my tabs/accordions WP plug-in for Views parametric form styling.
I'm assuming that bug will be fixed in the upcoming release...

#400126

Hi,
I have 2.1-beta of Views and Types installed and the same problem occurs. It's very annoying. Will it be fixed soon?

#428072

Hi,

This is an update that we've launched a new Toolset release.

Please, backup your website and update WordPress and all Toolset plugins to the latest version then test the issue.

I'm waiting for your feedback.

Thanks.

#437599

Bob

Hi Mohammed,
Since I havethe initial release of my JQuery based Views Tabs/Accordions plugin running and my revised website UI running using that, I've been focused on another project.
In the changes to the new tabs/accordion UI on my site I did not experience the stack overflow bug yet so it may be squashed 🙂

thanks,

Bob

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.