? Pending
Pull Request for # 5619

User tests: Successful: Unsuccessful:

avatar jackkum
jackkum
20 Apr 2016

Pull Request for Issue #5619 .

Summary of Changes

  • Added handler for the number field validation
  • Minified uncompressed file

Testing Instructions

  1. Go to the Joomla administration
  2. Then: System => Global Configuration => System (Tab) => Session Settings
  3. Try input in the field 'Session Lifetime' zero or negative value

You should see error (red border around and title on mouseover)

This PR add handler as global, only for session lifetime (com_config) here: #9997

avatar jackkum jackkum - open - 20 Apr 2016
avatar jackkum jackkum - change - 20 Apr 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 20 Apr 2016
Labels Added: ?
avatar brianteeman brianteeman - change - 20 Apr 2016
Category Fields JavaScript
avatar brianteeman brianteeman - change - 20 Apr 2016
Rel_Number 0 5619
Relation Type Pull Request for
avatar piotr-cz
piotr-cz - comment - 20 Apr 2016

Could you use 4 spaces as described here?

This file is really botched in terms of indentation
tabsspacesboth

avatar jackkum
jackkum - comment - 20 Apr 2016

@piotr-cz :laughing:
Fix all?

avatar piotr-cz
piotr-cz - comment - 20 Apr 2016

I'd love to, but probably not in this PR, because it would break git diffs (all lines would show as changed).

Looks like 2x tabs or eventually 8x space would fit current CS here (ATM there is space + tab + space + tab :smile: ).

avatar Fedik
Fedik - comment - 20 Apr 2016

Hm, why it names "number" validation? I see only some "range" validation.
It will return true for the string that not a number.

avatar jackkum
jackkum - comment - 21 Apr 2016

Need a PR for add class="validate-range" in a file administrator/components/com_config/model/form/application.xml for the field lifetime.

avatar brianteeman
brianteeman - comment - 8 May 2016

@jackkum Sorry I dont understand your last comment


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

avatar brianteeman brianteeman - change - 8 May 2016
Status Pending Information Required
avatar jackkum
jackkum - comment - 8 May 2016

@brianteeman
By @Fedik advice i renamed number to range and validation on client side for the field lifetime will not be applied, so need a PR for this.

Sorry for my English.

avatar brianteeman brianteeman - change - 28 Jun 2016
Status Information Required Pending
avatar rahultomar
rahultomar - comment - 12 Jul 2016

Can you please mention the Both scenario before patch and after patch, as i tested and it seems working same in both cases


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

avatar RonakParmar
RonakParmar - comment - 15 Nov 2016

I have tested this PR in Joomla! 3.6.4, before patch and after patch the session field is working same in bath scenarios.


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

avatar jeckodevelopment
jeckodevelopment - comment - 17 Nov 2016

@jackkum can you please fix the conflicts?
media/system/js/validate.js

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 6 Jan 2017

I have tested this item successfully on d2a18fb

Before and after Patch works in same Way.


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

avatar franz-wohlkoenig franz-wohlkoenig - test_item - 6 Jan 2017 - Tested successfully
avatar RonakParmar
RonakParmar - comment - 9 Jan 2017

@jackkum Can you please fix conflict in media/system/js/validate.js file?

avatar brianteeman
brianteeman - comment - 21 May 2017

@jackkum it has been six months since the first request to resolve the merge conflicts. Also as several people have reported that they cannot see any difference after applying the PR I am going to close this at this time. It can always be reopened if you resolve the conflicts and address the comments about no change after this PR

avatar brianteeman brianteeman - change - 21 May 2017
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2017-05-21 17:37:04
Closed_By brianteeman
avatar brianteeman brianteeman - close - 21 May 2017

Add a Comment

Login with GitHub to post a comment