Known Issues for Sybase Unwired WorkSpace – Device Application Development

Learn about known issues and apply workarounds for Unwired WorkSpace and device application development.

Code Generation

Describes known issues when using Sybase Unwired WorkSpace to generate mobile application code for BlackBerry, Windows, Windows Mobile, or Apple applications.

CR Description
649216
Visual Studio generated target path cannot contain Chinese characters on Windows7.

In Windows7, if the generated project target path contains non-ASCII characters, the compilation fails. This issue occurs because the default character encoding of Windows 7 is INconsistent with Java default String encoding.

Workaround: Either:
  • Use only ASCII characters in the path and solution name, or,
  • Open the generated project in Visual Studio, then compile and immediately deploy it to a device.

Device Application Designer

Describes known issues when using Device Application Designer to create BlackBerry or Windows Mobile applications, or generating code using Device Application Designer.

CR #Description
648922
StackOverflowException when application includes both a radio group and table control on some devices.

This issue occurs when the region control takes up only one column.

Workaround: Set the region's horizontal span to 2 in the Device Application Designer.

648280
Argument exception thrown when local MBO for all data types is updated.
If an update form contains a binary text box, then the form cannot be opened in the Visual Studio Form Designer and an error appears:
Events cannot be set on the object passed to the event binding service because a site associated with the object could not be located.
This error occurs because of the default behaviour of Visual Studio. In Visual Studio designer code, the default data binding event handle cannot be changed, and this is why the error appears.

Workaround: Move the statement of change data binding format event handle to the constructor of the form.

For example, locate this code:
private void InitializeComponent()
 {
.........
      System.Windows.Forms.Binding localobjectattribute12EditboxBinding=new
        System.Windows.Forms.Binding("Text", this.LocalObjectBindingSource, "Attribute12",
        true, System.Windows.Forms.DataSourceUpdateMode.Never);
     localobjectattribute12EditboxBinding.Format += new 
   System.Windows.Forms.ConvertEventHandler(Localobjectattribute12EditboxBinding_Format);
this.localobjectattribute12Editbox.DataBindings.Add(localobjectattribute12EditboxBinding);
........
 }
And change it to:
private void InitializeComponent()
 {
.........
      System.Windows.Forms.Binding localobjectattribute12EditboxBinding=new
        System.Windows.Forms.Binding("Text", this.LocalObjectBindingSource, "Attribute12",
        true, System.Windows.Forms.DataSourceUpdateMode.Never);
     // comment the below line
     // localobjectattribute12EditboxBinding.Format += new System.Windows.Forms.ConvertEventHandler(Localobjectattribute12EditboxBinding_Format);                       this.localobjectattribute12Editbox.DataBindings.Add(localobjectattribute12EditboxBinding);
........
 }
Then add this code to the constructor:
public FormUpdateLocalobject()
{
   Cursor.Current = Cursors.WaitCursor;
   InitializeComponent();
   if (this.localobjectattribute12Editbox.DataBindings != null && 
      this.localobjectattribute12Editbox.DataBindings.Count != 0)
         {
             this.localobjectattribute12Editbox.DataBindings[0].Format += new 
                System.Windows.Forms.ConvertEventHandler(Localobjectattribute12EditboxBinding_Format);
         }
............
}
648103
When navigating from a grid table screen to a create screen and back again, the grid table becomes shorter.

As a result, you cannot scroll to the bottom of the table.

Workaround: Refresh the screen.

647955
Device controls in Visual Studio Forms Designer do not work.
After the controls are added to the form, there are some compilation errors:
The type or namespace name 'Drawing' does not exist in the namespace 'Sybase.UnwiredPlatform.Windows'.

Workaround: Add C:\UnwiredPlatform\Unwired_WorkSpace\VisualStudio\ComponentLibrary\PocketPC\Sybase.UnwiredPlatform.Windows.dll to project reference before you add the Sybase controls through the form designer.

646823
Datetime type of EditBox missing validation.

In the Device Application Designer, if the generated BlackBerry screens have input fields that expect a Datetime type, and if a device user then enters invalid Datetime values (for example, "2010-1111-01T1111"), no validation error dialog appears.

Workaround: Use the datetime picker to ensure the value is entered correctly.

645593
Composite deletes for child MBOs generates an error.

When synchronizing a child MBO to submit a composite delete for a child MBO, an error message appears: com.sybase.up.bobclient.data.MobileAppException:com.sybase.persistence.OjbectNotFoundException. This error occurs because the parent has been deleted for that specific child, and therefore the operation cannot be successfully submitted.

Workaround: Do not synchronize the child MBO.

638549
ObjectNotFoundException thrown while deleting a new pending row.

When you update or delete a pending new object, and configure the Device Application Designer to submit the operation immediately, you get an ObjectNotFoundException.

Workaround: Ensure all create, update, delete operations are configured identically, either with a pending state or not; do not mix them.

