Connecting to service with invalid servicename yields incorrect error message
-----------------------------------------------------------------------------

                 Key: CORE-5039
                 URL: http://tracker.firebirdsql.org/browse/CORE-5039
             Project: Firebird Core
          Issue Type: Bug
          Components: API / Client Library
    Affects Versions: 3.0 RC 1
         Environment: Firebird-3.0.0.32199-0_x64
            Reporter: Mark Rotteveel
            Priority: Minor


In Firebird 3 (confirmed in 3.0.0.32199, but I have also seen in earlier 
versions) connecting to a non-existent service name (eg "doesnotexist" instead 
of "service_mgr" yields the wrong error message "unavailable database" 
(isc_unavailable, 335544375) instead of the expected "Cannot attach to services 
manager" (isc_service_att_err, 335544792).

The problem seems to be in the combination of  Firebird client and server 
version. The problem is reproducible using
Client 3.0.0.32199 with Firebird server 3.0.0.32199

Not reproducible with:
Client 3.0.0.32199 with Firebird server 2.5.5.26952
Client 2.5.5.26952 with Firebird server 2.5.5.26952
Client 2.5.5.26952 with Firebird server 3.0.0.32199

This is probably caused by unifying attachment logic for services and databases.

This can be reproduced using the Jaybird test 
org.firebirdsql.gds.ng.jnaTestJnaServer.testBasicStatusVectorProcessing_wrongService()

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to