Page MenuHomePhabricator

Some upload checks not triggered with AJAX framework enabled
Closed, ResolvedPublic

Description

(based on trunk r25439)

When the AJAX framework is enabled some upload checks are not triggered:

SpecialUpload::getExistsWarning:

  • if( $file->exists() ) works well
  • elseif ( $file_lc && $file_lc->exists() ) not triggered
  • elseif ( ( substr( $partname , 3, 3 ) == 'px-' .... not triggered
  • if ( $file->wasDeleted() ) not triggered

No issue with $wgUseAjax = false.


Version: 1.11.x
Severity: normal

Details

Reference
bz11166

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:48 PM
bzimport set Reference to bz11166.
bzimport added a subscriber: Unknown Object (MLST).

Fixed with r25481 by Brion. Thanks a lot :-)