Invalid characters in openmail.Application.openView's "id" parameter?
I recently had a pretty confusing problem that turned out to be caused by the "id" parameter having a period in it: The call would succeed, but subsequent code that didn't seem at all related (config.xml triggers, other view's getParameters calls, etc) would fail silently.
In order to allow opening multiple instances of this particular view, I added a Math.random() call:
Silent errors started happening after that call was made, and I couldn't figure out why. After backing everything out except that change and pounding my head for a while, I decided to just go ahead and change that to what I had intended anyway - I didn't realize at first that Math.random() returned [0, 1) instead of [0, MAXINT).
Suddenly, the problem went away. After further testing, if you simply add a "." character to the end of the id parameter, those problems reoccur.
Are there any by-design forbidden characters in that parameter? I could see how a "." character could cause problems if the id is not escaped and it's injected somewhere that a period is significant to syntax.
I'm not blocked by this - didn't even want the period there in the first place - but I figured I'd post up as an FYI.
Also, for some reason that message triggered a 3,000 character limit, despite Word telling me that it's only 1,564 characters with spaces. (3k characters really is kind of a low limit for a development forum anyway :X)