cancel
Showing results for 
Search instead for 
Did you mean: 

Publication problem with asterisk option

Former Member
0 Kudos
2,104

Hello, I have some publications in my ultralite database responsible for sync pieces of the whole database. When I try to sync an isolated publication it works fine and also works as well when I try to sync all publications together separated by a comma. Like this:

ul_sync_info ul_info;
ul_info.publications = "Pub1,Pub2";

But when I try to use the asterisk to sync all publications together without specifing their names I got an fatal error in the iOS Platform (Bad Access). Like this:

ul_sync_info ul_info;
ul_info.publications = "*";

It's important to know that my sync works fine when I don't fill this field and this is my current workaround for this problem.

I'm using the EBF 3819 (Mac OSX) and this problem doesn't reproduce in old versions.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member

As well as Tim's suggest to use "*" instead of @"*", another alternative would be to use the UL_SYNC_ALL_PUBS constant:

ul_info.publications = UL_SYNC_ALL_PUBS;

Former Member
0 Kudos

I've tried to use the UL_SYNC_ALL_PUBS and it didn't work. The sync fails.

Former Member
0 Kudos

Does it work if you use UL_SYNC_ALL:

ul_info.publications = UL_SYNC_ALL;

If so, then it sounds like you've found a bug.

Former Member
0 Kudos

FYI, this was due to a bug (issue 740226) that has been fixed as of the following builds (not yet released):
12.0.1.3906
16.0.1553