Known Issues for Sybase Unwired WorkSpace – Hybrid App Package Development

Learn about known issues and apply workarounds for Sybase Unwired WorkSpace and Hybrid App development.

Issue #Description
SMPONP-12410
Keyboard position issue on iOS 7 devices and simulators.

The Hybrid App screen does not display well if the soft keyboard was opened and the screen orientation was changed, on iOS7 devices and simulators.

Workaround: Close the soft keyboard before changing screen orientation.

RTC-333
Updating null values to non-null not supported on Windows Mobile

Null values are not supported for the Windows Mobile platform. For example, the Allows null property in Designer has no effect on a Hybrid Apps running on Windows Mobile devices.

Workaround: None.

RTC-260
setKeyValueNull() fails in create operations

The setKeyValueNull function does not work in create operations.

Workaround: Modify the contents of the if (data == null) block of the setKeyValueNull function in the generated API.js so that references to htmlElement are replaced by htmlElements[0]. Specifically, replace the line
var typeAttrib = getAttribute(htmlElement, "sup_html_type");
with
var typeAttrib = getAttribute(htmlElements[0], "sup_html_type");
the line
data.setKey(htmlElement.id);
with
data.setKey(htmlElements[0].id);
and the line
values.add(htmlElement.id, data);
with
values.add(htmlElements[0].id, data); 
RTC-252
Screen keyboard not shown in Hybrid App

On some HTC versions running Android 2.3, selecting editable text in some Hybrid Apps does not display the keyboard.

Workaround: None.

CR-707123
Cannot upload large image files using the File Manager application on some Android devices.
Although image previews and uploads continue to work), you may see this message after selecting an image in a Hybrid App:
File type is not supported! 
Workaround: Use a different gallery application by resetting the default:
  1. Open the Settings application.
  2. Click Applications > Manage applications.
  3. Click All.
  4. Select the current default gallery application.
  5. For the Launch by default setting, click Clear defaults.
CR-700357
Comma added for int types when number is more than 1000.

On iOS 5.0, with the Safari mobile browser, in fields with the int type, when you enter a number larger than 1000, a comma is inserted. This is expected behavior with the Safari mobile browser.

Workaround: Set the logical-type to text instead of numeric.

CR-699341
BlackBerry 7 form labels do not use specified theme.

On BlackBerry 7 devices, in a form that uses labels on the left, if the first field is editable, the second label does not initially use the theme set in the form.

Workaround: Type in the field to change the label to the appropriate theme.

CR-698779
DatePicker control does not reopen in BlackBerry 7+.

In a BlackBerry 7 or later device, if you invoke the DatePicker control in a Hybrid App by clicking in a date field, click Cancel in the DatePicker, and then click again in the same field, the DatePicker control does not reopen.

Workaround: After clicking Cancel in the DatePicker, click in another field that is not of type DATETIME or TIME. You can then click in the original date field to open the DatePicker.

CR-694665
AsyncRequestErrorLogs key not generated in a migrated project.

If you migrated a Hybrid App project that previously contained a submit Hybrid App action, setting its error screen property does not generate the AsyncRequestErrorLogs list key.

Workaround: Create a new Submit Hybrid App action, or click the Generate Error Screen button.

CR-690460
On BlackBerry devices, in most cases, the module name is the same as the module display name, but if the module name ! = module display name, the device cannot receive asynchronous error messages.

Workaround: None.

CR-690438
A workflow does not initiate an operation.

This might happen if the workflow is not constructed correctly.

On a Listview details screen, you cannot invoke a submit workflow to invoke an MBO operation that uses child keys of the list key that is bound to that listview. To prevent developers from performing an illegal operation, the keys are removed from the list. However, you can see those keys before making the workflow type operation a Listview details screen because it is not illegal in that circumstance; it is only illegal once you make it a Listview details screen. If you use those keys when it is not a Listview details screen and then make it a Listview details screen, the workflow operation fails without any indication of the problem.

Workaround:

Client-initiated workflow: verify that no online request operations (such as findall) precede the submit workflow type operation. If there are such operations, remove them.

Server-initiated workflow: verify that no links (between the start point and the first screen saved) precede the submit workflow operation. If there are such links, remove them.

CR-684635
Choice controls with a large number of rows do not behave as expected on some platforms.

Workaround: For best performance, keep the number of rows in choice controls under 200.

