Page MenuHomePhabricator

"Invalid type" error should be clearer
Closed, DeclinedPublic

Description

Example:

Wrong type for property: step 1

It should say something like:

Wrong type for property 'step': "1" (expected: integer)


Version: unspecified
Severity: normal

Details

Reference
bz49913

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:44 AM
bzimport set Reference to bz49913.
bzimport added a subscriber: Unknown Object (MLST).

It does need improvement, but "1" is still not a type. How about:

Wrong type for property 'step': Actual type was 'string'; expected type is 'integer'. Value of property was "1".

[moving from MediaWiki extensions to Analytics product - see bug 61946]