Skip to content

avoid calling CssStyleFormatter.mergeStyleAttributes if parentStyle o…#832

Merged
hypest merged 1 commit intodevelopfrom
issue/831-css-underline-illegal-state
Oct 16, 2019
Merged

avoid calling CssStyleFormatter.mergeStyleAttributes if parentStyle o…#832
hypest merged 1 commit intodevelopfrom
issue/831-css-underline-illegal-state

Conversation

@mzorz
Copy link
Copy Markdown
Contributor

@mzorz mzorz commented Jul 26, 2019

Fix #831

Just added a null check that prevents a crash from happening. The formatting will not be added if such a condition is met, but that's far better than crashing.

Make sure strings will be translated:

  • If there are new strings that have to be translated, I have added them to the client's strings.xml as a part of the integration PR.

@sentry
Copy link
Copy Markdown

sentry bot commented Feb 6, 2020

Sentry issue: WORDPRESS-ANDROID-8KW

@mzorz mzorz mentioned this pull request Aug 25, 2020
1 task
@maxme maxme deleted the issue/831-css-underline-illegal-state branch August 27, 2020 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Crash: IllegalStateException: parentStyle must not be null

2 participants