CR-682741
"Validate controls as soon as the user tries to change focus away from them" option in Hybrid App Package generation wizard is not supported on Windows Mobile.

Workaround: None.

CR-681918
When you click the Hybrid App icon on iOS devices, you see the message Sybase Mobile Workflow please go to the settings application and enter your configuration....

This happens if you attempt to open a version 2.0 workflow on the iOS device and connect to version 2.1 of Unwired Server.

Workaround: In Sybase Control Center, use the HWC template to create an application connection and leave the application identifier empty.

CR-678440
On BlackBerry devices, you receive an error when running an HTTPS GET method from the Hybrid App.

Workaround: Refer to the BlackBerry Knowledge Base article at http://btsc.webapps.blackberry.com/btsc/search.do?cmd=displayKC&docType=kc&externalId=KB20833&sliceId=1&docTypeID=DT_SUPPORTISSUE_1_1&dialogID=1652002964&stateId=0%200%201652004660.

CR-677684
Locale properties file is not updated if screens, controls, menu items and so on are removed.

During Hybrid App package generation, you see a warning that validation keys are missing from the <locale>.properties file if the number of screens, controls, menu items, have changed, for example, if you deleted a menu item. Resource strings associated with screens, controls, and menu items do not correctly update the sequence.

Workaround: Either do not remove screens, controls, menu items and so on after localizing, or manually correct the localization .properties file after making the changes.

CR-675904
Object queries in the Online cache group are case-sensitive.
If the enterprise information system (EIS) to which an object query is associated with has case-sensitive parameters, the client must pass matching parameters or no data is returned. For example, if the Customer MBO is in an Online cache group, has a load parameter "state" that is propagated to the attribute "state," and a findByParameter object query defined as:
SELECT x.* FROM Customer x WHERE x.state = :state 
No data is returned to the client if they enter state=Ca, since the database parameter is case-sensitive (requiring "CA"). This is not an issue for object queries in other types of cache groups.

Workaround: None.

CR-674149
Exception received with large amounts of data.
When the amount of data is too large to download to the Hybrid App client device, you may get an exception similar to:
"iAnywhere.MobileOffice.AMP.ResponseRetryException" on device, and following error in WorkflowClient.log: 

20110616T110249.554|4|My:1 -- ExecuteRequest- > Out 
20110616T110249.694|1|iAnywhere.MobileOffice.AMP.ResponseRetryException: Exception of type 
'iAnywhere.MobileOffice.AMP.ResponseRetryException' was thrown. 
20110616T110249.694|1| at Sybase.UnwiredPlatform.WorkflowClient.Utils.CheckMessageSize
(String serializedMessage, ContextData oContextData, Boolean fromResponder) 
20110616T110249.694|1| at Sybase.UnwiredPlatform.WorkflowClient.Responder.ProcessMessageFromDevice
(ContextData oContextData, String sData, Boolean isSynchronous) 
20110616T110249.694|1| at Sybase.UnwiredPlatform.WorkflowClient.Responder.ProcessSyncRequest
(ContextData oContextData, String sData) 
20110616T110249.694|4|My:1 -- ProcessSyncRequest- > Out

Workaround: Increase the allowed maximum message size (SupMaximumMessageLength). From Sybase Control Center, expand Hybrid Apps and select the Hybrid App. Select the Context Variables tab. Modify the property.

CR-673572
Hybrid Apps do not work with Android simulators version 2.3.3.

See http://code.google.com/p/android/issues/detail?id=12987 for a description of this issue.

Workaround: Use an earlier version of the Android simulator.

CR-671242
If a Hybrid App uses a Web Service that takes a structure as its input, submit operation is empty.

While you can add items to a listview and save the list, when you submit the operation, it is empty. Array/list fields in structure parameters are not supported. You can have a top-level parameter that is an array/list, and you can have a top-level parameter that is a structure that has non-array/list fields and substructures.

Workaround: None.

CR-667187
The BlackBerry Bold 9700 device simulator sometimes does not allow the user to have full control of the screen for an application, and may perform the wrong operations, and return the wrong results. Physical devices work correctly.

Workaround: None.

CR-666672
On BlackBerry 6.0 simulators (nontouch models), it is difficult to enter the password.

Workarounds:

  1. When the password control has focus, press the scroll button and scroll to the left.
  2. When the password control has focus, press the Menu button, choose Select, then move the cursor to the password control.