SparkDevNetwork / Rock.Mobile-Issues

3 stars 2 forks source link

[Issue]: Onboard Person block accepts characters which cause rock Person Profile page to throw an exception #33

Open stanalyst opened 5 months ago

stanalyst commented 5 months ago

Describe the Issue in Detail

If a user has a custom keyboard installed on their mobile device which allows for special fonts (like double-struck, script, etc) - and uses one of these fonts when they enter their FirstName and/or LastName in the Onboard Person block when creating their profile. The resulting profile can NOT be opened in the person profile page - and throws an exception.

Can reproduce in

Steps to Reproduce

1 - install a Keyboard Font app on your mobile device - and select a custom font. 2 - try to create a new profile in the Rock mobile app 3 - be sure to use a custom font when entering the first and/or last name 4 - try and view the new profile on the Person Profile page in rock. 5 - observe exception

Expected Behavior

The Onboard Person block should NOT accept any characters or content which cause exceptions in other pages/block/etc of Rock.

Actual Behavior

If a user enters their first or last name with a custom font when creating their profile via the mobile app - viewing that profile in Rock will cause an exception.

Screenshots or Videos

CustomFontExample

Reproduction XAML

No response

Mobile Shell Version

1.5.0.23

Last Known Working Version

No response

iOS Device Type(s) and iOS Version(s)

iPhone 13 Pro - 17.4.1

Android Device Type(s) and Android Version(s)

unconfirmed