Question
PKUtech Co., Ltd
JP
Last activity: 15 Feb 2024 21:15 EST
An unexpected screen popping up on iPhone
Hi all,
After upgrading pega to 23.1.1, an unexpected screen is popping up after clicking case ID.
In windows machine, we do not face the same issue. This occurs only at iPhone and iPad...
May I know how to resolve the issue?
Please see an attachment for the detail. Hope somebody help me...
-
Reply
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Updated: 15 Feb 2024 21:15 EST
Pegasystems Inc.
GB
Without seeing your particular scenario, what might be happening is that you have a property which may be defined on a fieldvalue control which is NOT auto-generated. This custom control generates a select element with options.
As per dirty check logic, any one of the below conditions should match.
- Any one of the option should be marked as defaultSelected. i.e - optionElement.defaultSelected becomes to TRUE at runtime
- First option should be selected by default. In this control's markup generation(for the first time, where no value is selected) neither of these conditions are matching. i.e - <option selected value="">Everything</option>
If your application code in UserWorkForm has a script which has an impact on the native date&time controls for offline-enabled mobile UI which are not prefilled you will see this issue.
That is why the previous user suggested that you add refresh section code in the user work form after setting the property values.
Please check how the product works as per our documentation:
Dirty Dialog - Troubleshooting
Ability to navigate to harness instead of dirty Unsaved Changes check happening
Without seeing your particular scenario, what might be happening is that you have a property which may be defined on a fieldvalue control which is NOT auto-generated. This custom control generates a select element with options.
As per dirty check logic, any one of the below conditions should match.
- Any one of the option should be marked as defaultSelected. i.e - optionElement.defaultSelected becomes to TRUE at runtime
- First option should be selected by default. In this control's markup generation(for the first time, where no value is selected) neither of these conditions are matching. i.e - <option selected value="">Everything</option>
If your application code in UserWorkForm has a script which has an impact on the native date&time controls for offline-enabled mobile UI which are not prefilled you will see this issue.
That is why the previous user suggested that you add refresh section code in the user work form after setting the property values.
Please check how the product works as per our documentation:
Dirty Dialog - Troubleshooting
Ability to navigate to harness instead of dirty Unsaved Changes check happening
Dirty check for rich text fields
Browser dirty check now native dirty check after upgrade
Dirty popup appears while clicking on any button without making any changes in the case screen
Updated: 7 Feb 2024 10:36 EST
PKUtech Co., Ltd
JP
Hi all,
After upgrading to 23.1.1, a confirmation dialog popped up has not fit to a size of mobile screen. Does anyone know how to fix it?
Updated: 7 Feb 2024 10:36 EST
Evonsys
IN
Hi @YukiS888 ,
Could you please share us some screenshots of the same. Also are you testing the app in a real mobile device ?
Updated: 7 Feb 2024 10:36 EST
Evonsys
IN
@YukiS888 this is the Dirty Pop up. Are there any unsaved changes before you click on the Case link ?
PKUtech Co., Ltd
JP
@TusharBanerjee Thank you for your reply. No unsaved changes. Even though I save cases, the screen is popping up every time.
Updated: 7 Feb 2024 10:36 EST
Evoke Technologies
US
@YukiS888 As Tushar said, try to clear the DirtyState, run a script on click of the link "pega.u.d.clearDirtyState"
Pegasystems Inc.
US
Hi @YukiS888
Since your two questions were similar, I've merged them together so you can get the best help on one Question post.
Accepted Solution
Updated: 15 Feb 2024 21:15 EST
Pegasystems Inc.
GB
Without seeing your particular scenario, what might be happening is that you have a property which may be defined on a fieldvalue control which is NOT auto-generated. This custom control generates a select element with options.
As per dirty check logic, any one of the below conditions should match.
- Any one of the option should be marked as defaultSelected. i.e - optionElement.defaultSelected becomes to TRUE at runtime
- First option should be selected by default. In this control's markup generation(for the first time, where no value is selected) neither of these conditions are matching. i.e - <option selected value="">Everything</option>
If your application code in UserWorkForm has a script which has an impact on the native date&time controls for offline-enabled mobile UI which are not prefilled you will see this issue.
That is why the previous user suggested that you add refresh section code in the user work form after setting the property values.
Please check how the product works as per our documentation:
Dirty Dialog - Troubleshooting
Ability to navigate to harness instead of dirty Unsaved Changes check happening
Without seeing your particular scenario, what might be happening is that you have a property which may be defined on a fieldvalue control which is NOT auto-generated. This custom control generates a select element with options.
As per dirty check logic, any one of the below conditions should match.
- Any one of the option should be marked as defaultSelected. i.e - optionElement.defaultSelected becomes to TRUE at runtime
- First option should be selected by default. In this control's markup generation(for the first time, where no value is selected) neither of these conditions are matching. i.e - <option selected value="">Everything</option>
If your application code in UserWorkForm has a script which has an impact on the native date&time controls for offline-enabled mobile UI which are not prefilled you will see this issue.
That is why the previous user suggested that you add refresh section code in the user work form after setting the property values.
Please check how the product works as per our documentation:
Dirty Dialog - Troubleshooting
Ability to navigate to harness instead of dirty Unsaved Changes check happening
Dirty check for rich text fields
Browser dirty check now native dirty check after upgrade
Dirty popup appears while clicking on any button without making any changes in the case screen
PKUtech Co., Ltd
JP
@MarijeSchillern and All,
Thank you for your help! resolved!