Closed (fixed)
Project:
Search and Replace Scanner
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
20 Sep 2012 at 08:31 UTC
Updated:
7 May 2016 at 04:56 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
brettbirschbach commentedI went ahead and implemented a solve for this. In my tests it appears to be working for non-nested field collections. It does not handle the case of field collections within other field collections.
Attaching patch.
**NOTE** This line numbers in this patch may be dependent upon the patch in http://drupal.org/node/1789136 being applied first.
Comment #2
brettbirschbach commentedComment #3
brettbirschbach commentedComment #4
zany commented+1 on this! Thanks Brett! This works nicely for me. I'm only using the search part though.
Comment #5
brettbirschbach commentedCheck https://drupal.org/node/1788182 for a new version of scanner that @ericras is working on, which has pulled in many patches including this one. I have also uploaded a patch to that thread, based on ericras's new version, to support searching fields within nested field collections.
Comment #6
Rodeo.be commentedI still run into this issue - I can select select the fields to be searched under admin/content/scanner/settings
Problem, I cannot select some of the "Fields that can be searched". If I select all the field options, and hit save, none of the fields are saved (page: body , article:title ... are saved but I'm not looking for them)
Comment #7
brettbirschbach commentedHave you tried ericras's dev version? https://github.com/ericras/scanner
Comment #8
Rodeo.be commentedNope, still does not work, see attachment
Comment #9
brettbirschbach commentedIm sorry if I'm just not following, but can you explain again the problem you are having? The screen shot shows checkboxes for fields to search, with one box unchecked. Is that your field collection field? Are you unable to check the box, or does it simply not stay checked when you save?
Comment #10
Rodeo.be commentedI can select the option for the field collection, but when I hit save the selection is not saved.
Comment #11
brettbirschbach commentedHrmm...not quite sure how to go about fixing this, as I am unable to repro it. I am currently using the version of scanner referenced in #7 and it is working for fields in field collections, as well as fields in nested field collections.
Are you able to repro this on a clean drupal install, such that I could rebuild an environment to repro the issue in?
Also, as a random stab in the dark, do you have language enabled at the field level? All my tests have been with language-neutral fields (using language at the node level).
Comment #12
Rodeo.be commentedHey HIW, thanks for the support. I reinstalled Drupal on another server, and I don't get the problem anymore. Language is not enabled.
Comment #13
brettbirschbach commentedNot sure what to do about this one if I cannot repro, so if you can come up with a way to repro it reliably that can be passed along to me, I'll take a look.
Comment #15
fizk commentedEric's GitHub fork has been merged into 7.x-1.x
Comment #17
brettbirschbach commented