632216
When two MBOs have multiple one-to-one relationships, the generated Device Application Designer may miss menu items that use these relationships.
Workaround:
  1. On the Flow Design page, select the detail screen of the parent MBO.
  2. Go to the Screen Design page.
  3. Drag and drop a menu item onto the Menu area.
  4. Enter a menu item name.
  5. Add a Save Context action to the menu item:
    • Control – List Detail on Display.
    • Relationship – select the relationship that the Device Application Designer missed.
  6. Add a Connection action to the same menu item with these values:
    • Connection – Goto
    • Screen – the detail screen where the relationship should take the user to.
629782
A Windows Mobile or BlackBerry device throws an exception with SQLE_NOT_IMPLEMENTED.

Workaround: If the device client database throws this exception in a JOIN query, verify join fields to ensure they are the same type.

627602
When you try to install a generated message-based synchronization application on the Windows Mobile Emulator using a storage card, you see an error message similar to Some kind of disk I/O error occurred when you start the application.

This problem is restricted to the emulator, and does not occur in the device itself. The error is caused by the SQLite library, which handles applications installed on external storage memory differently than those installed in the main storage area.

Workaround: Install the application in the main storage memory of emulator, or test the application using an actual Windows Mobile device instead of the emulator.

586955
Failed to compile BlackBerry device application if the items of choice have large amounts of data.

If the BlackBerry device application (custom code or generated code from Device Application Designer) contains too many String literals, they are propagated into the generated Java classes. This propagation can cause compiling errors like Data contribution too large. Although RIM gives a suggestion at http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800901/Support_-_Error_cod_data_section_too_large.html?nodeid=800816&vernum=0, the same error still occurs when the length of string literal exceeds 12315.

Workaround: Do not use long String literals.

Mobile Workflow Forms Editor

Describes known issues when using Mobile Workflow Forms Editor to create message-based mobile workflows.

CR #Description
649091
Cannot customize child parameter mappings for list type.

Currently, for workflow form operations that list parameters generated by dragging and dropping, the child parameter mapping appears to not work and cannot be changed.

Workaround: Manually edit the generated .xml file.

648247
In the screen after the server-initiated starting point, you cannot select list keys with the dynamic choice control.

Workaround: Select the list keys from the list control instead.

646973
Workflow Extraction Rules do not support double quotes ("") to delimit parameter values.
For example, if you want to extract the receiver's name John Smith from the To field of the mail, and you use double quote tags, the rule fails:
Tag Before Parameter: "
Tag After Parameter: " <jsmith@google.com>

Workaround: Use single quotes (' ') to tag parameters:

Tag Before Parameter: '
Tag After Parameter: ' <jsmith@google.com>
646957
The DateReceived extraction rule type is not supported.

Workaround: Do not use this rule.

645864
Incorrect error description for workflow screens.
If you have a parameter that is not mapped to a key, an error appears:
"The screen 'Department_create' has a menu item 'Create' which is trying to invoke the operation 'create' on the 'Department' MBO without having an instance of that MBO."
This message does not accurately reflect the issue.
Workaround: Either the parameter is:
  • Capable of being filled by an attribute, but the user has no MBO instance available to it, or,
  • Unmapped, and has no default value, or,
  • Mapped to a personalization key.

Resolve any of these issues and the error disappears.

639179
Avoid unnecessary data refresh of MBOs in workflow packages that are not bound to data sources.

If you have MBOs that are not bound to any data source, but have operations, create a "dummy" MBO so you can search for it within the workflow MBO search dialog.

Workaround: Create a data source with no data to create an MBO without a real data source. For example:
  1. Create a staged BAPI function inside the SAP system, or create a staged table in the backend database system.
  2. Use Unwired WorkSpace to generate the MBO by mapping to that staged BAPI function or staged table.
  3. Create a separate cache policy and separate synchronization group for this MBO.
  4. Set the cache policy to DCN. This prevents data refresh of the MBO during runtime.
638607
Overlap between email list key and object query resultset key.

If you have both an email starting point that invokes an object query and a menu item that triggers an object query on the same MBO, they each use different keys (for example, MyMBO and MyMBO_findAll_resultSetKey), regardless of whether the user needs to use the same key.

Workaround: Revise the implementation to use different keys and screens for any screen that follows the:
  • email starting point
  • menu item that triggers a query
636248
Matching rules that are defined in the Workflow wizard or the Notification Processing wizard cannot be removed.

Workaround: Use the Flow Design page > Properties view > Matching Rules tab to remove these rules.

628826
Copying and pasting an issue with multiple objects.

Workaround: Copy and paste only one Listview or Htmlview at a time.

596195
Mobile Workflow applications do not support NULL values.

You cannot send NULL values from the client to the server. If you attempt to retrieve NULL values from the server, the attempt fails.

Workaround: Do not use NULL values.