@Environment vs. double spaces bug

How funny (read frustrating) is lotus notes programming .. . ;-)
Once another bug .. . or feature ? ??? how knows ! mha’, bhooo. … mmhhh

Anyway, try to set a doubled spaced string into an environment variable whit @Environment and than try to get back the value.. . it’s weird but it’s like you are doing a @Trim on that f#@*$ value :-(

Example code:
@Environment("tmpValue"; "value with double spaces");
tmpValue :=@Environment("tmpValue");
@Prompt([OkCancelEdit]; @DbTitle; "tmpValue"; tmpValue);
@Environment("tmpValue"; "")

Silent speak aloud some times
And sometimes we loose too much time on others people bugs
bye bye

Shared field rename bug

Yesterday i found another bug in Lotus/Designer; this time it’s about Shared fields.

These are the steps to reproduce the issue:

  1. Open Shared fields list and select the one you want to copy and paste.
  2. Ctrl-C + Crtl-V; the new field will be pasted with _1 suffix.
  3. Hit F2 or use the in-view edit to enter the new name (Xxx for example), confirm with Enter and see the new name in the list.
  4. Enter again to edit the field, open the field properties with Ctrl-Enter and Wow, here is the old name displayed !!!

The new Shared field can be used and is displayed with the new name but when you preview the form you will got a “Cannot locate field definition for Field: Xxx” error (Xxx is the field name at point 3)

So:

Remember to rename Shared fields only via the field properties in the edit field window !!!

and also:

Be aware of if you rename a used Shared field you must delete and re-add it to any forms that use it.

Let me know if you find this tip useful !!!