Comments

dww’s picture

Assigned: Unassigned » dww
Status: Active » Needs review
StatusFileSize
new49.98 KB
new48.22 KB
new5.73 KB

This has the nice side effect of fixing a UX WTF with the "Configure block" link embedded with no visual distinction inside the system help block at the top of the page (see the upper right hand corner of 605918-1.update_archiver.before.png).

JacobSingh’s picture

Status: Needs review » Reviewed & tested by the community
JacobSingh’s picture

Status: Reviewed & tested by the community » Needs work

Wait, I take it back... this is fubar.

Will post something in a minute.

JacobSingh’s picture

StatusFileSize
new5.27 KB

Okay, this should do the trick.

There is one tiny kludge in there, because we're waiting on: http://drupal.org/node/604618#comment-2179010.
But if it goes in like this, no big deal either.

It's documented in the code, basically, drupal_realpath() needs to be called to ensure a local file path. If we apply the referenced patch, it does it there, this patch does it before calling the other one.

JacobSingh’s picture

Status: Needs work » Needs review
dww’s picture

Status: Needs review » Needs work

#604618-21: Create a common interface for Archive operations so we can handle .zip, .tar.gz. was committed to HEAD, so this needs a re-roll to remove the (now duplicate) drupal_realpath() call.

Oh, and thanks for the archiver_get_archiver() call in the updated patch... somehow I didn't notice that when #604618: Create a common interface for Archive operations so we can handle .zip, .tar.gz. was committed. ;)

Anyway, I'll re-roll this now, stay tuned.

dww’s picture

Status: Needs work » Needs review
StatusFileSize
new5.51 KB
JacobSingh’s picture

Status: Needs review » Reviewed & tested by the community

Looks good!

dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to CVS HEAD. Thanks!

dww’s picture

For those following along closely at home, http://drupal.org/cvs?commit=279220 only contains the hunk for update.module from here. The bulk of the changes for this issue are in update.manager.inc, and those were committed along with #606180: Add better validation and errors when installing new code via update manager via http://drupal.org/cvs?commit=279222. So, CVS annotate is going to be confusing and weird, but at least all the code is in core so nothing's actually broken.

Status: Fixed » Closed (fixed)
Issue tags: -Update manager

Automatically closed -- issue fixed for 2 weeks with no activity.