Template causes error messages on device

[CR #422046] When you assign a template to an application, without selecting the device type first, the application does not display, even if the device type matches the template. In addition, attempts to fix the problem by selecting the device type and then re-assigning the template fail.

Workaround: When creating the application, first select the device type “Portal,” and assign the default template for the Portal device type. Next, verify that the application displays properly, and save the application. Then re-assign the template by selecting the device type first and assigning the template.