craftcms / craftcms/cms

Help! Uploading Asset and Saving Entry Returns Page Not Found and Entry is Lost

Open
#4,976 12 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
3.6k
Forks
705
Avg merge
1d 5h
Merged PRs (30d)
134

Description

Description

My client recently noticed that when an asset is uploaded during the creation of an entry, and when the entry is saved a Page Not Found Error appears. Also the entry is completely lost. I've been able to confirm this, it happens every time.

Obviously this is extremely frustrating for my client, and it seems to be system wide (not limited to one section or content type).

Additional info
  • Craft version: 3.3.4.1
  • PHP version: 7.2.19
  • Database driver & version: MySQL 5.7.27

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue on Craft 3.3.4.1 with PHP 7.2.19 and MySQL 5.7.27: create an entry, upload an asset, and save it. Trace the entry and asset save flow after the Page Not Found response. Done means the entry saves successfully and is not lost when an asset is uploaded during creation.

Written by the indexing model from the issue text.

Assessment

Tech stack
mysql, php
Domain
backend, database
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.