Skip to content

Implement UnDeserializableValue expert#171

Merged
JanZerebecki merged 1 commit intomasterfrom
undeserializable-expert
Jun 10, 2015
Merged

Implement UnDeserializableValue expert#171
JanZerebecki merged 1 commit intomasterfrom
undeserializable-expert

Conversation

@filbertkm
Copy link
Copy Markdown
Member

based on the UnsupportedValue expert, will display the error and allow a user to remove the value.

not super fancy. It would be nicer to display some details of the value or make more attempt to try to parse it or such again. but don't want to make things too "smart" at this point.

this works okay and provided improvement over the current handling.

Bug: T92975
Bug: T101231

@filbertkm
Copy link
Copy Markdown
Member Author

in wikibase, looks like https://phabricator.wikimedia.org/F167582

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder why this message is hardcoded? Is this a work in progress?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i18n messages get merged in and applied if mediawiki is available. i think this is just a default or something.

anyway, i have changed the code to reuse the existing formatted value (error message) which means we don't need the same message twice (once in wikibase, and once here which then never gets translated because this component is not in gerrit)

@thiemowmde thiemowmde added this to the 0.15.0 milestone Jun 3, 2015
@filbertkm filbertkm force-pushed the undeserializable-expert branch 3 times, most recently from bd653ff to 6de797b Compare June 3, 2015 17:35
Comment thread README.md Outdated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The addition of a feature can be done in a 0.0.x step, as long as the component is in the 0.x range.

@thiemowmde thiemowmde force-pushed the undeserializable-expert branch from 6de797b to 9f72fcc Compare June 8, 2015 13:25
@thiemowmde
Copy link
Copy Markdown
Contributor

@filbertkm I decreased the version to 0.14.4. I would merge if this is ok for you.

@thiemowmde thiemowmde modified the milestones: 0.14.4, 0.15.0 Jun 8, 2015
@Benestar
Copy link
Copy Markdown
Contributor

Benestar commented Jun 8, 2015

If you wanna make a 0.15 release anyways (#172) why not just put this also in that release?

@thiemowmde
Copy link
Copy Markdown
Contributor

Depends on what gets merged and released first. This way we simply have more options.

JanZerebecki added a commit that referenced this pull request Jun 10, 2015
Implement UnDeserializableValue expert
@JanZerebecki JanZerebecki merged commit 0804c12 into master Jun 10, 2015
@JanZerebecki JanZerebecki deleted the undeserializable-expert branch June 10, 2015 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

4 participants