?
avatar quannv
quannv
19 Sep 2016

Steps to reproduce the issue

I created the CRUD functions for my component but I got this message "Warning Field required: Title" even the title field is filled already.

I debug then go to the line 1933 of libraries\joomla\form\form.php

Replace

if ($required)
		{
			// If the field is required and the value is empty return an error message.
			if (($value === '') || ($value === null))
			{

by


if ($required && !value){{

Then it works.

Expected result

Actual result

System information (as much as possible)

Joomla 3.6.2
PHP 5.6

Additional comments

I think need to update the form.php

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
3.00

avatar quannv quannv - open - 19 Sep 2016
avatar franz-wohlkoenig franz-wohlkoenig - change - 5 Apr 2017
Title
Warning Field required: Title
Warning Field required: Title
Status New Information Required
avatar joomla-cms-bot joomla-cms-bot - edited - 5 Apr 2017
avatar joomla-cms-bot joomla-cms-bot - edited - 5 Apr 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 5 Apr 2017

@quannv can you confirm this Issue on latest Staging?


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/12072.

avatar franz-wohlkoenig franz-wohlkoenig - change - 27 May 2017
Status Information Required Closed - No Reply
Closed_Date 0000-00-00 00:00:00 2017-05-27 10:28:16
Closed_By franz-wohlkoenig
avatar joomla-cms-bot joomla-cms-bot - change - 27 May 2017
Status Closed - No Reply Closed
Closed_By franz-wohlkoenig joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 27 May 2017
avatar joomla-cms-bot
joomla-cms-bot - comment - 27 May 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 27 May 2017

This has been closed due to lack of response to the requests above – it can always be reopened in the future if it is updated.

avatar BoldNewMedia
BoldNewMedia - comment - 30 May 2017

This issue remains in 3.7.2. I can confirm the fix outlined by @quannv resolved the problem for me.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/12072.

avatar dxxx
dxxx - comment - 9 Aug 2017

i have this issue in 3.7.4 will test and let you know if this works

Add a Comment

Login with GitHub to post a comment