Page MenuHomePhabricator

Not possible to set mComment with Upload:initial hook
Closed, ResolvedPublic

Description

Author: carsten

Description:
diff of modified SpecialUpload.php

When trying to set the default file description (mComment) at the Upload:initial hook wComment is ignored.

Had to modify SpecialUpload.php a bit to get it to work again. Diff attached.


Version: 1.16.x
Severity: minor

Attached:

Details

Reference
bz26160

Event Timeline

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

carsten wrote:

This works for me :)

Bryan.TongMinh wrote:

WORKSFORME means "can't reproduce problem", not "attached patch works for me".

I will check the patch when I get home.

Bryan.TongMinh wrote:

Thanks for the report! The patch did not apply cleanly to trunk, but I applied a modified patch in r77508 and will tag it for backporting.