Log On
Embarcadero Home
Watch, Follow, &
Connect with Us
Share This
QualityCentral
Communities
Articles
Blogs
Resources
Downloads
Help
QualityCentral
Delphi-BCB
Database
DataSnap
Client
Server
You are not logged in.
Help
Print
Public Report
Report From:
Delphi-BCB/Database/DataSnap/Client
[ Add a report in this area ]
Report #:
104368
Status:
Open
In DBXConnection.pas for Free Pascal iOS mobile conenctors, calling 'dbxconn.start;' is not needed. We must not call start.
Project:
Delphi
Build #:
16.0.4429.46931
Version:
16.4
Submitted By:
Tomohiro Takahashi
Report Type:
Crash / Data loss / Total failure
Date Reported:
3/22/2012 10:15:24 PM
Severity:
Critical / Show Stopper
Last Updated:
4/9/2012 12:48:02 AM
Platform:
Apple mobile OS
Internal Tracking #:
27131
Resolution:
None
(Resolution Comments)
Resolved in Build:
:
None
Duplicate of:
None
Voting and Rating
Overall Rating:
(1 Total Rating)
5.00 out of 5
Total Votes:
None
Description
In DBXConnection.pas for Free Pascal iOS mobile conenctors, calling 'dbxconn.start;' is not needed. We must not call start. It is a bug.
Please see
...\freepascal_ios42\Proxy\DBXConnection.pas
and
...\freepascal_ios50\Proxy\DBXConnection.pas
Note:
NSURLConnection Class Reference
Loading Data Asynchronously
+ connectionWithRequest:delegate:
http://developer.apple.com/library/ios/#documentation/cocoa/Reference/Foundation/Classes/NSURLConnection_Class/Reference/Reference.html
------
Creates and returns an initialized URL connection and begins to load the data for the URL request.
------
Steps to Reproduce:
[DBXConnection.pas]
---------------
...
procedure TDBXConnection.start;
begin
{$IFDEF FPC}
//dbxconn.start; // no need to call start, because NSURLConnection has already started network access.
while (not complete and not cancelled) do
begin
NSRunLoop.currentRunLoop.runMode_beforeDate(NSDefaultRunLoopMode,
NSDate.distantFuture);
end;
{$ENDIF}
end;
function TDBXConnection.InitWithRequest_returningResponse_error_usingDelegate
...
begin
...
...
dbxconn := NSURLConnection.connectionWithRequest_delegate(request, self);
...
...
end;
...
---------------
Workarounds
None
Attachment
None
Comments
Tomohiro Takahashi at 4/9/2012 6:24:35 AM
-
This report was opened with valid Internal Tracking Number.
Thanks.
View Your Reports
Search
Server Response from: ETNACODE01
Developer Tools
Blackfish SQL
C++Builder
Delphi
FireMonkey
Prism
InterBase
JBuilder
J Optimizer
HTML5 Builder
3rdRail & TurboRuby
Database Tools
Change Manager
DBArtisan
DB Optimizer
ER/Studio
Performance Center
Rapid SQL
Technical Articles
Tutorials
White Papers
Press Releases
Newsletters
Add Content (GetPublished)
Audio
Audio & Video
Video
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Tags
Technology Partners
Downloads
Free Trials
Registered User Downloads
Beta Programs
Add Content (GetPublished)
Articles
Blogs
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Member Services
About
Connect with Us