Closed (fixed)
Project:
Paragraphs
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
14 Mar 2018 at 15:51 UTC
Updated:
14 Oct 2018 at 22:49 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
miro_dietikerWe have great code coverage and use the module in complex setups and didn't hit this problem until now.
Please provide a description of the minimum configuration to reproduce the issue. Otherwise we can't look into the problem.
Comment #3
pasqualleI have created a widget which displays multi-value paragraphs as columns (without tabledrag). The base of the widget is:
attached full code of the widget
Comment #4
pasqualleComment #6
toncic commentedWould be nice if we can write test for this.
Comment #7
edutrul commentedApart from table undefined index, also in dblog there's another issue which is undefined #cardinality

I think for both cases should be added defensive programming
see:
this would be like this:
Shortly I am posting a patch
Comment #8
edutrul commentedI attach patch https://www.drupal.org/files/issues/2018-08-19/paragraphs-fix-undefined-... which adds defensive programming and fixes above issues from #7
Comment #9
edutrul commentedMy mistake - I am re-uploading patch since the previous one was empty.
https://www.drupal.org/files/issues/2018-08-19/paragraphs-fix-undefined-...
Comment #10
maximpodorov commentedSo both #4 and #9 patches should be applied, right? If so, it's better to combine them into one.
Comment #11
miro_dietikerI think this was fixed recently in some other issue.
Comment #14
miro_dietikerFor now needs info, will switch to duplicate without reply.
Comment #15
juampynr commentedConfirmed: these warnings are gone using 8.x-1.x
Comment #16
miro_dietiker