? Failure

User tests: Successful: Unsuccessful:

avatar izharaazmi
izharaazmi
25 Apr 2016

Summary of Changes

The new implementation of JFormFieldSQL that supports Joomla query builder format should not generate any query if the parameters are not sufficient in the field element. However it builds a blank query SELECT FROM anyway that causes error.

Testing Instructions

Load a form with following field definition (note the missing query attribute):

<field
    name="sql_test"
    type="sql"
>
    <option value="none">None</option>
</field>

Without this patch there is a mysql error.
After patch there is a list with single option taken from xml definition only.

avatar izharaazmi izharaazmi - open - 25 Apr 2016
avatar izharaazmi izharaazmi - change - 25 Apr 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 25 Apr 2016
Labels Added: ?
avatar izharaazmi
izharaazmi - comment - 25 Apr 2016

There is a single test case defined for this class. Where and how should I add another failing test case? Please advise.

avatar brianteeman brianteeman - change - 25 Apr 2016
Category Fields Libraries
avatar izharaazmi
izharaazmi - comment - 2 Nov 2016

Can we have some test here please.

avatar andrepereiradasilva andrepereiradasilva - test_item - 2 Nov 2016 - Tested successfully
avatar andrepereiradasilva
andrepereiradasilva - comment - 2 Nov 2016

I have tested this item successfully on 83ad277

Followed test instructions and works as described.


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

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 28 May 2017

@izharaazmi shouldn't this PR be updatet cause Installation shows 3.6-Design?

avatar franz-wohlkoenig franz-wohlkoenig - change - 28 May 2017
The description was changed
Status Pending Information Required
avatar joomla-cms-bot joomla-cms-bot - edited - 28 May 2017
avatar izharaazmi
izharaazmi - comment - 28 May 2017

Pardon me. I didn't get you.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 28 May 2017

sorry, i would ask: Can i test this PR on these Settings:

System information

3.7.3-dev (latest nightly build)
Multilanguage Site
macOS Sierra, 10.12.5
Firefox 53 (64-bit)

MAMP 4.1.1

  • PHP 7.0.15
  • MySQLi 5.6.35
avatar coolcat-creations
coolcat-creations - comment - 3 Jun 2017

I have tested this item ? unsuccessfully on 83ad277

Tested unsuccessfully on latest staging.

avatar coolcat-creations coolcat-creations - test_item - 3 Jun 2017 - Tested unsuccessfully
avatar coolcat-creations
coolcat-creations - comment - 3 Jun 2017

I have tested this item successfully on 83ad277

Sorry i tested wrong...
test successful.

It breaks in Custom Fields when you build a query "SELECT FROM" - but i guess it´s another issue


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

avatar coolcat-creations coolcat-creations - test_item - 3 Jun 2017 - Tested successfully
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 3 Jun 2017

@coolcat-creations can you please open an Issue about "breaks custom Fields"?

avatar franz-wohlkoenig franz-wohlkoenig - change - 3 Jun 2017
Status Information Required Ready to Commit
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 3 Jun 2017

RTC after two successful tests.

avatar rdeutz
rdeutz - comment - 8 Jun 2017

@izharaazmi can you have a look at the conflicts, thanks

avatar rdeutz rdeutz - change - 21 Jun 2017
Milestone Added:
avatar rdeutz rdeutz - change - 21 Jun 2017
Milestone Added:
avatar rdeutz rdeutz - change - 11 Jul 2017
Milestone Added:
avatar rdeutz rdeutz - change - 11 Jul 2017
Milestone Removed:
avatar izharaazmi
izharaazmi - comment - 31 Jul 2017

@mbabker I just noticed the 'conflicting-files' label here and now the conflict is resolved. Please check whether we need tests again before merge?

avatar zero-24
zero-24 - comment - 31 Jul 2017

I have just removed the label

avatar mbabker mbabker - change - 4 Aug 2017
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-08-04 12:19:29
Closed_By mbabker
Labels Removed: Conflicting Files
avatar mbabker mbabker - close - 4 Aug 2017
avatar mbabker mbabker - merge - 4 Aug 2017

Add a Comment

Login with GitHub to post a comment