Skip to main content
Information Mgmt
New to Lotus
How to buy
Live demos
Technical library
Forums & community
Java™ technology
Open source
SOA and Web services
Web development
My developerWorks
About dW
Submit content

developerWorks  >  Lotus  >  Forums & community  >  Notes/Domino 8 Forum

Notes/Domino 8 Forum

Sign in to participate Previous Next
Subject: Bug in CSCalendarEntry library and question regarding generating an all day event
Feedback Type: Problem
Product Area: Designer Client
Technical Area: Error Message
Platform: Windows XP client
Release: Beta 3
Reproducible: Always

I've got two issues, a bug in a script library and a question:

The bug:
Script library: CSCalendarEntry
Method: Sub FORMUpdateDateTimeItems( strItemName As String )

' there are times when the profile doc is not returning a value - possibly due to contention from the previous request
If Not Me.m_note.hasItem("tmpDefDuration") Then
If Me.m_beobject.CalendarProfile.Document Is Nothing Then
Msgbox "1"
End If
If Me.m_beobject.CalendarProfile.Document Is Nothing Or Not(Me.m_beobject.CalendarProfile.Document.hasitem("DefaultDuration")) Then
Call Me.m_note.ReplaceItemValue("tmpDefDuration",60)
Call Me.m_note.ReplaceItemValue("tmpDefDuration",Cint(Me.m_beobject.CalendarProfile.Document.GetItemValue("DefaultDuration")(0)) )
End If
End If
ldefdur = Me.m_note.getitemvalue("tmpDefDuration")(0)

The red code snippet generates an error if Me.m_beobject.CalendarProfile.Document is null, because LotusScript does not use lazy evaluation and tries to evaluate the right part of the if clause in any case.

The question:
I'm playing around with the calendar classes in the mail database and the undocumented LotusScript class "NotesCSEventOwnerDocument".
Is this class documented anywhere???

I'm trying to generate an all day event in the backend with all the necessary fields, but currently I get the error message "Error trying to open document: Someone else modified this document at the same time" when I open the generated document in the client (the CalendarProfile.Document also seems to be null).
That message seems to come from NotesCSEventOwnerDocument.

Feedback number KLEN75CMPZ created by Karsten Lehmann on 07/22/2007

Status: Open

Bug in CSCalendarEntry library and ... (Karsten Lehmann... 22.Jul.07)
. . Answers (Susan Bulloch 23.Jul.07)
. . . . I don't think NotesCSEventOwnerDocu... (Karsten Lehmann... 24.Jul.07)
. . . . . . read what Susan wrote again (John Head 24.Jul.07)
. . . . . . . . She wrote "and it's in the template... (Karsten Lehmann... 25.Jul.07)


Search this forum

Sign In or Register

 Sign In or Register
Sign in
Forgot your password?
Forgot your user name?
Create new registration

Member Tools

RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS
More Lotus RSS feeds


Forum use and etiquette
Native Notes Access
Web site Feedback

Lotus Support

 Lotus Support
IBM Support Portal - Lotus software
Lotus Support documents
Lotus support by product
Lotus support downloads
Lotus support RSS feeds


IBM Composite Applications
IBM Mashup Center
IBM Connections
IBM Connections Cloud Developers
IBM Docs
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud for Social Business
IBM Web Experience Factory
Lotus Domino
Lotus Domino Designer
Lotus Expeditor
Lotus Foundations
Lotus iNotes
Lotus Instructor Community Courseware
Lotus Notes
Lotus Notes & Domino Application Development
Lotus Notes Traveler
Lotus Protector
Lotus Quickr
Lotus Symphony
IBM Web Content Manager
WebSphere Portal

Lotus Forums

 Lotus Forums
Notes/Domino 9.0
Notes/Domino 8.5 + Traveler
Notes/Domino XPages development forum
Notes/Domino 8
Notes/Domino 6 and 7
IBM Connections
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
Lotus Enterprise Integration
Lotus Protector
Lotus Quickr
Lotus SmartSuite