Questions? Feedback?powered byOlark live chat software

Standard Support

Bug 1957

Application getting crashed when having RichText as edit style type of datawindow column 07 December, 2018

sabal mehra
05 December, 2018
Product: PowerBuilder Category: DataWindow
Version: 2017 R3 Publishing: Public
Status: Verifying Priority: P3
Classification: Resolution:
Mark Lee 07 December, 2018
Hi sabal,

1. We duplicated the issue on your machine in our meeting.
2. But it could not be reproduced using the same datawindow richtext column in a simple case on your machine.
3. Your current environments include Win 7 & Win 10 English. 
4. Based on our test, we think the crash is probably due to some other PB code that interacts with this DataWindow. 
As it can’t be reproduced in debug mode, we hope that you can use messagebox to locate which code leads to the crash and then try to simulate it in a simple test case and share with us for further analysis. 

Regards,
Mark Lee
sabal mehra 06 December, 2018
Hi Mark,

We can have a webex meeting at 11:00 am IST (after the 2 hour current time as you suggested). Please refer the below details of the webex.

https://tvpt.webex.com/join/ashwini.kumar 

Access code: 808 647 025

In addition of this problem when I debug (end to end )the application then crashing won’t happen. application open successfully.
Mark Lee 06 December, 2018
Hi sabal,

I am sorry to inform you that we can’t reproduce the issue using the same steps. (See attached).
1. Can you reproduce the issue with the same steps on other machines?
2. If you can’t reproduce it, we can have a meeting to check it 2 hours from now.

Regards,
Mark Lee
sabal mehra 06 December, 2018
Hi Mark 

Thanks for the replying Please refer the below answers required by you

1. Please confirm if the crash happens when you preview the DataWindow data on PB IDE or when you run the application to retrieve the data on the DataWindow after you compile it into an exe.

(Answer)
It is not crashing the IDE when i preview the datawindow in datawindow painter. But when i run the application via exe or thru powerbuilder IDE then it get crash.

2. Please confirm the current RichText column’s data type and data length (e.g. long, varchar).

(Answer)
On datawindow richtext column column size is char(327660) and in database table its size is long varchar

3. Please confirm what is the maximum data the RichText column may get after the DataWindow retrieval. Does the length of the data exceed the length defined for the column on the DataWindow?

(Answer)
Maximum length of the column can contain data is of char(327660)
(Application is getting crash even if i delete all the records from table)


4. We suggest that you provide a reproducible simple test case (including PBLs + Sql data) for us to further analyze the issue.

(Answer)
Application crash is only happen then i select the Richtext as edit style of datawindow column and run the application
If i choose the edit as edit style of that column from RichText then my application works fine

Thanks
Sabal
Mark Lee 05 December, 2018
Hi sabal,

Thanks for reporting this problem!
Sorry we can’t reproduce this issue.
1. Please confirm if the crash happens when you preview the DataWindow data on PB IDE or when you run the application to retrieve the data on the DataWindow after you compile it into an exe.
2. Please confirm the current RichText column’s data type and data length (e.g. long, varchar).
3. Please confirm what is the maximum data the RichText column may get after the DataWindow retrieval. Does the length of the data exceed the length defined for the column on the DataWindow?
4. We suggest that you provide a reproducible simple test case (including PBLs + Sql data) for us to further analyze the issue.

Regards,
Mark Lee
sabal mehra 05 December, 2018
issue.jpg (49KB)

*Phenomenon:

Application is getting crash on having RichText as edit style type for datawindow column. if i change the edit style to edit from rich text then it work and application will not crash

*Reproduce Steps:

while retrieving the datawindow

Remark:
OS:
Windows 7 
Platform:
64-bit 
Database Type:
SAP ASA 
Database Version:
ASA 10