Joomla-cms: [4.0] Cannot save Articles created on the frontend. Error: Save failed with the following error: Field 'language' doesn't have a default value

Created on 2 Jan 2018  路  8Comments  路  Source: joomla/joomla-cms

Steps to reproduce the issue

  1. Install J4 with Blog Sample Data
  2. Add a Menu Item Type: Create Article to the Main Menu Blog Menu with Access of Registered.
  3. Select Blog as the Category in the Options Tab for that Menu Item.
  4. Go to the frontend and login (as any UG. I did it as a Super User.)
  5. Click the new Menu Item you just created and add a Title and a bit of text if desired.
  6. Save it.

Expected result

That the article would save.

Actual result

Error: Save failed with the following error: Field 'language' doesn't have a default value and the article will not save.

Funny thing is that no where in the Create Article tabs is there a language field to select a language from.

System information (as much as possible)

PHP 7.0.17
MySQLi 5.6.37
Caching Disabled
Gzip Disabled
Users 1
Articles 6

The site is hosted at Rochen.

Additional comments

Can anyone else duplicate this? I saw an issue with this same error reported at https://github.com/joomla/joomla-cms/issues/17132 if that helps at all.

No Code Attached Yet

All 8 comments

Issue confirmed.
bildschirmfoto 2018-01-02 um 20 37 54

System information

4.0-dev
Sample Data
macOS Sierra, 10.12.6
Firefox 57 (64-bit)

MAMP 4.2

Sounds like my problem - I will take a look at this soon

Thanks @franz-wohlkoenig and @brianteeman

The problem is that the frontend edit form doesnt use the global edit layout - grrr

Ah, bummer. The good thing is that you knew to even look at that. I only knew there was a problem. I had no idea how to sort it. Thank you so much for looking. Let me know if there's something I'm equipped to help with and I will.

@bayareajenn test Pull Requests are welcome ;:

@franz-wohlkoenig I'll totally test more of them once I'm through testing com_workflows and some TM website audits for the JUGs. I love testing!

Closed see #19302

Was this page helpful?
0 / 5 - 0 ratings

Related issues

brianteeman picture brianteeman  路  5Comments

Shazrina1994 picture Shazrina1994  路  4Comments

MartijnMaandag picture MartijnMaandag  路  6Comments

brianteeman picture brianteeman  路  6Comments

chmst picture chmst  路  5Comments