random off by 1 EOF errors?
random off by 1 EOF errors?
- Subject: random off by 1 EOF errors?
- From: Joe Little <email@hidden>
- Date: Fri, 11 Mar 2005 12:38:25 -0800
In our WO application, we have a pretty standard set of functions:
1) get a list of applicants
2) display all their attributes in a repetition, allowing one to
update certain values per row, and click submit to update them
We first noted problems when one would set a flag on one applicant,
and then the code that operates on the submit action would seemingly
think the flag was assigned to the row before or after in the
repetition. This seemed rather odd since I'm simply enumerating the
array check for all those records that are "flagged" and operating on
them. This happened infrequently, but it was rather worrisome
Next, we found with the same infrequency click on an applicant name to
check out the contents on another page would sometimes also pick the
next or previous applicant in the sorted array of applicants.
In general, these errors happen after returning to the listings page
after viewing another applicant. Since this happens in maybe 1-5% of
the cases, it appears to be either some odd caching or reference issue
between the WOB end of things and the underlying code, as I've yet to
see any mismatch directly at the code level -- it all seems to be when
the repetition row values are consulted and provided to act upon.
Has anyone else seen this behavior before or have any gut feelings on
where to look? This one has the look of a fundamental problem.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden