随着Sybase被完全整合到SAP下,Sybase原来的支持网站被SAP Support Portal取代。
只有购买了SAP服务的用户才能使用账号登录SAP Support Portal进行介质下载、补丁升级、报Incident等。
考虑到Sybase数据库的初学者或者没有购买原厂服务的Sybase客户情况,现提供SAP ASE/IQ/RS/SDK/SQL Anywhere/PB等产品的BUG信息。
在SAP Support Portal网站或者google上搜索Targeted CR List for ASE,可以看到针对不同版本的CR(CR表示Change Request)简单描述信息列表。
需要注意的是:Targeted CR List for ASE列出的CR虽然绝大多数是BUG,但有一些是更改需求。
以下提供SAP ASE/IQ/RS/SDK/SQL Anywhere/PB等产品的BUG信息!
如有问题,请联系我!
QQ :
289965371

Email:
不仅仅包括BUG的详细描述信息,还包括首次报告BUG的平台、数据库版本以及BUG修复历史过程;有些BUG还提供了Workaround来临时解决该BUG带来问题。
CR:454606
|
|
454606 |
|
PB Enterprise |
|
PB.NET WebForm |
|
|
Closed |
|
Windows XP |
|
11.0 Beta2 |
|
|
|
|
|
|
Using a Treeview DW in an application. When deployed as a Webform application and run, the pictures do not display, and the buttons show display problems. The gif files are deployed to the webserver, but they do not show up. They work okay in PB Native and in PB .Net Winform. |
|
|
|
CR:454728
|
|
454728 |
|
PB Enterprise |
|
DW Painter |
|
|
Open |
|
Microsoft Windows 2000 |
|
10.5.1 |
|
|
|
|
|
|
DelimitIdentifier DBPARM gives error whith columns having keywords as name. |
|
|
|
CR:454735
|
|
454735 |
|
PB Enterprise |
|
DW - Runtime |
|
|
|
|
|
|
|
A secondary DataWindow which has Rows > Retrieve Options > Rows to Disk set, used in a ShareData operation, on which an initial value has been set, causes PB to crash in the datawindow engine, upon a GetItemxxx call |
|
Workaround Description |
|
either uncheck the rows to disk for the secondary, or use the option also for the master/primary dw.
No problem if:
* column has no initial value.
* you are using dot notation: dw_detail.object.col[1]
* you disabled data.storage=disk |
|
|
|
CR:454743
|
|
454743 |
|
PB Enterprise |
|
Rich Text |
|
|
|
|
|
|
|
CR 441593 created an entry in the pb.ini file to have the new rte page size be the size of the control:
[RichText]
PageSizeAsControlSize=1
However if you check wordwrap on the rte control, the page size is off by several characters. It wraps a few characters too late. And then a character or two of each line is out of view on the right side. This problem is exacerbated if there is a vertical scroll bar on the rte. That does not seem to be taken into consideration for when to wrap and even more characters are out of view on the right side if there is a vertical scroll bar. |
|
|
|
CR:454772
|
|
454772 |
|
PB Enterprise |
|
MTS Integration |
|
|
|
|
|
|
|
OS: Windows XP SP2
Versions and Build #s Tested: PB 10.5.1_6021 and 10.5.1_6565
Database/Driver File/Version: N/A
Comments: At runtime, PB COM+ components freeze client applications when they are being accessed by multiple PB clients at same time.
For immediate reproduction, use an Intel Core-Duo machine or a physical duo-processor machine. If you use a single-processor machine, the issue gets reproduced after 10-15 min of runtime. |
|
|
|
CR:454861
|
|
454861 |
|
PB Enterprise |
|
PB Web Services |
|
|
Closed |
|
Windows XP |
|
11.0 Beta2 |
|
|
|
|
|
|
Support GUID handling when building Web Service structures. |
|
|
|
CR:454983
|
|
454983 |
|
PB Enterprise |
|
DW Ink Control |
|
|
|
|
|
|
|
OS: Windows XP SP2
Versions and Build #s Tested: PB 10.5.1_6021 and 10.5.1_6565
Database/Driver File/Version: N/A
Comments: inkPicture control inside datawindow does not show pictures from image columns. The inkPicture control displays blank data.
Customer can't use OLE Database Blob since the images were stored in database image columns via UPDATEBLOB, and not stored via Datawindow OLE Database Blob. |
|
|
|
CR:455108
|
|
455108 |
|
PB Enterprise |
|
PB GUI |
|
|
Closed |
|
Windows XP |
|
11.0 Beta2 |
|
|
|
|
|
|
When you have an ampersand before a umlaut, the char
looses its umlaut.
For example:
&謕en...
Will appear as:
zpen... |
|
|
|
CR:455110
|
|
455110 |
|
PB Enterprise |
|
DB Oracle |
|
|
Closed |
|
Microsoft Windows 2000 |
|
10.5.1 |
|
|
|
|
|
|
RPC call to an Oracle function fails. |
|
|
|
CR:455142
|
|
455142 |
|
PB Enterprise |
|
Jaguar Integration |
|
|
|
|
|
|
|
|
|
|
23 Jul 2007 |
Presently Not Targeted For Any Future Release Of This Product |
|
|
|
|
|
Customer has PB components in EAServer and starting with PB 10.5.1 build 6551 they are crashing when destroying NVOs and data stores for cleaning memory when user click close page on a screen.
This crash did not occur when they were using build 6537. |
|
|
|
CR:455149
|
|
455149 |
|
PB Enterprise |
|
DW Painter |
|
|
|
|
|
|
|
Retrieving a large list of Stored Procedure during datawindow building wizard crashes PowerBuilder. The crash only occurs if PB_HEAP_DEBUG variable is set. |
|
|
|
CR:455208
|
|
455208 |
|
PB Enterprise |
|
DB Sybase System |
|
|
|
|
|
|
|
|
|
|
05 Mar 2007 |
Not a Bug |
|
|
|
08 Apr 2007 |
Fixed |
|
|
|
|
|
PB Developer can control the isolation level when open connection to Database by sqlca.lock=[0,1,3] (in ASE's SYC)
The feature works as expected in Two Tier Client Server.
Customer has problem on the EAServer / PB application and need Sybase clarify two issues:
1) Is SQLCA.LOCK=[0,1,3] work with SYJ in EAServer under Official Support and recommended to use ?
see CR266321 was not fixed. Does it mean problem only affect JDBC connection
but SQLCA.LOCK feature can still be used with SYJ driver in PB Component and under support?
2) A transaction object DOES NOT submit a Clause with SQLCA.LOCK, thus only rely on the Default, (ASE Database Default is isolation level = 1, i.e. LOCK=1, committed read),
there is a chance that PB Component get connection from Cache which was using SQLCA.LOCK=0.
In that case, it is always expected the PB Component use Database's default LOCK=1.
However the actual isolation level obtained from Connection Cache may be LOCK=0. |
|
|
|
CR:455303
|
|
455303 |
|
PB Enterprise |
|
PBNI |
|
|
Closed |
|
Microsoft Windows 2000 |
|
10.5.1 |
|
|
|
|
|
|
Error "pbxRuntimeError: Error calling method of a PBNI object"
when trying to call a static method in a Java class |
|
|
|
CR:455426
|
|
455426 |
|
PB Enterprise |
|
UO - Runtime |
|
|
|
|
|
|
|
Customer's production server - EAServer5.2 + PBVM 10.0 of Corba Runtime Error:
"CORBA Runtime Error Occurs when try to invoke PB method........."
Side effect occurs when the database connection push back to Connection Pool and reuse by
other PB component.
After turn on the IIOP Trace log in EAServer side, Jaguar.log get hundred lines of the
error. Thus need Engg. help to investigate the investigate the IIOP log, and trace out
the possible cause of the Corba Runtime error. |
|
|
|
CR:455480
|
|
455480 |
|
PB Enterprise |
|
PB GUI |
|
|
Closed |
|
Microsoft Windows 2000 |
|
10.5.1 |
|
|
|
|
|
|
ALT + 10 does not display the good character on some machines. |
|
|
|
CR:455527
|
|
455527 |
|
PB Enterprise |
|
DW SaveAs |
|
|
|
|
|
|
|
The customer is doing a SaveAs from a datastore to a CSV! file. They have string fields in the datawindow that have embedded carrage returns. These string fields are not being handled correctly. When the CSV file is opened in an editor or by excel you can see that the carrage return caused a wrap and the rest of the data following the carrage return is now in the next row and the first column.
Saving the same datawindow to a TEXT! file works correctly. PB puts delimiters (double quotes) around the string fields with the carrage returns. It seems that something similar should be happening to the CSV! output as well. If you SaveAs Text! and then ImportFile the created text file it imports back into a datawindow the same as the original. But if you SaveAs CSV! the same datawindow, PB is not able to ImportFile the created csv file back into a datawindow. It should be able to import it's own file back in and have the datawindow look the same. |
|
|
|
CR:455538
|
|
455538 |
|
PB Enterprise |
|
DB ODBC |
|
|
|
|
|
|
|
When retrieving and using the retrieval arguments of AAA%,
the following error results:
SQLSTATE=22001
[DataDirect][ODBC DB2 Wire Protocol driver][UDB DB2 for Windows, UNIX, and Linux]Character data, right truncation occurred; for example, an update or insert value is a string that is too long for the column, or a datetime value cannot be assigned to a host variable, because it is too small." |
|
Workaround Description |
|
Works ok when using dbparm disablebind=1. |
|
|
|
CR:455657
|
|
455657 |
|
PB Enterprise |
|
DB Oracle |
|
|
Closed |
|
Solaris 2.8 |
|
10.2.1 |
|
|
|
|
|
|
retrieve() of datastore via O84 interface and DisableUnicode=1 fails with -1.
Possible caused by DB Error: "Select Error: Decimal conversion error. PowerBuilder supports only 18 decimal digits." with EAServer 5.2 on Solaris, PB 10.2.1.9671, Solaris 5.8, O84, DisableUnicode=1 |
|
|
|
CR:455723
|
|
455723 |
|
PB Enterprise |
|
DW - Runtime |
|
|
|
|
|
|
|
|
|
|
18 Apr 2007 |
Fixed |
|
|
|
18 Jul 2007 |
Fixed |
|
|
|
|
|
When '<' is specified to be filter of dw, PB10 returns the wrong result.
For example, when the following data is shown on DW.
col_1
----------
A
AA
B
BB
C
CC
a
aa
b
bb
c
cc
The following codes are added to application.
------------------------
string fil
fil = "(col_1 >= 'a' and col_1 < 'c')"
dw.setfilter(fil)
dw.filter()
------------------------
PB10 will return the wrong result.
An uppercase letter must not be contained.
col_1
----------
A
AA
B
BB
a
aa
b
bb
The right result.
col_1
----------
a
aa
b
bb |
|
|
|
CR:455787
|
|
455787 |
|
PB Enterprise |
|
Source Control |
|
|
Closed |
|
Microsoft Windows 2000 |
|
10.5.1 |
|
|
|
|
|
|
|
|
|
27 Feb 2008 |
Third Party Problem |
|
|
|
|
|
Refresh status problem with ClearCase 2003. |
|
|
|
CR:455817
|
|
455817 |
|
PB Enterprise |
|
Debugger |
|
|
Closed |
|
Windows XP |
|
11.0 Beta2 |
|
|
|
|
|
|
When pressing the Help cb from the
Exception Setting window in the debugger, online help doesn't appear. |
|
|
|
CR:455821
|
|
455821 |
|
PB Enterprise |
|
Debugger |
|
|
Closed |
|
Windows XP |
|
11.0 Beta2 |
|
|
|
|
|
|
When using the Exception Setting for 'Break into
debugger', PB is not showing the proper message and not pointing to
line where exception happened in debugger.
When setting off a dividebyzero exception in PB Native the error is:
PowerBuilder Exception Thrown Out
Type: dividebyzeroerror
Text: "Divide by zero at line 13 in clicked event of object cb_1 of w_main"
When running Winform, the error is:
PowerBuilder Exception Thrown Out
Type: E
Text: "Divide by zero at line 0 in function clicked of object cb_1 at
line -1 in Sybase.PowerBuilder.PBRuntimeError.Throw |
|
|
|
CR:455920
|
|
455920 |
|
PB Enterprise |
|
Window - Runtime |
|
|
|
|
|
|
|
PowerBuilder 10.5.1. memory usage. So, the problem is not that PB allocates memory for classes, it's scripts, and structures. But that memory used by each instance of a class for variables, does not seem to be freed. Not with PB memory allocation itself |
|
|
|
CR:455924
|
|
455924 |
|
PB Enterprise |
|
Menus - Runtime |
|
|
|
|
|
|
|
Problem Desc : The description of Changemenu need update due to new toolbar style.
In MDI application, if the changed toolbar's style is not same with current toolbar's style in sheet window, after change menu, it will keep current toolbar's style. |
|
|
|
CR:455925
|
|
455925 |
|
PB Enterprise |
|
Edit Mask |
|
|
|
|
|
|
|
Using mask "000", and highlighting the first two zeroes and then entering a number will give the wrong result. |
|
|
|
CR:455932
|
|
455932 |
|
PB Enterprise |
|
DW - Runtime |
|
|
Closed |
|
Microsoft Windows 2000 |
|
10.5.1 |
|
|
|
|
|
|
Has a Datawindow with an expression in a height property of a line object.
When printing the DW, it takes too much time with PB10.5 comparing to previous versions. |
|
|
|
CR:455947
|
|
455947 |
|
PB Enterprise |
|
DW SaveAs |
|
|
Closed |
|
Windows XP |
|
11.0 Beta2 |
|
|
|
|
|
|
When opening a *.xls file in excel that
was saved in PB using Excel8!, it looses the fractional decimal places
when the decimal separator is a comma.
Problem started happenning in PB 10.2.1 (build 9681). Works ok in PB 10.2.1 (build 9676).
Problem using dw_1.SaveAS('c:\test.xls',Excel8!,true) and saving *.xls from
dw painter using File/Save Rows As. |
|
|
|
CR:455967
|
|
455967 |
|
PB Enterprise |
|
Rich Text |
|
|
|
|
|
|
|
After using SelectTextAll(), Clear() and PasteRTF(),
input fields are not set properly when using InputFieldChangeData().
If you RMB on an input field and select properties, you can see the Data Value
is incorrect. |
|
|
|
CR:455975
|
|
455975 |
|
PB Enterprise |
|
Window - Runtime |
|
|
Closed |
|
Windows XP |
|
11.0 Beta2 |
|
|
|
|
|
|
When moving a mouse over a PowerTip, in PBNative, and if the powertip is larger than the display, the text appears to be cutoff.
When using Winform, the text appears to wrap correctly within the display area.
However on Winform and PBNative, if you click on the Picture Button where the powertiptext is assigned, the powertip will not display again. |
|
|
|
CR:456050
|
|
456050 |
|
PB Enterprise |
|
Rich Text |
|
|
|
|
|
|
|
The Rich Text Edit Control of PowerBuilder 10.5 is printing in Letter format
when using default A4 paper when populated using the InsertDocument function. |
|
|
|
CR:456082
|
|
456082 |
|
PB Enterprise |
|
PB.NET WebForm |
|
|
Closed |
|
Windows XP |
|
11.0 Beta2 |
|
|
|
|
|
|
Web form application aborts at start-up with InvalidCastException error. |
|
|
|
CR:456089
|
|
456089 |
|
PB Enterprise |
|
WT - Web DataWindow DTC |
|
|
|
|
|
|
|
Customer has a webDW with bad syntax which he believes should result in a -1 return code from
webDW.Generate()
method. When looking at the following help it is unclear whether or not this should result in a -1 or not. If bad DW syntax does not result in a -1 what failure would result in a -1?
What does "..database error messages, are also generated inline." translate to in order to catch errors? Customer is currently using GetLastError().
Following is from Help on Generate:
Return Values
Integer. 1 indicates success, and -1 indicates failure.
Usage
At runtime, Generate performs the tasks required to generate the dynamic HTML including retrieving the action context and generating the HTML inline. Connection errors, including database error messages, are also generated inline. |
|
Workaround Description |
|
-----------------------
PSE NOTES:
-----------------------
Description of Problem: Customer is checking the return code on:
webDW.Generate()
and regardless the return code is always 1.
OS:
Versions and Build #s Reported:
Versions and Build #s Tested:
Database/Driver File/Version:
Comments: |
|
|
|
CR:456093
|
|
456093 |
|
PB Enterprise |
|
Menus - Runtime |
|
|
Open |
|
Windows XP |
|
11.0 Beta2 |
|
|
|
|
|
|
Application has 2 menus, one has accelerator keys defined and one does not. At runtime, the menu with accelerator keys shows extra "white" space. Also, the Underline of the key that should display does not. (Example: &File should show "File" with the "F" underlined.) The underline shows up in the menu painter preview view but does not display at runtime. Also customer notes that the window resizes when issuing a ChangeMenu call. |
|
|
|
CR:456125
|
|
456125 |
|
PB Enterprise |
|
PB.NET |
|
|
Open |
|
Windows XP |
|
11.0 Beta2 |
|
|
|
|
|
|
Customer wants documentation to clarify how to correct "Unsupported Features" and "Warnings" on .Net conversions. Customers comments:
How do I resolve .Net migration the issues? What changes in the code do I need to make? There is NO guidance as to how to make them compliant.
Take the following error, as an example:
C0324: Calling an indirect ancestor event ('connection') is not supported in .NET
How should that be remedied? I have no idea and there are NO examples ANYWHERE!!
I would think that MANY long-time PB developers, when making the leap to a .NET deployment would/could have similar issues. Things that are legal in PB are no-no's in .NET.
Help us long-time PB developers out. Help us make the transition easier or risk losing us entirely.
We need an enhancement to clarify the steps to be taken on unsupported features and warnings. |
|
|
|
CR:456173
|
|
456173 |
|
PB Enterprise |
|
DW - Runtime |
|
|
|
|
|
|
|
PB is crashing when rowscopy is called after modify function is called. Followup issue from regression CR 439666 and CR 445317. |
|
|
|
CR:456184
|
|
456184 |
|
PocketBuilder |
|
Documentation |
|
|
Open |
|
Pocket PC 2003 |
|
2.0.4 |
|
|
|
|
|
|
Please update documentation.
PKB 2.0.4.940 ScannerNAme property is mandatory to make barcode Open() work |
|
|
|
CR:456190
|
|
456190 |
|
PB Enterprise |
|
DW SaveAs |
|
|
Closed |
|
Microsoft Windows 2000 |
|
10.2.1 |
|
|
|
|
|
|
SaveAsAcii and SaveAsFormattedText function repeats header texts of the output file |
|
|
|
CR:456301
|
|
456301 |
|
PB Enterprise |
|
DW Rich Text |
|
|
Closed |
|
Microsoft Windows 2000 |
|
10.5.1 |
|
|
|
|
|
|
LineCount function does not work with RichText DataWindow. |
|
|
|
CR:456333
|
|
456333 |
|
PB Enterprise |
|
DW - Runtime |
|
|
|
|
|
|
|
dw_1.Object.Data[1,1] after a modify on datawindow crashes PowerBuilder.
Workaround: Add an dw_1.InsertRow(0) statement before dw_1.Object.Data reference.
PER ENGINEERING: This has been fixed by other CRs. The crash does not occur in PB 10.5 build 6597 and later. |
|
|
|
CR:456363
|
|
456363 |
|
PB Enterprise |
|
DW - Runtime |
|
|
|
|
|
|
|
Report takes a long time to release control back to PB after printing. |
|
|
|
CR:456400
|
|
456400 |
|
PB Enterprise |
|
Jaguar Integration |
|
|
Open |
|
Microsoft Windows 2003 |
|
10.5.1 |
|
|
|
|
|
|
Enhancement request:Get the current method / event name dynamically for logging to EAS |
|
|
|
CR:456417
|
|
456417 |
|
PB Enterprise |
|
UO - Runtime |
|
|
|
|
|
|
|
System error after fully rebuild the application |
|
|
|
CR:456442
|
|
456442 |
|
PB Enterprise |
|
Automation |
|
|
|
|
|
|
|
The Automation Server (Wizard) in PB 10.5 and 10.2 generate improper .reg files that fail to merge into the registry.
Work-Around:
Change encoding from Unicode LE to ANSI/DBCS of the .reg file by using the Save As feature of the PB editor. |
|
|
|
CR:456478
|
|
456478 |
|
PB Enterprise |
|
DW Painter |
|
|
Open |
|
Windows XP |
|
11.0 Beta2 |
|
|
|
|
|
|
The customer would like to add the forms listed in the Windows/Printers/Server Properties (See psp.jpg) to the DataWindow /Printer Specifications/Paper Size list. (See dw_psp.jpg). |
|
|
|
CR:456548
|
|
456548 |
|
PB Enterprise |
|
PB Web Services |
|
|
|
|
|
|
|
WebService that returns NULL gives Client error:
Could not find element by name: Entity |
|
|
|
CR:456605
|
|
456605 |
|
PB Enterprise |
|
PB Web Services |
|
|
|
|
|
|
|
|
|
|
02 Jan 2008 |
Consult Complete |
|
|
|
|
|
When customer builds a web service with the Web Service Proxy Wizard using their wsdl, it appears to build the structure with the type <choice> (as in xsd file) incorrectly. When he tries to use the structures that are built in his request, the sent xml does not pass on the correct request id in XML.
The error message is : "Error Of Unmarshal of request. Request XML may not be valid" |
|
|
|
CR:456622
|
|
456622 |
|
PB Enterprise |
|
PB.NET WinForm |
|
|
Closed |
|
Windows XP |
|
11.0 Beta2 |
|
|
|
|
|
|
Shortcut key on menu item not working on Winform app when
a sheet is opened in mdi application.
Problem happens when menu is traditional or contemporary.
Works ok in PB Native code. The F6 key works when you close the sheet. |
|
|
|
CR:456626
|
|
456626 |
|
PB Enterprise |
|
Migration |
|
|
|
|
|
|
|
Regression issue related to migration of dynamically created crosstab datawindow.
PowerBuilder 10 application using dynamically created crosstab datawindow is not working in PB 10.5. Upon migration, execution of the application give an error "Please refresh crosstab definition". After doing that, initial retrieve succeeds, but subsequent Modify() and retrieve gives the same error. |
|
|
|
CR:456670
|
|
456670 |
|
PB Enterprise |
|
Source Control |
|
|
|
|
|
|
|
|
|
|
05 Oct 2007 |
Insufficient info provided |
|
|
|
|
|
Serena PVCS and Get latest version fails to refresh objects using "REFRESH_ALL EXCLUDE_CHECKOUT" |
|
|
|
CR:456800
|
|
456800 |
|
PB Enterprise |
|
PB Web Services |
|
|
|
|
|
|
|
A Memoryleak is experienced when calling a .NET web services engine with a large structure array as argument. |
|
|
|
CR:456880
|
|
456880 |
|
PB Enterprise |
|
PB.NET WinForm |
|
|
Closed |
|
Windows XP |
|
11.0 Beta2 |
|
|
|
|
|
|
When deploying a Winform or Webform app where
a script is calling a function that is passing a datwindow by reference and
the function name has dashes, the following error results:
Error when compiling generated c# code:
w_desc.ue_pre_save(7,40): error CS1002: ; expected
w_desc.ue_pre_save(7,41): error CS1520: Class, struct, or interface method must have a return type |
|
|
|
CR:460684
|
|
460684 |
|
PB Enterprise |
|
Debugger |
|
|
|
|
|
|
|
Application Object Close event is not triggered after HALT CLOSE in the PB Debugger. |
|
|
|
CR:460708
|
|
460708 |
|
PB Enterprise |
|
DW Painter |
|
|
|
|
|
|
|
In PB 10.5.1, if you go into the SQL of a datawindow in syntax mode and make a change, when you come back you get tmessage "The action just taken has forced the preview view to be rebuilt. You may need to re-retrieve your data." This message is still given even when the preview pane is closed. Is this a bug?
The message doesn't exist in earlier versions of PB or in PB 11. Is this behavior going away? |
|
|
|
CR:460774
|
|
460774 |
|
PB Enterprise |
|
Printing |
|
|
|
|
|
|
|
The window is printed when print() of a window object is called.
But if another window is shown on the target window, two windows will overlap and will be printed. |
|
|
|
CR:460832
|
|
460832 |
|
PB Enterprise |
|
PB Web Services |
|
|
|
|
|
|
|
When calling a webservice, an exception occurs
with the following message:
//<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header/><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Client</faultcode><faultstring>reqId UNKNOWN: Unable to retrieve lookup user/req_id.</faultstring></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
Customer believes the header is not being sent with the ws request. Testcase includes
11325882_valid_request.xml and 11325882_INvalid_request.xml shows difference in
output is the header. The 11325882_valid_request.xml taken from another app
where web service worked ok.
RESOLUTION: Workaround is to initialize the following values:
security.encodedmustunderstand = "0"
security.encodedmustunderstand12 = "0"
security.encodedrelay = "0"
The reason is the .NET framework required above variables to be set. PB doesn't care what the values are, but .NET requires it to be either "0" or "1"
depending on what the customer wants. In the customer's case, the values were not set and PB defaulted to an empty string. But .NET didn't allow them
to be an empty string. |
|
|
|
CR:460857
|
|
460857 |
|
PB Enterprise |
|
Jaguar Integration |
|
|
|
|
|
|
|
|
|
|
18 Jul 2007 |
Presently Not Targeted For Any Future Release Of This Product |
|
|
|
|
|
When deploying a pb component to easerver 5.5, the
following message appears in the log file:
Feb 26 11:27:39 2007: 180916-System exception 'CORBA::BAD_OPERATION' thrown by component 'Jaguar/Management' method 'isEjbProxyServer'
Feb 26 11:27:39 2007: SystemException: BAD_OPERATION (Jaguar/Management/isEjbProxyServer - jagadmin@10.18.43.234)
Component appears to deploy ok. |
|
|
|
CR:461005
|
|
461005 |
|
PB Enterprise |
|
DW Edit Mask |
|
|
|
|
|
|
|
If the text in a editmask column is selected and then pressing the cursor left arrow key the cursor moves to first column. |
|
|
|
CR:461010
|
|
461010 |
|
PB Enterprise |
|
Debugger |
|
|
|
|
|
|
|
Debugger doesn't display arrays with more than 1000 elements |
|
|
|
CR:461014
|
|
461014 |
|
PB Enterprise |
|
Window - Runtime |
|
|
Open |
|
Windows XP |
|
11.0 Beta2 |
|
|
|
|
|
|
|
|
|
|
Presently Not Targeted For Any Future Release Of This Product |
|
|
|
|
|
When a pbl is shared between two targets
and that pbl contains a userobject with a external global function, you
cannot open a userobject unless you regenerate the object.
When you try to open the object, the following message results:
Select User Object
Open of User object failed. It has been migrated to current version format,
but must be successfully regenerated. |
|
|
|
CR:461023
|
|
461023 |
|
PB Enterprise |
|
Language - Runtime |
|
|
|
|
|
|
|
|
|
|
09 May 2007 |
Diagnostic Provided |
|
|
|
|
|
Customer is using their own DLL and making external function calls. After migrating from PB 8 to PB 10 the results are not the same. |
|
|
|
CR:461035
|
|
461035 |
|
PB Enterprise |
|
PB GUI |
|
|
|
|
|
|
|
Customer wants Source Editor to display entire selection on a Find. |
|
|
|
CR:461044
|
|
461044 |
|
PB Enterprise |
|
PB.NET WinForm |
|
|
Closed |
|
Windows XP |
|
11.0 Beta2 |
|
|
|
|
|
|
When deploying a winform or webform app that
has a local external function defined as:
function int AT_BeginAcquire() LIBRARY "ocx\traxappbio.dll"
The following deployment error results:
w_start(32,97) error CS1009: Unrecognized escape sequence |
|
|
|
CR:461156
|
|
461156 |
|
PB Enterprise |
|
Source Control |
|
|
|
|
|
|
|
In the PB IDE workspace and connected to source control,
after you expand a pbl and then rmb on a object, the context menu for source
control doesn't appear. It shows the context menu as if your not connected to scc.
If you wait a few seconds and then retry, the scc context menu appears.
I realize a separate thread is running in the background. But the objects
show that they are registered within source control (green dot). |
|
|
|
CR:461176
|
|
461176 |
|
PB Enterprise |
|
Language - Runtime |
|
|
|
|
|
|
|
If you initialize a decimal variable with an integer value, it behaves from that point on as an integer. |
|
|
|
CR:461260
|
|
461260 |
|
PB Enterprise |
|
DB MS SQLServer |
|
|
Closed |
|
Microsoft Windows 2000 |
|
11.0 |
|
|
|
|
|
|
|
11.0 |
|
14 Mar 2007 |
Fixed |
|
11.0 |
|
05 Apr 2007 |
Fixed |
|
|
|
|
|
Column data not fetched if datatype is 'text'. |
|
|
|
CR:461279
|
|
461279 |
|
PB Enterprise |
|
DB Oracle |
|
|
Closed |
|
Microsoft Windows 2000 |
|
10.5.1 |
|
|
|
|
|
|
DBcancel function does not work with staticbind=0. |
|
|
|
CR:461287
|
|
461287 |
|
PB Enterprise |
|
Window - Runtime |
|
|
|
|
|
|
|
migrated application from 9.0.3 to 10.5.1 build 6565 and is consistantly crashing when running the application. It seems he can do a full rebuild and then run the app but if he gets out of powerbuilder and then goes back in and runs the application he will crash. |
|
|
|
CR:461292
|
|
461292 |
|
PB Enterprise |
|
PB.NET WebForm |
|
|
Closed |
|
Windows XP |
|
11.0 Beta2 |
|
|
|
|
|
|
Getting errors during deployment of a WebForms Target when it has a function that accepts a argument of type "PowerObject" by reference and you make dynamic datawindow calls. |
|
|
|
CR:461443
|
|
461443 |
|
PB Enterprise |
|
Debugger |
|
|
|
|
|
|
|
OS: Windows XP SP2
Versions and Build #s Tested: PB 10.5_5079, 10.5.1_6565 and 10.5.1_6595
Database/Driver File/Version: N/A
In debug mode, if you hover the mouse over the PDOM_ELEMENT declaration inside button code to see the alt value, PowerBuilder crashes. |
|
|
|
CR:461526
|
|
461526 |
|
PB Enterprise |
|
Window - Runtime |
|
|
|
|
|
|
|
In a function of user object on Popup! window a forced call to GarbageCollect causes PB to crash. This doesn't happen with 10.5.1.6551. |
|
Workaround Description |
|
This doesn't happen with 10.5.1.6551. |
|
|
|
CR:461548
|
|
461548 |
|
PB Enterprise |
|
Jaguar Integration |
|
|
|
|
|
|
|
When destroying a component containing composite
datawindows, the following crashed occurred:
FAULTING_IP:
PBSHR105!PbHeap_panic+237 [e:\pb105\3rdparty\heap\spbheap.c @ 1421]
10bdd127 cc
065ce1ec 10bdd666 0cd04d20 ffbbffbb 00000021 PBSHR105!PbHeap_panic+0x237 [e:\pb105\3rdparty\heap\spbheap.c @ 1421]
065ce1fc 10bdc7c7 0cd04d20 065ce21c 065ce224 PBSHR105!PbHeap_sizeEx+0x66 [e:\pb105\3rdparty\heap\spbheap.c @ 2681]
065ce60c 10bdd076 00000000 0cd04d20 0d7d0b94 PBSHR105!print+0x27 [e:\pb105\3rdparty\heap\spbheap.c @ 1256]
065cea78 10bdeba2 0cd04d20 0cd04d20 0cc56138 PBSHR105!PbHeap_panic+0x186 [e:\pb105\3rdparty\heap\spbheap.c @ 1387]
065ceacc 107ee52f 0cd04d18 0d7d0b94 00000000 PBSHR105!PbHeap_free+0xb2 [e:\pb105\3rdparty\heap\spbheap.c @ 2288]
065ceaf8 107eea8f 0f3959c8 0d7ff804 00000001 PBDWE105!dwTableResetNestedReports+0x1af [e:\pb105\dw\engine\table\dwtretr.cpp @ 3592]
065ceb34 107eefe2 00000000 00000001 00000001 PBDWE105!dwTblResetcontent+0x30f [e:\pb105\dw\engine\table\dwtretr.cpp @ 1847]
065ceb54 1066143c 0d7d0b94 0d0fb924 0d7d0b94 PBDWE105!dwTableReset+0xe2 [e:\pb105\dw\engine\table\dwtretr.cpp @ 125]
065ceb70 107d27ed 115d9c72 07adac78 0d7c7320 PBDWE105!DWDataWindow::Reset+0x5c [e:\pb105\dw\engine\object\dwofun.cpp @ 1665]
065ceb74 115d9c72 07adac78 0d7c7320 065ceb90 PBDWE105!DWSemanticFunctions::Reset+0x5d [e:\pb105\dw\engine\external\dwesf.cpp @ 1351]
065ceba4 1162a7fc 0d0fb924 00000000 00000001 PBVM105!fnReset+0x62 [e:\pb105\runtime\function\fndwm.cpp @ 550]
065cebe8 1162a339 00000000 0def0060 000000c0 PBVM105!OB_RUNTIME_CLASS::invoke+0x4ac [e:\pb105\runtime\obj_mgr\obclass.cpp @ 2523]
065cec30 1164851d 0d0fb924 0def0060 000000c0 PBVM105!OB_RUNTIME_CLASS::invoke+0x1c9 [e:\pb105\runtime\obj_mgr\obclass.cpp @ 2332]
065cec54 11690e42 00000000 000000c0 00000000 PBVM105!OB_OBJECT_LOCAL::invoke+0x2d [e:\pb105\runtime\obj_mgr\obobjloc.cpp @ 1252]
065cecc8 1174fb8a 0d0fb924 00000040 00000000 PBVM105!ot_process_dotfunccall+0x4c2 [e:\pb105\runtime\obtools\otcalls.cpp @ 327]
065cecec 116a81e1 0d0fb924 0e3e25ba 0d0fb924 PBVM105!sf_dotfunccall+0x3a [e:\pb105\runtime\semfuncs\sfcalls.cpp @ 90]
07983888 115d9c0f 07969080 00000000 079690b0 PBVM105!rt_exec_pcode+0x371 [e:\pb105\runtime\engine\rtengine.cpp @ 2722]
07969050 00000000 00000000 00000000 00000000 PBVM105!fnModifiedCount+0x9f |
|
|
|
CR:461677
|
|
461677 |
|
PB Enterprise |
|
PB.NET WebForm |
|
|
Closed |
|
Windows XP |
|
11.0 Beta2 |
|
|
|
|
|
|
The default printer for the webform can not be changed. Also the webform uses ghostscript to print PDFs and it can not be changed. If you remove ghostscript from the OS it no longer prints PDFs at all. |
|
|
|
CR:461683
|
|
461683 |
|
PB Enterprise |
|
Window - Runtime |
|
|
|
|
|
|
|
|
|
|
11 May 2008 |
Presently Not Targeted For Any Future Release Of This Product |
|
|
|
|
|
When you use helpcontextid and the id isn't found, the showpopuphelp dialogue box shows directly next to the control. If the helpcontextid is found the showpopuphelp dialogue is displaying centered on the datawindow control. The showpopup dialogue should display next to the control. |
|
|
|
CR:461684
|
|
461684 |
|
PB Enterprise |
|
DB Sybase System |
|
|
|
|
|
|
|
Using SYC Native Driver, returning a Null to a datetime column in Datawindow throws error. WIth ODBC, the error is not thrown.
Workaround: In stored procedure, instead of "select null;" use "select convert(datetime,null)". Obviously this is an over-simplification of the situation, but using the Convert function should work. |
|
|
|
CR:461685
|
|
461685 |
|
PB Enterprise |
|
DW DDDW |
|
|
Closed |
|
Microsoft Windows 2000 |
|
10.5.1 |
|
|
|
|
|
|
RighToLeft DDDW turns to left when getting focus. |
|
|
|
CR:461786
|
|
461786 |
|
PB Enterprise |
|
OLE - Active X - OCX |
|
|
|
|
|
|
|
It is reported that the PowerBuilder will hit Access Violation when try to access the
OLE object function in certain condition.
Problem seems related that small size of the OLE Control cannot
display the OLE Object. Testing result show that OLE Object is not instantiated when the
size of control is too small (or invisible ).
Problem may be workaround by one of or combination of below.
- Adjust the Control size by code at runtime.
- Resizeable = true (resize manually)
- SizeToDisplay = true.
However, it may not be considered as the resolution to the problem. |
|
Workaround Description |
|
Problem may be workaround by one of or combination of below.
- Adjust the Control size by code at runtime.
- Resizeable = true (resize manually)
- SizeToDisplay = true. |
|
|
|
CR:461856
|
|
461856 |
|
PB Enterprise |
|
DW - Runtime |
|
|
|
|
|
|
|
If the protect expression on datawindow columns is used and the situation occurs where the user uses the Page Down key (or the Page Up key) that would scroll to a row where all the columns are protected, PowerBuilder hangs. The down (and up) arrow seems to work OK, it just stops and does nothing when there are no more unprotected places to go, but the page down and the page up keys cause a hang. |
|
|
|
CR:461863
|
|
461863 |
|
PB Enterprise |
|
PB.NET WinForm |
|
|
Closed |
|
Windows XP |
|
11.0 Beta2 |
|
|
|
|
|
|
A case statement is not being evaluated properly
for a winform application.
A uo function calls another uo function returning a long. That return value of
type long is evaluated in a case statement and always evaluates to the case 0
expression even though the value 211288064.
rett2 = rett // both values are 211288064
choose case rett2
case 0 // pb winform falls into this case statement
err = 'System was out of memory' |
|
|
|
CR:461879
|
|
461879 |
|
PB Enterprise |
|
Window Painter |
|
|
|
|
|
|
|
A checkbox on a window with StyleLowered, the text color does not change when changed in painter or in runtime. If one changes the border style to StyleRaised the text color changes. |
|
|
|
CR:462015
|
|
462015 |
|
PocketBuilder |
|
DB ODBC |
|
|
Closed |
|
Pocket PC 2003 |
|
2.0.4 |
|
|
|
|
|
|
SELECTBLOB against a long varchar column results in the following error:
SQLDbCode= 999
SQLErrText= SQLSTATE = S1090 [Sybase][ODBC Driver]Invalid string or buffer length
--------------------
PocketBuilder version 2.0.4
ASA9 9.02 build 3221 as well as SA10 (10.0.0 build 2781)
We just started using long varchars so I don't have much older information than that. |
|
|
|
CR:462139
|
|
462139 |
|
PB Enterprise |
|
DW - Runtime |
|
|
|
|
|
|
|
OS: Windows XP SP2
Versions and Build #s Tested: PB 10.5.1_6595
Datawindow shows strange at the end of char and varchar column data read from database. It was reproduced with both Microsoft SQL Server via OLEDB interface and also with ASA db by using ODBC interface. The issue does not happen with external datawindows. To reproduce the issue, the datawindow must read data from a database. |
|
|
|
CR:462152
|
|
462152 |
|
PB Enterprise |
|
PB.NET WebForm |
|
|
Open |
|
Windows XP |
|
11.0 Beta2 |
|
|
|
|
|
|
When you move the mouse over a column in a
dw control for a PB Webform, no pointer (arrow or hourglass) will show.
The pointer does appear ok for PBNative and PBWinform. |
|
|
|
CR:462321
|
|
462321 |
|
PB Enterprise |
|
Documentation |
|
|
Closed |
|
Windows XP |
|
11.0 Beta2 |
|
|
|
|
|
|
Calling the Yield() function within a WebForm causes Threading Error.Calling the Yield() function within a WebForm causes Threading Error. |
|
|
|
CR:462396
|
|
462396 |
|
PB Enterprise |
|
Workspace and Targets |
|
|
|
|
|
|
|
The same shortcut key(ALT + r) is assigned to "Properties" and "Variables" of the "Serch Library Entries" dialog |
|
|
|
CR:462432
|
|
462432 |
|
PB Enterprise |
|
DW - Runtime |
|
|
|
|
|
|
|
Create and destroy of datastore crashes PB |
|
|
|
CR:462436
|
|
462436 |
|
PB Enterprise |
|
Documentation |
|
|
|
|
|
|
|
|
|
|
16 Mar 2007 |
Presently Not Targeted For Any Future Release Of This Product |
|
|
|
|
|
PB-11 (and soon PB 10.5.1)
This is a change of default behavior.
We added a registry entry to _enable_ the PBTest API (often called PB TAPI).
Previously this was always enabled, but with Vista being sensitive about applications registering COM servers willy-nilly, we made this optional.
The behavior change is that this now checks a registry entry before deciding to register the COM server. Previously, we would blindly register the server.
Registry Entry:
This affects both the IDE and customer generated applications.
Branch: HKEY_Current_User\software\sybase\PowerBuilder\11.0
Entry: EnableTestAPI
DWORD Value: non-zero value means to enable it (true state)
absent or zero means to NOT enable it |
|
|
|
CR:462444
|
|
462444 |
|
PB Enterprise |
|
DW - Runtime |
|
|
|
|
|
|
|
Customer has code in his ItemFocusChanged Event that did not trigger in previous versions of PB 10.2.1 (up to PB 10.2 tested through build 8011++) when using the Filter() and is now triggering and a problem in later builds of PB 10.2.1. |
|
|
|
CR:462503
|
|
462503 |
|
PB Enterprise |
|
UO Painter |
|
|
Open |
|
Windows XP |
|
11.0 Beta2 |
|
|
|
|
|
|
After creating standard nonvisual objects of
type: throwable, runtime and exception, there a icon next to the getmessage and
setmessage, in the function list, indicating their is viewable code, but there is none. |
|
|
|
CR:462559
|
|
462559 |
|
PB Enterprise |
|
Machine Code Deployment |
|
|
|
|
|
|
|
"Error calling method of a PBNI object" / Exception with C/Machine code. Works fine with P code. Code is based on techdoc: http://www.sybase.com/detail?id=1037085
runtime error is cuased by an exception.
Possible workaround: catch the exception and ignore it. |
|
|
|
CR:462706
|
|
462706 |
|
PB Enterprise |
|
Library Painter |
|
|
|
|
|
|
|
string of the 'Search Library Entries' dialog may return the wrong search result.The correct result cannot be obtained when one part of a word or a phase is specified. |
|
|
|
CR:462716
|
|
462716 |
|
PB Enterprise |
|
Documentation |
|
|
|
|
|
|
|
print() does the capture of the screen including the specified object. When performing printing and another window is shown on the target window, they overlap and are printed. |
|
|
|
CR:462794
|
|
462794 |
|
PB Enterprise |
|
DW - Runtime |
|
|
|
|
|
|
|
OS: Windows XP SP2
Versions and Build #s Tested: PB 10.5.1_6021 and 10.5.1_6595
Database/Driver File/Version: ASA 9.0
Comments: The dw filter never works for TABULAR dw that is pasted in composite datawindow when datawindow is fullfilled via GetFullState/SetFullState. If we use a grid datawindows instead of TABULAR one to be pasted in composite datawindow, and still perform GetFullState/SetFullState action, the filter works fine.
If we open the composite dw, or one of the child dws directly in db painter, or if we retrieve the dw directly (without using GetFullState/SetFullState), all works fine, too. |
|
|
|
CR:462909
|
|
462909 |
|
PB Enterprise |
|
Printing |
|
|
|
|
|
|
|
Ability to generate a pdf file that will
allow editing of fields in pdf like when a PDF file is generated using
Adobe PDFForms.
Further investigation is needed. |
|
|
|
CR:463049
|
|
463049 |
|
PocketBuilder |
|
System Runtime Functions |
|
|
|
|
|
|
|
For icon references (and I guess bitmaps too) - add ability to reference images within a file. This would allow us to refer directly to O.S. files without having to extract them.
Extract from newsgroup posting:
What would be really cool is to allow us to enter something like this:
iconfile.dll;56 which would cause it to load icon #56 from the file
iconfile.dll. This would allow us to refer directly to operating system
icons without having to extract them and include them in our app.
Notes:
a) This feature works for icons and bitmaps.
b) When building the application, tick the "PKD" checkbox and deploy the PKD.
This avoids an "Unresolved Resource" issue during the build process.
c) The resource DLL (or EXE) that is the source of the icon or bitmap image will remain loaded for the lifetime of the process. |
|
|
|
CR:463051
|
|
463051 |
|
PB Enterprise |
|
Menus - Runtime |
|
|
|
|
|
|
|
With b/w toolbar icons, disabled icons are difficult to recognize as they are not clearly greyed out. |
|
|
|
CR:463087
|
|
463087 |
|
PB Enterprise |
|
DW - Runtime |
|
|
|
|
|
|
|
10.5.1 regression starting with build 5073. Customer has a datawindow and clicks on a row which becomes the current row. Then he is modifying a column height with a Modify:
dw_1.Modify("emp_lname.height = 50")
//dw_1.object.emp_lname.height = 50
But after that the current row has changed to 1. This did not happen in version in builds prior to 5073. Same behavior using dot notation as well. The current row should not change on this modification. |
|
|
|
CR:463143
|
|
463143 |
|
PB Enterprise |
|
Language - Compiler |
|
|
|
|
|
|
|
Runtime Error: Internal Runtime Engine failure. Contact Sybase Technical Support. (NOOP).
when assigning an any variable to a different datatype in a function. |
|
Workaround Description |
|
Use the correct conversion function before usage. |
|
|
|
CR:463156
|
|
463156 |
|
PB Enterprise |
|
System Runtime Functions |
|
|
|
|
|
|
|
Customer would like to have String() function to work with[date] format. So far only [shortdate] works as format.
If using PFC of_getitem of n_cst_dwsrv then modify code to enable this. See workaround field for more details. |
|
Workaround Description |
|
When using PFC of_getitem() of n_cst_dwsrv you can modify the code in the function:
My code fragment would be:
ls_col_format = idw_Requestor.Describe ( as_column + ".format" )
ls_col_mask = idw_Requestor.Describe ( as_column + ".editmask.mask")
datetime l_dt
IF ls_col_mask = "!" or ls_col_mask = "?" or string(l_dt, ls_col_mask) = "" THEN
ls_string_format = ls_col_format
ELSE
ls_string_format = ls_col_mask
lb_editmask_used = TRUE
END IF |
|
|
|
CR:463172
|
|
463172 |
|
PB Enterprise |
|
Window - Runtime |
|
|
|
|
|
|
|
A request to switch back to using the old stock icons from before PowerBuider 10.
For example through using a switch in the pb.ini file. |
|
|
|
CR:463398
|
|
463398 |
|
PB Enterprise |
|
Documentation |
|
|
|
|
|
|
|
In PowerBuilder10, sort oder of DataWindow was changed in dictionary-order.
When filter() is used, a different result from a previous version may be returned. |
|
|
|
--------------------------------------华丽的分割线-------------------------------------------------------------------------
之前就已经研发成功了能够从Sybase SQL Anywhere的DB文件中恢复数据的工具:ReadASADB。
此工具支持ASA v5.0,v6.0,v7.0,v8.0,v9.0,v10.0,v11.0,v12.0等版本。
恢复Sybase SQL Anywhere的工具在国内应该算首创。
ReadASADB功能
能够从损坏的SQL Anywhere数据文件(.db)和UltraLite数据文件(.udb)上提取数据的非常规恢复工具
- 适用于所有的SQL Anywhere版本 包括:5.x,6.x,7.x,8.x,9.x,10.x,11.x,12.x
- 适用于所有的UltraLite版本
- 能够恢复出来表结构和数据
- 能够恢复自定义数据类型
- 能够恢复存储过程等对象的语法
- 能够导出到目标数据库
- 能够导出到SQL文件并生成导入脚本
- 支持多种字符集 包括:cp850、cp936、gb18030、utf8等
- 能够恢复未加密或者简单加密类型的数据
- 简单易用
- 限制:不支持AES加密的数据文件
请参考:
研发成功了从Sybase SQL Anywhere的DB文件上恢复数据的工具
SQL Anywhere数据库非常规恢复工具ReadASADB使用介绍
ReadASADB适用场景
各种误操作:
- 误截断表(truncate table)
- 误删除表(drop table)
- 错误的where条件误删数据
- 误删除db或log文件
- 误删除表中的字段
本工具的应用场景:
1.因为物理磁盘故障、操作系统、系统软件方面或者掉电等等原因导致的Sybase SQL Anywhere数据库无法打开的情况;
2.误操作,包括truncate table,drop table,不正确的where条件导致的误删除等;
Sybase SQL Anywhere无法打开时,比较常见的错误是:Assertion failed。
如:
1、Internal database error *** ERROR *** Assertion failed:201819 (8.0.1.2600) Checkpoint log: invalid bitmap page -- transaction rolled back
2、Internal database error *** ERROR *** Assertion failed:201819 (8.0.1.2600) Page number on page does not match page requested -- transaction rolled back
3、Internal database error *** ERROR *** Assertion failed:200502 (9.0.2.2451) Checksum failure on page 23 -- transaction rolled back
4、File is shorter than expected
5、Internal database error *** ERROR *** Assertion failed: 201116 Invalid free list index page found while processing checkpoint log -- transaction rolled back
6、*** ERROR *** Assertion failed: 51901 Page for requested record not a table page or record not present on page等等。
+-------------------------------------华丽的分割线-------------------------------------------------------------------------