? Success

User tests: Successful: Unsuccessful:

avatar GABBAR1947
GABBAR1947
1 Mar 2016

Pull Request for Issue #9169 .

avatar GABBAR1947 GABBAR1947 - open - 1 Mar 2016
avatar GABBAR1947 GABBAR1947 - change - 1 Mar 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 1 Mar 2016
Labels Added: ?
avatar brianteeman
brianteeman - comment - 1 Mar 2016

Please provide testing instructions
On 1 Mar 2016 6:56 pm, "Shubham Rathore" notifications@github.com wrote:

Pull Request for Issue #9169

#9169 .

You can view, comment on, or merge this pull request online at:

#9271
Commit Summary

File Changes

Patch Links:


Reply to this email directly or view it on GitHub
#9271.

avatar softwareschreiber
softwareschreiber - comment - 1 Mar 2016

Cool, later I will be a famous Joomla tester and may be one of the developer....

avatar photodude
photodude - comment - 1 Mar 2016

@GABBAR1947 Can you address the Code style issues that failed in your PR?

FILE: /libraries/cms/html/html.php
--------------------------------------------------------------------------------
FOUND 5 ERROR(S) AFFECTING 2 LINE(S)
--------------------------------------------------------------------------------
 982 | ERROR | Tabs must be used to indent lines; spaces are not allowed
 982 | ERROR | No space found after comma in function call
 983 | ERROR | Tabs must be used to indent lines; spaces are not allowed
 983 | ERROR | No space found after comma in function call
 983 | ERROR | No space found after comma in function call

And Testing instructions would definitely be helpful.

avatar softwareschreiber
softwareschreiber - comment - 1 Mar 2016

Create a form with a calendar field in a database table. Input a date lower than 1.1.1970, save it and reopen it in the same form. If you see the date, all is ok.

avatar Bakual
Bakual - comment - 1 Mar 2016

The main issue comes from the fact that we use strftime which uses a different formatstrings for the date format than date does. Simply removing the % unfortunately doesn't the trick. It only works for a subset of the possible options.
See http://php.net/manual/en/function.strftime.php and http://php.net/manual/en/function.date.php

Also the input value currently can in theory be any date which is recognised by PHP. Eg also the format used in Germany (31.01.2016), not only the english one (2016-01-31).

avatar wilsonge
wilsonge - comment - 1 Mar 2016

So at the moment you can specify a calendar with a text representation of the date i.e. %B %Y which will render like January 2016. That would completely fail apart with this change :(

There's no way this can be merged in it's present form :/

avatar wilsonge
wilsonge - comment - 1 Mar 2016

P.S. Tabs instead of spaces is your issue I think with the code style :)

avatar GABBAR1947
GABBAR1947 - comment - 2 Mar 2016

So , the tests finally passed !

avatar Bakual
Bakual - comment - 2 Mar 2016

There's no way this can be merged in it's present form

I'm going to close this as in the current form it's not going to be merged (not backward compatible).
If you find another way to solve the issue, feel free to do a new PR or request to reopen this one.

avatar Bakual Bakual - change - 2 Mar 2016
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2016-03-02 07:11:50
Closed_By Bakual
avatar Bakual Bakual - close - 2 Mar 2016
avatar Bakual Bakual - close - 2 Mar 2016

Add a Comment

Login with GitHub to post a comment