Log message #3881240

# At Username Text
# May 27th 2016, 06:47 aro its partially working now, but its only saving one of the relations
# May 27th 2016, 06:46 voycey its eager loaded in a loop
# May 27th 2016, 06:46 voycey it should be fine then
# May 27th 2016, 06:46 aro ti is
# May 27th 2016, 06:46 voycey and its an entity?
# May 27th 2016, 06:45 aro yeah
# May 27th 2016, 06:44 voycey is $image set?
# May 27th 2016, 06:44 voycey $image->id should be interpolated without curly brackets
# May 27th 2016, 06:42 LckyBy517 stupid webstockets stuff kicked my butt
# May 27th 2016, 06:42 aro or can i use the image id?
# May 27th 2016, 06:42 LckyBy517 grrr, well i guess this is where i call it a night
# May 27th 2016, 06:42 aro in media_library.0.title
# May 27th 2016, 06:42 aro for the $image->id value
# May 27th 2016, 06:42 aro or do i need to use a loop from 0
# May 27th 2016, 06:42 aro is that right?
# May 27th 2016, 06:42 aro <?= $this->Form->input("media_library.{$image->id}.title", ['placeholder' => 'Image Title', 'class' => 'form-control']); ?>
# May 27th 2016, 06:41 aro gah
# May 27th 2016, 06:41 aro its not prepopulating my form either
# May 27th 2016, 06:41 aro no
# May 27th 2016, 06:37 voycey Is that not it?
# May 27th 2016, 06:37 aro i know what oyu meant
# May 27th 2016, 06:37 aro ya
# May 27th 2016, 06:37 voycey ];
# May 27th 2016, 06:37 voycey 'id' => false,
# May 27th 2016, 06:37 voycey '*' => true,
# May 27th 2016, 06:37 voycey protected $_accessible = [
# May 27th 2016, 06:36 voycey accessible i mena
# May 27th 2016, 06:36 aro no its set to visible
# May 27th 2016, 06:36 voycey in the entity
# May 27th 2016, 06:36 aro i need to merge these with those
# May 27th 2016, 06:36 voycey aro you probably have the id set to not visible
# May 27th 2016, 06:36 aro i have records in the database
# May 27th 2016, 06:35 unorthodox And since you aren't pr
# May 27th 2016, 06:35 unorthodox Then what's the problem disabling validation for filename on the fly. That doesn't change your plan or anything.
# May 27th 2016, 06:35 aro yes
# May 27th 2016, 06:34 unorthodox When you say merge, you mean update corresponding fields?
# May 27th 2016, 06:32 aro not create new records
# May 27th 2016, 06:32 aro i need to merge the records with the correspondign ones in the db
# May 27th 2016, 06:32 aro thats not going to do it
# May 27th 2016, 06:32 unorthodox You could disable validation on the fly for filename.
# May 27th 2016, 06:31 aro i am updating records