Last modified: 2013-01-09 01:38:21 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T45656, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 43656 - SQL error on submitting blank fields in Special:UploadCampaign
SQL error on submitting blank fields in Special:UploadCampaign
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
UploadWizard (Other open bugs)
master
All All
: Unprioritized normal (vote)
: ---
Assigned To: Jeroen De Dauw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-05 10:49 UTC by Nischay Nahata
Modified: 2013-01-09 01:38 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Nischay Nahata 2013-01-05 10:49:47 UTC
I think there should be some error handling before submitting changes to the DB.

Just clicking on submit on a blank form shows
    (SQL query hidden)

from within function "ORMRow::insert". Database returned error "1062: Duplicate entry '' for key 'uw_campaigns_name' (localhost)"


entry '' should not be allowed.
Comment 1 Jeroen De Dauw 2013-01-07 19:04:09 UTC
https://gerrit.wikimedia.org/r/#/c/42589/

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links