Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

MirrorSync pauses indefinitely

Featured Replies

Hello,

when I setup MirrorSync 2.5 in April I had no problems to get things working. 

After a longer break I tried a very similar setup with MirrorSync 2.6, Build 8823 a few days ago and ran into problems.
The Sync doesn't work, the program hangs.
The clients debugger shows me that the script paused at one of the many occurances of the following lines:

if [ not $$isServer ]
    Pause/Resume Script [ Duration (seconds): /*0.1*/ ]
End If

Though the documentation of Pause/Resume says: "...The For duration value must evaluate as a number, which is the duration of the pause in seconds. If you use the Specify Calculation dialog box to determine the duration, the calculation result must be a number or your script will not pause." it seems to me as the script paused indefinitely.

If I try to uncomment the value 0.1, the value is not accepted. If I replace the value with 0,1 the value is accepted and displayed as ,1. 
After replacing all occurances of "/*0.1*/" with "0,1" the script worked for me! 

As my server (where I also generated the MirrorSync script steps) is located in germany, it seems to me the that I have an numberformat issue.

Well, the pasted MirrorSync script has more than 10,000 lines and I'm not sure if I cought all occurances of the above expression.

I have the following questions:

Is it true, there is no build in way to do a find / replace inside a filemaker script?
Is there a workaround to solve my problem?

@360Works: Is it possible to use an variable for defining the length of the pause/resume? 
I just had to fix it in one place, than.

Many thanks in advance for your help!

 

 

 

 

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.