Re: Delay process bug
Hi Jim, Is there somehow PAUSE PROCESS/RESUME PROCESS involved? I don't know if this has something to do with our issue, but I'd like to share a change in behavior (bug?) between v15 (and older) and v16 (and later). Also struggling with a process not waking up after the delay time, I found pause process/resume process on a delayed process does not work as I would expect in 4D v16 and later. Following scenario: A process is running and is delayed for eg 1 minute. If the process is paused and resumed within that minute, the process won't wake up. Neiter immediately, neither after the delay time. Tested on Mac (v16 and 17 32/64). Another call to RESUME PROCESS will wake it immediately, another DELAY PROCESS will wake it after the new delay time. This behavior is different in v15. This is what I do and what I see in the runtime explorer: - start process: Executing - delay process (3600 ticks): Delayed - pause process (within the delay time): Delayed - resume process (within the delay time): Executing V16 - start process: Executing - delay process (3600 ticks): Delayed - pause process (within the delay time): Delayed - resume process (within the delay time): Paused (!) - resume process or delay process (0 ticks): Executing I don't know what the standard behavior should be, but above is what I discovered. The work around is rather easy: when you want to resume a process, check if its status is paused or delayed. If paused: resume, if delayed: delay(0). Or don't use resume, but always use delay(0). Because a delayed or paused process will always wake up on delay(0). HTH Koen > Op 12 jun. 2018, om 21:43 heeft Jim Crate via 4D_Tech <4d_tech@lists.4d.com> > het volgende geschreven: > > Our server (macOS 10.11, 4D 16.3 HF3 64-bit) hit this bug again last week > after being up for about 22 days. There are 2 separate processes that run > periodically, both at the same time stopped waking from DELAY PROCESS. The > Server window also was not showing the 4D username in the user list, although > IP, machine name, and login date/time were displayed. Compass bvba Koen Van Hooreweghe Kloosterstraat 65 9910 Knesselare Belgium tel +32 495 511.653 ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
Re: v16 Time picker - bound variable changed
Thank you Miyako. That was it. David Samson > it is a bug that was fixed in 16.3 Hotfix 1 (latest is Hotfix 4) > > ACI0097700 > > 2018/06/12 0:40、David Samson via 4D_Tech <4d_tech@lists.4d.com 4d_tech@lists.4d.com>> のメール: > Should I be defaulting the time on the on-load of the holding form now? Or > is it something else? > > ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
Re: Build with code signing
Cannon, This helped a lot. I figured out how to renew the certificate but was missing the xattr step. Thanks!! -- Jeff Grann SuccessWare, Inc. > On Jun 11, 2018, at 1:45 PM, Cannon Smith via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Hi Jeff, > > I can’t give you a step by step guide, especially including getting the > signing certificate. But here is a code snippet which I use for signing my > apps which works. The takeaways will be in the comments as well as the two > commands that are run using LEP. ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
RE: Difference between OB Copy and :=
> However, be aware of a bug in 4D. If you modify a child object in an object > type field and then save the record, the object will not be saved. It is only > saved if you modify a top level key in the object. The workaround, until 4D > fixes this, is to assign the object field to itself before saving. This issue only exists in earlier versions of the product (R releases), where the feature was first introduced. In v17.0 this will work as expected, without needing to assign the field to itself. -Tim ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
Re: 4d v14 web area & High Sierra & pdf
Halloo Jeffrey, I have the same trouble with PDF display under 4Dv15 and High Sierra. I'm interested in your solution using Mozilla Javascript PDF viewer, may you help me ? Best regards Tomas Kadlec 4D Tech mailing list wrote > We've modified the open source Mozilla Javascript PDF viewer (the same one > Firefox uses) to work inside a web area. It's seamless and looks great. > We're tweaking the source code now but drop me a line if you're interested > in trying it out. It's just Javascript -- no plug-in required. > > > -- > Jeffrey Kain -- Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
Re: Delay process bug
That happened to me once in an earlier version of 4D. Long story short, DELAY PROCESS is meant for short-term scheduling, not long-term process management. Even so, it’s good to know in advance. -- bag Sent from my mobile On Jun 12, 2018, at 13:57, Dennis, Neil via 4D_Tech <4d_tech@lists.4d.com> wrote: >> 32-bit long integer flips to negative, after 24 days. > > You might be on to something 😊 > > Could pass this on to the 4D tech guys... there are several bugs already > reported for this. > > Neil > > > > Privacy Disclaimer: This message contains confidential information and is > intended only for the named addressee. If you are not the named addressee you > should not disseminate, distribute or copy this email. Please delete this > email from your system and notify the sender immediately by replying to this > email. If you are not the intended recipient you are notified that > disclosing, copying, distributing or taking any action in reliance on the > contents of this information is strictly prohibited. > > The Alternative Investments division of UMB Fund Services provides a full > range of services to hedge funds, funds of funds and private equity funds. > Any tax advice in this communication is not intended to be used, and cannot > be used, by a client or any other person or entity for the purpose of (a) > avoiding penalties that may be imposed on any taxpayer or (b) promoting, > marketing, or recommending to another party any matter addressed herein. > ** > 4D Internet Users Group (4D iNUG) > FAQ: http://lists.4d.com/faqnug.html > Archive: http://lists.4d.com/archives.html > Options: https://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:4d_tech-unsubscr...@lists.4d.com > ** ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
Re: Delay process bug
What does that mean? If you have a cron job process running on server that wakes every 5 minutes to check and launch other processes. Is that what you consider short term scheduling? Regards Chuck Chuck Miller Voice: (617) 739-0306 Informed Solutions, Inc. Fax: (617) 232-1064 mailto:cjmillerinformed-solutions.com Brookline, MA 02446 USA Registered 4D Developer Providers of 4D and Sybase connectivity http://www.informed-solutions.com This message and any attached documents contain information which may be confidential, subject to privilege or exempt from disclosure under applicable law. These materials are intended only for the use of the intended recipient. If you are not the intended recipient of this transmission, you are hereby notified that any distribution, disclosure, printing, copying, storage, modification or the taking of any action in reliance upon this transmission is strictly prohibited. Delivery of this message to any person other than the intended recipient shall not compromise or waive such confidentiality, privilege or exemption from disclosure as to this communication. > On Jun 12, 2018, at 5:07 PM, Bryan Green via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > That happened to me once in an earlier version of 4D. Long story short, DELAY > PROCESS is meant for short-term scheduling, not long-term process management. > Even so, it’s good to know in advance. > > -- bag ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
Re: Difference between OB Copy and :=
Hi Tim, I haven’t had time to try this myself today, but do you know off the top of your head if this is only fixed when using dot notation? Or is it fixed when for the old style of code as well (when we had to traverse the object tree to the children, getting a reference to the child and then changing the child object without changing the parent object)? Thanks. -- Cannon.Smith Synergy Farm Solutions Inc. Hill Spring, AB Canada 403-626-3236 > On Jun 13, 2018, at 12:31 PM, Timothy Penner wrote: > >> However, be aware of a bug in 4D. If you modify a child object in an object >> type field and then save the record, the object will not be saved. It is >> only saved if you modify a top level key in the object. The workaround, >> until 4D fixes this, is to assign the object field to itself before saving. > > This issue only exists in earlier versions of the product (R releases), where > the feature was first introduced. > > In v17.0 this will work as expected, without needing to assign the field to > itself. > ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
Re: Difference between OB Copy and :=
off the top of *my* head I understand the fix is not limited to object notation. it was an optimisation made for wakanda server that somehow got lost on its way to 4D object fields. so it's a fix at the database level. > 2018/06/14 11:54、Cannon Smith via 4D_Tech <4d_tech@lists.4d.com> のメール: > > I haven’t had time to try this myself today, but do you know off the top of > your head if this is only fixed when using dot notation? Or is it fixed when > for the old style of code as well (when we had to traverse the object tree to > the children, getting a reference to the child and then changing the child > object without changing the parent object)? ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **