? Success
Pull Request for # 10700

User tests: Successful: Unsuccessful:

avatar alikon
alikon
1 Jun 2016

Pull Request for Issue #10700 .

Summary of Changes

protected the com_ajax

Testing Instructions

see #10700

avatar alikon alikon - open - 1 Jun 2016
avatar alikon alikon - change - 1 Jun 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 1 Jun 2016
Labels Added: ?
avatar zero-24
zero-24 - comment - 1 Jun 2016

Do we not need the update sql too?

avatar zero-24 zero-24 - change - 1 Jun 2016
Category MS SQL Postgresql SQL
avatar zero-24 zero-24 - change - 1 Jun 2016
Rel_Number 0 10700
Relation Type Pull Request for
avatar alikon
alikon - comment - 1 Jun 2016

yes of course, i'm adding .... @zero-24 you know i'm lazy/slow ;)

avatar zero-24
zero-24 - comment - 1 Jun 2016

Ahh sorry i had just saw the first two commits and was wondering ;)

avatar brianteeman brianteeman - test_item - 1 Jun 2016 - Tested successfully
avatar brianteeman
brianteeman - comment - 1 Jun 2016

I have tested this item successfully on 55fb230


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

avatar brianteeman brianteeman - change - 1 Jun 2016
Category MS SQL Postgresql SQL Installation MS SQL Postgresql SQL
avatar andrepereiradasilva andrepereiradasilva - test_item - 1 Jun 2016 - Tested successfully
avatar andrepereiradasilva
andrepereiradasilva - comment - 1 Jun 2016

I have tested this item successfully on 55fb230

on code review


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

avatar andrepereiradasilva andrepereiradasilva - test_item - 1 Jun 2016 - Not tested
avatar andrepereiradasilva
andrepereiradasilva - comment - 1 Jun 2016

I have not tested this item.

on code review


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

avatar andrepereiradasilva
andrepereiradasilva - comment - 1 Jun 2016

just remind me, shouldn't it be enabled also?

what happens if a user have a disabled com_ajax and them Joomla protectes it on update?

Can he enable it after?

avatar brianteeman
brianteeman - comment - 1 Jun 2016

yes - they are not related. Setting an extension to enabled or disabled is
not connected to it being protected. Protected only applies to uninstall

On 1 June 2016 at 10:16, andrepereiradasilva notifications@github.com
wrote:

just remind me, shouldn't it be enabled also?

what happens if a user have a disabled com_ajax and them you protected it?

Can he enable it after?


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#10701 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ABPH8Vxc0dgWBUnaxMSr2DtwrXQIXw0Kks5qHU3ugaJpZM4IrL8z
.

Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
http://brian.teeman.net/

avatar andrepereiradasilva
andrepereiradasilva - comment - 1 Jun 2016

yes i know.
but let's see this usual scenario (i have similiar in a lot of sites).

i have com_ajax disabled in 3.5.1 install. Now i update to 3.6.0. the com_ajax is now protected.

I get something like this in the extension manager (but for com_ajax of course):
image

Since it was disabled before the update, it still is, but now protected.

So, how do i enable it?

What i mean is: is this scenario don't we end up in a situation that we are protecting a disabled extension?

avatar brianteeman
brianteeman - comment - 1 Jun 2016

Ah I see what you mean now. The only option would be directly in the
database AND you have no way of knowing it is disabled

In this case all we have to do is to fix the update statement to make it
enabled AND protected. Setting it to protected without making it enabled
defeats the objective of this PR.

On 1 June 2016 at 11:34, andrepereiradasilva notifications@github.com
wrote:

yes i know.
but let's see thsi usual scenario (i have similiar in a lot of sites).

i have com_ajax disabled. Now i update to 3.6.0 the extension is protected.

I get osmething like this in the extension manager:
[image: image]
https://cloud.githubusercontent.com/assets/9630530/15706640/8e76cf0c-27ec-11e6-859b-cdc9e646d4c1.png

Sicne it was disabled before the update, it still is, but now protected.

So, how do i enable it?


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#10701 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ABPH8dk-6wONO_f3yqa4kYMz9H5-aOnAks5qHWAogaJpZM4IrL8z
.

Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
http://brian.teeman.net/

avatar andrepereiradasilva
andrepereiradasilva - comment - 1 Jun 2016

exactly, thanks

avatar alikon
alikon - comment - 1 Jun 2016

I'll fix the update scripts to set enabled & protected
Thanks for reporting this scenario

avatar joomla-cms-bot
joomla-cms-bot - comment - 2 Jun 2016

This PR has received new commits.

CC: @andrepereiradasilva, @brianteeman


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

avatar joomla-cms-bot
joomla-cms-bot - comment - 2 Jun 2016

This PR has received new commits.

CC: @andrepereiradasilva, @brianteeman


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

avatar joomla-cms-bot
joomla-cms-bot - comment - 2 Jun 2016

This PR has received new commits.

CC: @andrepereiradasilva, @brianteeman


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

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

I have tested this item successfully on 2e01d57

code review


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

avatar brianteeman brianteeman - test_item - 2 Jun 2016 - Tested successfully
avatar brianteeman
brianteeman - comment - 2 Jun 2016

I have tested this item successfully on 2e01d57


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

avatar brianteeman brianteeman - change - 2 Jun 2016
Status Pending Ready to Commit
avatar brianteeman
brianteeman - comment - 2 Jun 2016

RTC


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

avatar joomla-cms-bot joomla-cms-bot - change - 2 Jun 2016
Labels Added: ?
avatar brianteeman brianteeman - change - 2 Jun 2016
Milestone Added:
avatar roland-d roland-d - change - 4 Jun 2016
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2016-06-04 10:12:58
Closed_By roland-d
avatar roland-d roland-d - close - 4 Jun 2016
avatar roland-d roland-d - merge - 4 Jun 2016
avatar joomla-cms-bot joomla-cms-bot - close - 4 Jun 2016
avatar roland-d roland-d - reference | 138f766 - 4 Jun 16
avatar roland-d roland-d - merge - 4 Jun 2016
avatar roland-d roland-d - close - 4 Jun 2016
avatar joomla-cms-bot joomla-cms-bot - change - 4 Jun 2016
Labels Removed: ?
avatar roland-d
roland-d - comment - 4 Jun 2016

Thanks everybody

Add a Comment

Login with GitHub to post a comment