pbShowAllRefindErrors - cWebApp

When set true all views will show an unhandled error when a refind record fails - used mainly for testing and debugging

Type: Property

Access: Read/Write

Data Type: Boolean

Parameters: None

 Property Boolean pbShowAllRefindErrors

Read Access: Get pbShowAllRefindErrors to BooleanVariable
Write Access: Set pbShowAllRefindErrors to BooleanVariable/Value


pbShowAllRefindErrors determines if refind record error should be reported.

When set to True, all views will show an unhandled error when a refind record fails (usually some kind of FindByRowIdEx call). Normally this is False, because refinds can fail in a multi-user environment and the framework will handle this as best it can. However, refind errors can also be caused by a programming error. If you set this True during debugging, you will be notified of all refind errors allowing you to determine if this is a programming bug. This can work well because the multi-user can't refind error usually does not occur while debugging.

This exists primarily for debugging purposes. When the error is raised, you see the error stack in the debugger and you can debug the problem. If you set this True while testing, remember to set it back to False when deploying.

This is called by OnRefindRecordError, which contains more details about refind record error handling.