The flag selection in the use ajax part of views is not exported when using standard view export or using features. Is it possible to add?

Comments

bjalford’s picture

Version: 6.x-1.0-beta3 » 7.x-1.x-dev
Eugene Fidelin’s picture

This bug is still exists. Seems module must be fully rewritten to be like views plugin.

Eugene Fidelin’s picture

Status: Active » Needs review
StatusFileSize
new8.15 KB

I have fixed this bug.

I re-implement settings of this module as plugin for Views - in this case all settings are exported in standard way.
Also this patch contains new functionality described here http://drupal.org/node/1693130

papagrande’s picture

Status: Needs review » Needs work

I tried the patch and while it functions, I get Invalid argument supplied for foreach() base.inc:83 when editing or viewing a View as well as when I clear caches.

Also, I'm not seeing the Flag selection being exported with view. When I run a diff on the feature with the exported view, it shows no changes being present.

Eugene Fidelin’s picture

Can you provide full text of error message. I need to know exact filepath

papagrande’s picture

@Eugene Fidelin, I can't recreate the error right now as I've backed out the patch, but I'm pretty sure the path was sites/all/modules/contrib/views/includes/base.inc.

rupl’s picture

Status: Needs work » Needs review
StatusFileSize
new7.14 KB

Patch in #3 was rolled against a packaged release, I'm presuming beta1 based on the diff.

Here is a re-roll of the patch against latest dev with the following improvements:

  • Stripped of whitespace
  • I've also removed the noScroll stuff since that is not part of this issue.
  • Small docs improvements

I developed this on a View which already had the old form settings toggled, so I can confirm that there is no update hook necessary for current users.

The only remaining task is to make sure that views_flag_refresh is declared as a dependency in the Feature's .info file.

Eugene Fidelin’s picture

Version: 7.x-1.x-dev » 7.x-1.1
Assigned: Unassigned » Eugene Fidelin
Status: Needs review » Fixed

Implemented

Eugene Fidelin’s picture

Status: Fixed » Closed (fixed)