|  | 
| Crash - Set a large size "Subject" to event | 
| Post Reply   | 
| Author | |
| amitb   Groupie     Joined: 13 September 2006 Status: Offline Points: 50 |  Post Options  Thanks(0)  Quote  Reply  Topic: Crash - Set a large size "Subject" to event Posted: 22 January 2009 at 5:35am | 
| 
   Hello, I am facing a crash after an assert when i try to set a event subject with a long size (say 500 characters ) If i try to reproduce the issue in Calendar Sample, I am facing with the same problem. However i want to set it to a limit of 50. How to do that ?? See the following image when it crashed after the assert in sample | |
|  | |
| mdoubson   Senior Member     Joined: 17 November 2008 Status: Offline Points: 1705 |  Post Options  Thanks(0)  Quote  Reply  Posted: 22 January 2009 at 8:59am | 
| 
   Sorry - can't reproduce in release 13 - tried > 1K string with spaces inside.
    | |
|  | |
| mdoubson   Senior Member     Joined: 17 November 2008 Status: Offline Points: 1705 |  Post Options  Thanks(0)  Quote  Reply  Posted: 22 January 2009 at 3:53pm | 
| 
   btw - may be you use database backend and this is db exception on field size? You should use some app level handler to prevent such situation as core don't know about your app level restriction. This is why my sample with XML file-based db working without problem. 
    | |
|  | |
| amitb   Groupie     Joined: 13 September 2006 Status: Offline Points: 50 |  Post Options  Thanks(0)  Quote  Reply  Posted: 23 January 2009 at 1:52am | 
| 
   Hello Mark, It is not a error on DB side. What i want to know is that, is there any way where i can restrict the user to set a event subject to 50 characters.???? | |
|  | |
| mdoubson   Senior Member     Joined: 17 November 2008 Status: Offline Points: 1705 |  Post Options  Thanks(0)  Quote  Reply  Posted: 23 January 2009 at 10:06am | 
|   YES - in Release 13 - in term of visualisation in timeline mode user will have control on event pixel size (default 100) but db will store full string and you can see and edit it in event dialog.  If you sure this is not db problem - means it already covered in release 13 and this is why I could not reproduce it. See on picture very long string in event properties dialog (> 1K) | |
|  | |
| amitb   Groupie     Joined: 13 September 2006 Status: Offline Points: 50 |  Post Options  Thanks(0)  Quote  Reply  Posted: 28 January 2009 at 3:55am | 
| 
   Ok,
 When can we expect the release 13 to be out to us ???? | |
|  | |
| Post Reply   | |
| Tweet | 
| Forum Jump | Forum Permissions  You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |