[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference azur::mcc

Title:DECmcc user notes file. Does not replace IPMT.
Notice:Use IPMT for problems. Newsletter location in note 6187
Moderator:TAEC::BEROUD
Created:Mon Aug 21 1989
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:6497
Total number of notes:27359

343.0. "ICONIC_PM: Dialog box truncates error message" by COOKIE::KITTELL (Richard - Architected Info Mgmt) Fri Sep 21 1990 17:01

Most messages are wrapped onto multiple lines so that they are displayed in
the error box in full. But if the message contains a long entity spec it doesn't
wrap. 

For instance, the Register Entity error box truncates the message

No such entity: Archive AIM_NS:.imsym.archive2 Bitfile

to

No such entity: Archive AIM_NS:.i
T.RTitleUserPersonal
Name
DateLines
343.1VERNA::V_GILBERTFri Sep 21 1990 21:0118
Richard,

Is it possible for you to try the same operation - ie Register Entity using
the FCL and let me know if the same truncation occurs in the reply text there.

The string which is being truncated is the reply text which has an FAO expansion
of the unknown entity.  If you can do the above in the FCL, it will help
us determine where the error is, in the expansion or in wrapping around the
information.  Although the reply text, even when expanded, in this case should 
fit on one line.  

Do you remember if it looked like more information would fit in the Register
Entity error box - looking at the code, it should allow for 60 characters,
which even the entire string isnt, and the truncated string is less than 35.

Thanks for telling us about this.  Let me know about the above.

Verna
343.2Error message okay in FCLCOOKIE::KITTELLRichard - Architected Info MgmtSat Sep 22 1990 16:178
Verna,

FCL displays the full message, that's where I got the full text for .0, I
should have mentioned that. 

The field in the box isn't wide enough for 60 chars. If you're using
DECwindows Notes the next reply will show you what it looks like.
343.3Screen capture of error boxCOOKIE::KITTELLRichard - Architected Info MgmtSat Sep 22 1990 16:1831
343.4Solved - found the bugVERNA::V_GILBERTMon Sep 24 1990 14:3320
Richard,

Thanks for the screen display.  If pointed me in the right direction.  After
expanding the argument reply text, we neglected to update the length of the
text widget from before fao expansion, where we had

   	No such entity: <!Unknown Entity>

Thus instead of displaying

	No such entity: Archive AIM_NS:.imsym.archive2 Bitfile

the field was truncated to unexpanded size

 	No such entity: Archive AIM_NS:.i

Will be fixed for V1.1 EFT.

Thanks,
Verna