Closed (fixed)
Project:
Field collection
Version:
7.x-1.0-beta7
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Apr 2014 at 14:16 UTC
Updated:
17 Apr 2014 at 08:30 UTC
Jump to comment: Most recent
Comments
Comment #1
jmuzz commentedI think it is the "Field Access permissions." You are using the contrib field permissions module for this, correct? Unfortunately it doesn't yet work for field collections. Please reopen if these issues don't cover the problem you have in mind.
#1838976: field permissions do not work with field collection
#1954124: Fields part of field collection are ownerless
Comment #2
nhck commentedWhilst these issues are similar, I am not sure if they really cover the problem - or if they do and I am just misreading than the problem is much worse.
Whilst it is stated in both that the permissions are not enforced it should be possible for Anonymous to randomly get user provided data from the server should it?
Comment #3
jmuzz commentedYou're right it seems strange that the data would appear preloaded in a field collection when a user adds another field collection. I can't say for sure but I no longer think it is related to the problems with the field permissions module.
Do you by any chance have "Cache pages for anonymous users" turned on in /admin/config/development/performance ?
Comment #4
nhck commentedYes, this option is used, but the form cache is build using unique form-ids. I wonder if this could be retrieved in case the form_id is not correct (just because field_collection_remove_js() fiddles with it)?
Comment #5
jmuzz commentedI haven't looked closely at it yet, but I think what you saw might be related to this. #2242751: Ajax form page callback require updates for Drupal 7.27
Comment #6
nhck commentedSince the whole problem happens during adding new fields this is probably true. This commit fixes it I think:
http://drupalcode.org/project/drupal.git/blobdiff/dc791ec5839b52c7616bf6...
So upgrading to drupal 7.27 should be encouraged especially for this module.