358 Lotus blogs updated hourly. Who will post next? Home | Downloads | Events | Jobs | Twitter | Bookmarks | Pods | Forum | Blogs | Search | myPL | About 
 
Latest 7 Posts
How to compare, contrast and edit Lotus Notes document field values with scanEZ
Thu, Jul 22nd 2010 174
A quick way to uncover (and fill) security holes on Domino servers using aclEZ
Tue, Jun 22nd 2010 53
How to clean up a Lotus Notes out-of-office agent mess with agentEZ
Tue, May 18th 2010 255
When the dreaded “Field is too large (32K)” Lotus Notes error strikes…
Fri, Apr 23rd 2010 422
A fast way to change NSF Replica IDs: Often a handy time-saver (and occasionally a life-saver)
Tue, Mar 23rd 2010 271
ACL inconsistencies giving you headaches? Here’s how to find and fix missing ACL entries on a Domino server using aclEZ
Thu, Mar 11th 2010 64
Dynamically sortable view columns are trouble: Here’s how viewEZ can help you find and fix them
Mon, Mar 8th 2010 94
Top 10
When the dreaded “Field is too large (32K)” Lotus Notes error strikes…
Fri, Apr 23rd 2010 422
How *often* you click Ctrl+S can affect Lotus Notes application development
Thu, Feb 4th 2010 371
A Better Way to Find and Fix Replication Conflicts in Lotus Notes
Mon, Dec 7th 2009 350
Are your databases bloated with view indexes? Here’s a trick to help you cut file sizes
Thu, Feb 18th 2010 327
A fast way to change NSF Replica IDs: Often a handy time-saver (and occasionally a life-saver)
Tue, Mar 23rd 2010 271
A Lotus Notes Application Signing Primer
Mon, Dec 14th 2009 269
Un-dead Lotus Notes Documents: How ‘ghosts’ can haunt your databases
Wed, Feb 10th 2010 267
How to clean up a Lotus Notes out-of-office agent mess with agentEZ
Tue, May 18th 2010 255
Building a Library of Lotus Notes Secrets
Thu, Jan 28th 2010 235
How hiding views from the Notes client can bring a Domino server to its knees
Thu, Jan 28th 2010 217


How *often* you click Ctrl+S can affect Lotus Notes application development
Peter Woodford    

Continuing in our series of Lotus Notes secrets, we’d like to share a strange little tidbit about design element replication (this is one of the secrets that Ytria’s Eric Houvenaghel shared at his Lotusphere 2010 BoF session):

A tale of two Lotus Notes developers

Once upon a time two developers were each working on their own local replicas of the same Notes application.

One developer, we’ll call him Bob, was nervous about losing changes so he clicked Ctrl+S after every single change he made.

The other developer, who we’ll dub Henry, was a bit more laid back. He only saved his work periodically, after significant changes were made.

Now the problem:

Naturally enough, Henry and Bob would sometimes get their wires crossed and work on the same design elements at the same time. And since Designs can’t have conflicts, someone’s work would inevitably be lost after replication. But oddly, in these situations it was always Henry’s work that got lost–even if he was the last one to work on the design element in question.

But why?

Because every time Bob clicked Ctrl+S the sequence number would go up and it turns out that  a higher sequence number trumps a more recent Modified date in design element replication.

Still don’t believe me?

For all you doubters out there, I performed a little experiment with scanEZ to confirm our observations (I used scanEZ because it lets you have  multiple open sessions with different active IDs).

First, I did some modifications to a view being sure to save frequently, thus running up the sequence number (see the image below)…

CTRL_S_Maniac

Image A: The Ctrl+S Maniac

Next, I performed another modification on the same design element on a replica of this database using a different ID. This time I only saved once. But notice in the image below the Modified date is more recent than in the image above:

The_last_one_to_save

Image B: The changes are more recent but the dev saved his work only once

When I replicated, as expected, the version in Image A was the “winner”:

The "winner"

The "winner"

How to avoid this issue

A locking solution that prevents developers from working on the same design element is probably the simplest way to prevent this problem from occurring in your Notes shop.



---------------------
http://feedproxy.google.com/~r/YtriaTechLab/~3/2cngVkWzypg/
Feb 04, 2010
372 hits



Recent Blog Posts
174


