Print Page | Close Window

Crash - Set a large size "Subject" to event

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Calendar
Forum Description: Topics Related to Codejock Calendar
URL: http://forum.codejock.com/forum_posts.asp?TID=13229
Printed Date: 20 June 2024 at 7:41am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Crash - Set a large size "Subject" to event
Posted By: amitb
Subject: Crash - Set a large size "Subject" to event
Date 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





Replies:
Posted By: mdoubson
Date Posted: 22 January 2009 at 8:59am
Sorry - can't reproduce in release 13 - tried > 1K string with spaces inside.


Posted By: mdoubson
Date 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. 


Posted By: amitb
Date 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.????




Posted By: mdoubson
Date 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)


Posted By: amitb
Date Posted: 28 January 2009 at 3:55am
Ok,
When can we expect the release 13 to be out to us ????



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net