? Success

User tests: Successful: Unsuccessful:

avatar andrepereiradasilva
andrepereiradasilva
22 Feb 2016

Summary of Changes

This PR solves a regression where when you activate the update plugin you receive e-mail with updates for non joomla core extensions.
The change this PR does is to remove a line added before, and with that solving the problem.

Testing Instructions

  1. Use latest staging.
  2. Configure joomla to send mails.
  3. Install some extension with updates (i used com_localize 4.0.13-dev). https://github.com/joomla-projects/com_localise/releases/download/4.0.13-dev/com_localise-4.0.13-dev.zip
  4. Enable update notification system plugin.
  5. Logout your admin session.
  6. Refresh the page several times in the admin login view.
  7. You should receive a mail there is a joomla update when there isn't. If not you can force it on next refresh by changing this line (https://github.com/joomla/joomla-cms/blob/staging/plugins/system/updatenotification/updatenotification.php#L49) with $last = 0;
  8. Apply patch.
  9. Logout and repeat the same process. Check you don't receive e-mails update e-mails now.

@infograf768 This is similar with the one you have before. Can you test?

avatar andrepereiradasilva andrepereiradasilva - open - 22 Feb 2016
avatar andrepereiradasilva andrepereiradasilva - change - 22 Feb 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 22 Feb 2016
Labels Added: ?
avatar infograf768
infograf768 - comment - 23 Feb 2016

@andrepereiradasilva
Could you contact me on skype : infograf768

avatar infograf768 infograf768 - test_item - 23 Feb 2016 - Tested successfully
avatar infograf768
infograf768 - comment - 23 Feb 2016

I have tested this item :white_check_mark: successfully on cc41c8a

I could reproduce and this solves it. Quite important. @wilsonge


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

avatar brianteeman brianteeman - test_item - 23 Feb 2016 - Tested successfully
avatar brianteeman
brianteeman - comment - 23 Feb 2016

I have tested this item :white_check_mark: successfully on cc41c8a


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

avatar brianteeman brianteeman - change - 23 Feb 2016
Status Pending Ready to Commit
avatar brianteeman
brianteeman - comment - 23 Feb 2016

RTC


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

avatar joomla-cms-bot joomla-cms-bot - change - 23 Feb 2016
Labels Added: ?
avatar wilsonge wilsonge - change - 23 Feb 2016
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2016-02-23 11:30:32
Closed_By wilsonge
avatar wilsonge wilsonge - close - 23 Feb 2016
avatar joomla-cms-bot joomla-cms-bot - close - 23 Feb 2016
avatar wilsonge wilsonge - reference | 7f88eba - 23 Feb 16
avatar wilsonge wilsonge - merge - 23 Feb 2016
avatar wilsonge wilsonge - close - 23 Feb 2016
avatar wilsonge wilsonge - change - 23 Feb 2016
Milestone Added:
avatar joomla-cms-bot joomla-cms-bot - change - 23 Feb 2016
Labels Removed: ?
avatar wilsonge
wilsonge - comment - 23 Feb 2016

@nikosdion can you just confirm this please (just in case)

avatar nikosdion
nikosdion - comment - 23 Feb 2016

By removing that line you make it impossible for the update model to only check for updates for a specific extension. I am not sure where / if this is used in our code but I'm pretty sure this feature wasn't added for no reason. Therefore I'm afraid that you are introducing a b/c break.

avatar wilsonge
wilsonge - comment - 23 Feb 2016

OK So can we find a fix to stop the extra emails being sent?

avatar andrepereiradasilva
andrepereiradasilva - comment - 23 Feb 2016

@nikosdion it was me that introduced that line by mistake. This PR is to correct my mistake.

See 04b7c34#diff-01cb6f2ebe1b2785f9f16c26b545cd18R66

avatar nikosdion
nikosdion - comment - 23 Feb 2016

Ah, fair enough.

avatar andrepereiradasilva andrepereiradasilva - head_ref_deleted - 23 Feb 2016

Add a Comment

Login with GitHub to post a comment