With this module enabled all views disappear after every change to any view and appear only after clearing all caches.
This behavior disappers immediately after disabling Fieldgroup views.

Comments

solotandem’s picture

What steps are needed to reproduce this behavior? Can you start from a fresh install and reproduce this behavior?

What modules (including versions) are involved on the site you are experiencing this behavior with?

Can you dig into the code to find a cause for this behavior?

int_ua’s picture

$ drush pm-list --type=Module --status=enabled
Package Name Version
Chaos tool suite Chaos tools (ctools) 7.x-1.4
Core Block (block) 7.26
Core Contact (contact) 7.26
Core Content translation (translation) 7.26
Core Contextual links (contextual) 7.26
Core Field (field) 7.26
Core Field SQL storage (field_sql_storage) 7.26
Core Field UI (field_ui) 7.26
Core File (file) 7.26
Core Filter (filter) 7.26
Core Image (image) 7.26
Core List (list) 7.26
Core Locale (locale) 7.26
Core Menu (menu) 7.26
Core Node (node) 7.26
Core Number (number) 7.26
Core Options (options) 7.26
Core Path (path) 7.26
Core PHP filter (php) 7.26
Core RDF (rdf) 7.26
Core System (system) 7.26
Core Taxonomy (taxonomy) 7.26
Core Text (text) 7.26
Core Update manager (update) 7.26
Core User (user) 7.26
Date/Time Date (date) 7.x-2.7
Date/Time Date All Day (date_all_day) 7.x-2.7
Date/Time Date API (date_api) 7.x-2.7
Date/Time Date Popup (date_popup) 7.x-2.7
Date/Time Date Views (date_views) 7.x-2.7
Field Image Desaturate Formatter 7.x-2.0-rc1+2-
(image_desaturate_formatter) dev
Fields Fieldgroup (field_group) 7.x-1.3
Fields Link (link) 7.x-1.2
Fields Title (title) 7.x-1.0-alpha7
Fields Views Field (views_field) 7.x-1.2
Fusion Accelerator Apply skins (fusion_apply) 7.x-2.0-beta1
Fusion Accelerator Apply skins UI (fusion_apply_ui) 7.x-2.0-beta1
Fusion Accelerator Fusion grid tools (fusion_accelerator) 7.x-2.0-beta1
Fusion Accelerator Fusion labels (fusion_labels) 7.x-2.0-beta1
Fusion Accelerator Responsive layouts for IE 6-8 (fusion_responsive_ie) 7.x-2.0-beta1
Image PNG Behave (pngbehave) 7.x-1.9
Media IMCE (imce) 7.x-1.8
Multilingual - Entity Translation Entity Translation (entity_translation) 7.x-1.0-beta3
Multilingual - Entity Translation Entity Translation Menu 7.x-1.0-beta3
(entity_translation_i18n_menu)
Multilingual - Entity Translation Entity Translation Upgrade 7.x-1.0-beta3
(entity_translation_upgrade)
Multilingual - Internationalization Block languages (i18n_block) 7.x-1.10
Multilingual - Internationalization Contact translation (i18n_contact) 7.x-1.10
Multilingual - Internationalization Field translation (i18n_field) 7.x-1.10
Multilingual - Internationalization Internationalization (i18n) 7.x-1.10
Multilingual - Internationalization Language icons (languageicons) 7.x-1.0
Multilingual - Internationalization Menu translation (i18n_menu) 7.x-1.10
Multilingual - Internationalization Multilingual content (i18n_node) 7.x-1.10
Multilingual - Internationalization Multilingual select (i18n_select) 7.x-1.10
Multilingual - Internationalization Path translation (i18n_path) 7.x-1.10
Multilingual - Internationalization String translation (i18n_string) 7.x-1.10
Multilingual - Internationalization Synchronize translations (i18n_sync) 7.x-1.10
Multilingual - Internationalization Taxonomy translation (i18n_taxonomy) 7.x-1.10
Multilingual - Internationalization Translation redirect (i18n_redirect) 7.x-1.10
Multilingual - Internationalization Translation sets (i18n_translation) 7.x-1.10
Multilingual - Internationalization Variable translation (i18n_variable) 7.x-1.10
Multilingual - Internationalization Views translation (i18nviews) 7.x-3.x-dev
Other Backup and Migrate (backup_migrate) 7.x-2.8
Other Entity API (entity) 7.x-1.3
Other Entity tokens (entity_token) 7.x-1.3
Other Libraries (libraries) 7.x-2.2
Other Location Map (locationmap) 7.x-2.2
Other Menu Block (menu_block) 7.x-2.3
Other Nice Menus (nice_menus) 7.x-2.5
Other Site map (site_map) 7.x-1.2
Other Token (token) 7.x-1.5
Other Transliteration (transliteration) 7.x-3.1
Taxonomy menu Taxonomy menu (taxonomy_menu) 7.x-2.0-alpha2
User interface IMCE Wysiwyg API bridge (imce_wysiwyg) 7.x-1.0
User interface jQuery Update (jquery_update) 7.x-2.3
User interface Lightbox2 (lightbox2) 7.x-1.0-beta1
User interface Wysiwyg (wysiwyg) 7.x-2.2
Variable Variable (variable) 7.x-2.4
Variable Variable admin (variable_admin) 7.x-2.4
Variable Variable realm (variable_realm) 7.x-2.4
Variable Variable store (variable_store) 7.x-2.4
Views Views (views) 7.x-3.7
Views Views Slideshow (views_slideshow) 7.x-3.1
Views Views Slideshow: Cycle (views_slideshow_cycle) 7.x-3.1
Views Views UI (views_ui) 7.x-3.7
Webform Webform (webform) 7.x-3.20
Webform Webform Localization (webform_localization) 7.x-1.x-dev

and three patches:
https://drupal.org/node/1665308 #88
https://drupal.org/node/1319380
https://drupal.org/node/1853550

bmateus’s picture

Thanks for this!
I was bashing my head for some time on why my page's path didn't work, although they worked on the preview, and this was it. It is indeed the FieldGroups view plugin.

int_ua’s picture

bmateus, I was searching days for a cause, I'm glad it helped you too. Can you please add all enabled modules?

Scott Robertson’s picture

Something within the field_group_views_groups_iterate() function appears to be the cause of this issue. When a view is saved, views_invalidate_cache() is called, which invokes this module's implementation of hook_flush_cache(), which in turn calls field_group_views_groups_iterate().

I unfortunately haven't had the opportunity to look into it any further than that yet, but I'm able to to prevent the issue from happening if I comment out all of the code in field_group_views_groups_iterate().

solotandem’s picture

Just to clarify, when you write the views "disappear" you are referring to them not displaying as a page or as a block, etc., not that they are no longer shown in the list of views?

In trying to reproduce the problem, am using latest dev releases of this module and Views Field (its dependency), and latest tagged releases of core, Views and other modules. I do not see any of the views "disappearing" with this configuration.

Can someone shed some light on the configuration of the field_group_views on a field_group? And the views_field configuration of the fields included in the field group?

Can anyone reproduce this on a bare site (i.e. using a minimal set of modules)? And provide some details?

dienekes’s picture

Hi! In my case the problem was with "Backup and Migrate". I disable it and all work just fine. Sorry for my crappy english.