How to compare, contrast and edit Lotus Notes document field values with scanEZ
Thu, Jul 22nd 2010 6:39p   Peter Woodford
We’re always eager to hear how customers are using our software. Oftentimes folks surprise us with novel and creative uses we never would have thought of ourselves. But every so often, we hear from people who are so busy they haven’t had the chance to explore anything beyond the most immediate, hit-you-over-the-head noticeable aspects of the software (e.g. the Conflict Solver). This is truly a shame because the ‘just below the surface’ features are some of the biggest tim [read] Keywords: domino lotus notes notes client applications database interface workspace
53


A quick way to uncover (and fill) security holes on Domino servers using aclEZ
Tue, Jun 22nd 2010 2:26p   Peter Woodford
One of the nicest things about aclEZ’s grouping grid interface is that is that it allows you sort and filter live information on all the Lotus Notes database ACLs on a server (even for databases that aren’t included in the catalog.nsf file). Here’s a simple-yet-practical application of this feature: Using aclEZ’s Grouping Grid to Spot Inappropriate Access Settings To start you need to load all your ACL entries in aclEZ’s grid: Then you drag the ‘Access’ [read] Keywords: acl administration domino lotus notes notes client application database interface security server
255


How to clean up a Lotus Notes out-of-office agent mess with agentEZ
Tue, May 18th 2010 5:10p   Peter Woodford
One of our customers recently used our agentEZ tool in an interesting way to deal with a big out-of-office agent problem. We realize that the Out of Office agent is already ancient history to folks who’ve switched to the Out of Office service (introduced in R8). But we still talk to a lot of people who have at least one pre-R8 server in the cluster where their mail files reside, and thus continue to rely on the Out of Office agent. Bearing this in mind, we thought we’d share this one [read] Keywords: acl adminp agent domino ibm lotus lotusscript notes notesmail R5 R6 R7 R8 application database java office profile properties security server xml
422


When the dreaded “Field is too large (32K)” Lotus Notes error strikes…
Fri, Apr 23rd 2010 1:05p   Peter Woodford
There are some problems in life—and in Lotus Notes—that defy easy solutions. And one such problem is the “Field is too large (32K)” error, which affects documents whenever the size of the Summary data for a field grows beyond the limit set in Notes*. *The Lotus Notes Summary data limit is 32K for a single field or 64k for an entire document. See this Technote to read more. The dreaded 32K error in Lotus Notes When you encounter the 32K error you won’t be able to open the [read] Keywords: ibm ldd lotus lotusscript notes rich text database java
271


A fast way to change NSF Replica IDs: Often a handy time-saver (and occasionally a life-saver)
Tue, Mar 23rd 2010 3:23p   Peter Woodford
Try to picture yourself in this situation: An end-user alerts you to the fact that they just did something very bad to a Lotus Notes database—and somehow accidentally deleted hundreds of essential documents. Naturally, this end-user doesn’t apologize for his stupidity, he just orders you to “fix it now.” Suppressing your natural urge to lay violent hands upon this person (who’s incidentally a “C-level” executive), your mind shifts gears to the problem at han [read] Keywords: domino ibm lotus lotusphere notes roaming application database email network workspace
64


ACL inconsistencies giving you headaches? Here’s how to find and fix missing ACL entries on a Domino server using aclEZ
Thu, Mar 11th 2010 7:31a   Peter Woodford
[read] Keywords: acl domino lotus notes application database security server




94


Dynamically sortable view columns are trouble: Here’s how viewEZ can help you find and fix them
Mon, Mar 8th 2010 11:26a   Peter Woodford
[read] Keywords: domino ibm lotus notes application applications database properties
327


Are your databases bloated with view indexes? Here’s a trick to help you cut file sizes
Thu, Feb 18th 2010 6:24p   Peter Woodford
[read] Keywords: domino lotus lotusphere notes application applications database properties server
267


Un-dead Lotus Notes Documents: How ‘ghosts’ can haunt your databases
Wed, Feb 10th 2010 1:43p   Peter Woodford
[read] Keywords: domino ibm lotus notes notes client updall application database laptop network properties workspace
372


How *often* you click Ctrl+S can affect Lotus Notes application development
Thu, Feb 4th 2010 6:27p   Peter Woodford
[read] Keywords: lotus lotusphere notes application database development




Created and Maintained by Yancy Lent - About - Blog Submission - Suggestions - Change Log - Blog Widget - Advertising - FAQ - Mobile Edition