Version: 3.4.1 Reporter: wehttam —
This is an archived bug report. If you are experiencing a similar issue, upgrade to the latest release and if that does not solve the problem, submit a new bug report
Picking an existing image on file field within a grid causes all rows added since loading the page to update.
If it helps, I have a screen capture of a test install: https://mattrandl.es/ee341bug.mp4
To recreate, set up a channel using a field group containing a grid that only has one file field per row.
When trying to add a few rows to an item using existing images, upon clicking an image, all rows added since loading the edit page get updated to the same image.
When creating a new item, uploading file after file is working as expected.
This took some time to recreate because adding a single row and file to an entry works fine… it’s only when trying to add multiple rows of existing images that it’s failing.
Also, the following PHP errors are shown in the files window when no files are in the directory:
Notice
Undefined variable: files
ee/EllisLab/Addons/filepicker/views/ModalView.php, line 21
Warning
Invalid argument supplied for foreach()
ee/EllisLab/Addons/filepicker/views/ModalView.php, line 21
Currently working around this by saving the entry after adding each row to the grid.
ExpressionEngine implements Markdown Extra and BBCode. Please see the Markdown Extra docs and the BBCode Wikipedia article for a full reference.
**bold**
, __bold__
, *italics*
, _italics_
, ~strike/del~
, `code()`
bold, italics, strike/del, code()
Link: [link title](https://example.com)
Image: ![alt text](https://example.com/image.jpg)
[blockquote]...[/blockquote]
, [quote]...[/quote]
, and Markdown style:
> Some quoted text. > > This is all one quote.
[code]...[/code]
, and you can also specify the language for syntax highlighting, [code=php]...[/code]
GitHub flavored Markdown code fences are also supported:
``` public function decoderRing($str) { return str_rot13($str); } ```