? Success

User tests: Successful: Unsuccessful:

avatar mbabker
mbabker
18 Feb 2015

When updating libraries, the internal route never gets set to the update route so the installer always treats a library as a new install (which I guess is true in some ways since we actually uninstall the library completely then install it fresh). This changes the route to log it as an update when appropriate. This really only affects handling for extension install scripts and schema management.

avatar mbabker mbabker - open - 18 Feb 2015
avatar joomla-cms-bot joomla-cms-bot - change - 18 Feb 2015
Labels Added: ?
avatar zero-24 zero-24 - change - 18 Feb 2015
Category Libraries
avatar wilsonge
wilsonge - comment - 19 Feb 2015

Is this a b/c thing as a result of the previous changes or a change in behaviour?

avatar mbabker
mbabker - comment - 19 Feb 2015

It's just never happened. Libraries have no internal handling of updates (heck, they just get uninstalled and installed as a new extension). At least this gives developers who are working with install scripts a chance to catch that it's an update that's happening.

avatar mahagr
mahagr - comment - 19 Feb 2015

Tested changes and they fix two issues for me:

  • I am able to detect in my overridden JInstallerAdapterLibrary if it was install or update
  • Library doesn't uninstall every second time as it did before this patch
avatar kat05
kat05 - comment - 19 Feb 2015

Tested Installation of several extensions and templates and can confirm that the patch resolves issues for me too.

avatar zero-24 zero-24 - change - 19 Feb 2015
Milestone Added:
Status Pending Ready to Commit
avatar zero-24 zero-24 - alter_testresult - 19 Feb 2015 - mahagr: Tested successfully
avatar zero-24 zero-24 - alter_testresult - 19 Feb 2015 - kat05: Tested successfully
avatar zero-24
zero-24 - comment - 19 Feb 2015

Based on testing i will move this to RTC. And add it to the 3.4.0 milestone (on JTracker maybe someone with github access can sync?)


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6120.
avatar mbabker
mbabker - comment - 19 Feb 2015

@wilsonge This one should be merged as library extensions aren't properly updated in the current form.

avatar FrugalGeek
FrugalGeek - comment - 19 Feb 2015

Patch resolves issues, consistently.
before patch applied - no library (3x tested)
after - library (3x tested)
reverted - no library (3x tested)

avatar wilsonge wilsonge - change - 19 Feb 2015
Milestone Added:
avatar wilsonge wilsonge - change - 19 Feb 2015
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2015-02-19 15:59:17
avatar wilsonge wilsonge - close - 19 Feb 2015
avatar wilsonge wilsonge - reference | - 19 Feb 15
avatar wilsonge wilsonge - merge - 19 Feb 2015
avatar wilsonge wilsonge - close - 19 Feb 2015
avatar mahagr
mahagr - comment - 19 Feb 2015

Thanks!

avatar mbabker mbabker - head_ref_deleted - 8 May 2015

Add a Comment

Login with GitHub to post a comment