Previewed nodes don't have an id

CommentFileSizeAuthor
#2 cannot_preview_when-2884826-2.patch754 bytesDerimagia

Comments

Derimagia created an issue. See original summary.

Derimagia’s picture

StatusFileSize
new754 bytes
lolandese’s picture

With Drupal Version 8.3.3 and PHP Version 5.5 preview seems to work fine without errors, both with new as existing nodes. Preview URLs look like node/preview/9ca66c55-0cd9-4cc8-9073-29eb1f9e52b5/full.

Can you provide the steps to reproduce the issue on a clean sandbox at https://simplytest.me/project/tablefield/8.x-2.x ?

Derimagia’s picture

Sure. Once you install tablefield:

1) Add a tablefield to "Article".
2) Enable 'Allow users to export table data as CSV' (Sorry this was probably the important part I didn't explain)
3) make sure tablefield is on the display for article, it should be. It probably should have a setting to enable/disable export link here but that's unrelated.
4) Create a new article, fill in data for the first row and click "Preview"
5) Observe error

  • lolandese committed 3e7f5f7 on 8.x-2.x authored by Derimagia
    Issue #2884826 by Derimagia: Cannot preview when tablefields are...
lolandese’s picture

Status: Needs review » Fixed

Awesome. Thanks.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.