? ? Pending

User tests: Successful: Unsuccessful:

avatar Bakual
Bakual
8 Feb 2017

Pull Request for Issue #13962.

This is only a partial solution for the issue raised.

Summary of Changes

This PR catches the exception which may be thrown by JFactory::getDate when the value isn't a proper date. If catched, it will show a generic message "Invalid Field: Fieldname".

This is just to prevent a big error page. Ideally we would have a formfield rule which will stop the saving process and show the fautly field. This PR doesn't do that, it just makes sure the filtering doesn't generate a big errror when it fails.

Testing Instructions

Edit an article and enter into a calendar filed (eg "Created Date") a date with wrong value. Eg use "1.5.1975" which will trigger the error.

Expected result

Should show a warning that the date is wrong but keep the page functional.
warning

Actual result

Will show a big error
error

Documentation Changes Required

None

avatar Bakual Bakual - open - 8 Feb 2017
avatar Bakual Bakual - change - 8 Feb 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 8 Feb 2017
Category Libraries
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 8 Feb 2017

I have tested this item successfully on fe4b654


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

avatar franz-wohlkoenig franz-wohlkoenig - test_item - 8 Feb 2017 - Tested successfully
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 8 Feb 2017

@tuts-22 can you please mark your test at Issue Tracker?

avatar tuts-22
tuts-22 - comment - 8 Feb 2017

I have tested the request for issue #13962 and it works perfectly fine!!


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

avatar tuts-22
tuts-22 - comment - 8 Feb 2017

@franz-wohlkoenig Is that fine now?..I am new to testing so sorry for the mistake!!

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 8 Feb 2017

at issue tracker please click blue "test this" button, mark radio-button "Tested successfully" and below "submit test result".

avatar tuts-22
tuts-22 - comment - 8 Feb 2017

Done sir!!! Is that fine?

On 08-Feb-2017 11:36 PM, "Franz Wohlkönig" notifications@github.com wrote:

at issue tracker please click blue "test this" button, mark radio-button
"Tested successfully" and below "submit test result".


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#13974 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AU_cDcShPQNtrh3vLZzZD5rXx9KaJmTZks5ragQ6gaJpZM4L7Cyy
.

avatar tuts-22
tuts-22 - comment - 8 Feb 2017

I have tested this item successfully on fe4b654


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

avatar tuts-22 tuts-22 - test_item - 8 Feb 2017 - Tested successfully
avatar jeckodevelopment jeckodevelopment - change - 11 Feb 2017
Status Pending Ready to Commit
avatar jeckodevelopment
jeckodevelopment - comment - 11 Feb 2017

RTC


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

avatar rdeutz rdeutz - change - 12 Feb 2017
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-02-12 15:50:23
Closed_By rdeutz
Labels Added: ? ?
avatar rdeutz rdeutz - close - 12 Feb 2017
avatar rdeutz rdeutz - merge - 12 Feb 2017

Add a Comment

Login with GitHub to post a comment