APAR status
Closed as program error.
Error description
Problem Description: "ERROR:Incorrect data type for operator or @Function: Text expected" error occurs when selecting/searching an available room without making selection in a list. It is a regression on 8.5.1. Environment: Domino/Notes 8.5.1 Steps to reproduce: 1. Compose a new reservation on resource reservations DB created with rescrc8.ntf. 2. Select "find a room at a specific time", "Site to search" and "# of attendees". 3. Press Search button, then Search results dialog appears. 4. Press OK button without making selection. 5. Make sure that "ERROR:Incorrect data type for operator or @Function: Text expected" error occurs. Error "You did not select a room" should be displayed. Or, 1. Compose a new reservation on resource reservations DB created with rescrc8.ntf. 2. Select "find a time for a specific room". 3. Press "Select room" button then "Select a room" dialog appears. 4. Press OK button without making selection. 5. Make sure that "ERROR:Incorrect data type for operator or @Function: Text expected" error occurs. Error "You did not select a room" should be displayed.
Local fix
Modify formula of "Search" button and "Select room" button like below. - Select room tmproom:=@Prompt([OkCancelList]; "Select a room"; ""; ""; @Unique(@DbColumn("":"ReCache";"";"($Rooms)";6))); REM {tmproom := @If(@Contains(tmproom;"(");@Trim(@Left(tmproom;"("));@Trim(tmpro om));}; Delete as remark @If (@Text(tmproom)="1"; @Prompt([Ok]; "Error"; "You did not select a room"); @Do( tmproom := @If(@Contains(tmproom;"(");@Trim(@Left(tmproom;"("));@Trim(tmpro om)); <-- Add FIELD RoomList:=tmproom; FIELD ResourceName:=@If(ResourceType="1" & FindResourceStyle="2";@Name([Canonicalize];RoomList);ResourceNam e); @Command([ViewRefreshFields]))) - Search @If(StartTime >= EndTime; @Return(@Prompt([Ok]; "Error"; "Start time should be prior to End time."));""); REM {check on Capacity and make it non required field}; @If(@Text(Capacity) !="" & !@IsNumber(Capacity); @Return(@Prompt([Ok]; "Error"; "Enter number of attendees"));""); tmpCapacity:=@If(@Text(Capacity) = ""; 1; Capacity); @Command([ViewRefreshFields]); @If((@Date(StartDate) < @Date(@Now)); @Return(@Prompt([Ok];"Error";"You cannot reserve a room for a date which has already occurred."));""); Keyarg:="CN=*/"+"O="+Site; ResNameCheck:=@FindFreeResource(Keyarg;ResourceType;StartDateTim e;EndDateTime;tm pCapacity;9999;[]); @If(@IsError(ResNameCheck);@Return(@Prompt([Ok];"Error";"You received the following error when trying to find a room: "+ResNameCheck));""); FIELD tmpNoResourceFound :=@If(ResNameCheck="";"1";"0"); tmpResourceName:=@If(ResNameCheck=""; "No resource/room found for times and/or capacity requirements.";@Elements(ResNameCheck)>1; @Prompt([OkCancelList]; "Search results"; "More than one room is available at specified time. Make your selection.";"";@Sort(@Name([Abbreviate];ResNameCheck);[Ascending ]));ResNameCheck ); REM {tmpResourceName :=@If(@Contains(tmpResourceName;"(");@Trim(@Left(tmpResourceName ;"("));tmpResour ceName);} <-- Delete as remark @If(@Text(tmpResourceName)="1"; @Prompt([Ok]; "Error"; "You did not select a room"); @Do( tmpResourceName :=@If(@Contains(tmpResourceName;"(");@Trim(@Left(tmpResourceName ;"("));tmpResour ceName); <-- Add FIELD ResourceName:=@If(@Contains(tmpResourceName; "@"); @Left(tmpResourceName; "@"); tmpResourceName)) ); @Command([ViewRefreshFields])
Problem summary
A programming error was found and will be corrected in a future release.
Problem conclusion
A programming error was found and will be corrected in a future release.
Temporary fix
Comments
This APAR is associated with SPR# KYOE8247FZ.
APAR Information
APAR number
LO48253
Reported component name
DOMINO SERVER
Reported component ID
5724E6200
Reported release
851
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2010-01-27
Closed date
2010-03-03
Last modified date
2010-03-03
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
NA
Fix information
Fixed component name
DOMINO SERVER
Fixed component ID
5724E6200
Applicable component levels
R851 PSN
UP
[{"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Product":{"code":"SSKTMJ","label":"Lotus Domino"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5.1","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
03 March 2010