[check for JS error during] Error on empty title

More
10 years 7 months ago #45594 by jrodgar
I have the following error in case of empty title when saving an article. It´s something from flexicontent or joomla?
Code:
Error while validating data: exception 'RuntimeException' with message 'Field required: Title' in /servers/joomla/libraries/joomla/form/form.php:1918 Stack trace: #0 /servers/joomla/libraries/joomla/form/form.php(1160): JForm->validateField(Object(SimpleXMLElement), '', NULL, Object(JRegistry)) #1 /servers/joomla/libraries/legacy/model/form.php(296): JForm->validate(Array, NULL) #2 /servers/joomla/administrator/components/com_flexicontent/controllers/items.php(102): JModelForm->validate(Object(JForm), Array) #3 /servers/joomla/libraries/legacy/controller/legacy.php(722): FlexicontentControllerItems->save() #4 /servers/joomla/administrator/components/com_flexicontent/admin.flexicontent.php(201): JControllerLegacy->execute('apply') #5 /servers/joomla/administrator/components/com_flexicontent/flexicontent.php(22): require_once('/servers/intrac...') #6 /servers/joomla/libraries/cms/component/helper.php(351): require_once('/servers/intrac...') #7 /servers/joomla/libraries/cms/component/helper.php(331): JComponentHelper::executeComponent('/servers/intrac...') #8 /servers/joomla/libraries/cms/application/administrator.php(98): JComponentHelper::renderComponent('com_flexiconten...') #9 /servers/joomla/libraries/cms/application/administrator.php(143): JApplicationAdministrator->dispatch() #10 /servers/joomla/libraries/cms/application/cms.php(255): JApplicationAdministrator->doExecute() #11 /servers/joomla/administrator/index.php(42): JApplicationCms->execute() #12 {main}Please click here to return previous page

Unless otherwise indicated:
Joomla 3.8.1
Flexicontent 3.2.1.7

Please Log in or Create an account to join the conversation.

More
10 years 7 months ago #45597 by micker
joomla doesn't want an empty title ...

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
10 years 7 months ago #45600 by jrodgar
I know :P But in other cases it doesn´t allow you to save and show a "required" mark next to the field, not a error on a blank page.

Unless otherwise indicated:
Joomla 3.8.1
Flexicontent 3.2.1.7

Please Log in or Create an account to join the conversation.

More
10 years 7 months ago #45605 by ggppdk
Hello

a JS error occurs that breaks validation and thus form is submitted,


please open the console in firefox or chrome, and carefully watch it the seconds immediately after clicking submit,

a JS error should appear for 1-3 seconds, what is it?

e.g. jQuery may not have been loaded properly
or you have a custom field with broken javascript
or you have form template override which has JS error
or other


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
10 years 7 months ago #45614 by jrodgar
When opened the new item view, a warning:
Code:
event.returnValue is deprecated. Please use the standard event.preventDefault() instead.

I try to submit because with a empty category, it doesn´t allow me to

I get this error:
Code:
Uncaught ReferenceError: isPatternMismatched is not defined html5fallback.js:1

But I think this is not the issue because it usually don´t appear.

And then, the error I told you

Unless otherwise indicated:
Joomla 3.8.1
Flexicontent 3.2.1.7

Please Log in or Create an account to join the conversation.

More
10 years 7 months ago #45639 by ggppdk
Hello

it must be some plugin that you have installed and that is active in backend too, please send a PM with super admin login to check if this is a FLEXIContent issue or if something can be done to improve/fix this


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.340 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline