Thread: [pgAdmin III] #177: Crash on F5 after "ALTER FUNCTION test() SET SCHEMA foo; "

[pgAdmin III] #177: Crash on F5 after "ALTER FUNCTION test() SET SCHEMA foo; "

From
"pgAdmin Trac"
Date:
#177: Crash on F5 after "ALTER FUNCTION test() SET SCHEMA foo;"
---------------------+------------------------------------------------------
 Reporter:  brsa     |       Owner:  dpage  
     Type:  bug      |      Status:  new    
 Priority:  major    |   Milestone:  1.10.3 
Component:  pgadmin  |     Version:  1.10   
 Keywords:  browser  |    Platform:  windows
---------------------+------------------------------------------------------
 Testing Guillaume's new version of pgadmin3.exe from Apr. 30 in a v.1.10.2
 environment on Win XP Home.

 I found a way to crash pgAdmin. Tried this with various functions, crashed
 every time. Steps to reproduce are below.

 Only tested under Windows, but I suspect it might be a problem on all
 plattforms.
 I could not trigger the crash with ALTER TABLE or ALTER VIEW.

 Demo:

 -- Display existing function of a schema in the browser.
 -- Move a selected function to another schema:
 ALTER FUNCTION test() SET SCHEMA foo;
 -- Press F5 to refresh the browser, while the function in question is
 selected in the browser in its old location. -> Crash.
 --If the function is not selected before F5, pgAdmin won't crash.

--
Ticket URL: <http://code.pgadmin.org/trac/ticket/177>
pgAdmin III <http://code.pgadmin.org/trac/>
pgAdmin III

#177: Crash on F5 after "ALTER FUNCTION test() SET SCHEMA foo;"
---------------------+------------------------------------------------------
 Reporter:  brsa     |       Owner:  dpage  
     Type:  bug      |      Status:  new    
 Priority:  major    |   Milestone:  1.10.3 
Component:  pgadmin  |     Version:  1.10   
 Keywords:  browser  |    Platform:  windows
---------------------+------------------------------------------------------

Comment(by gleu):

 Easy to reproduce. And it sure needs to be fixed.

--
Ticket URL: <http://code.pgadmin.org/trac/ticket/177#comment:1>
pgAdmin III <http://code.pgadmin.org/trac/>
pgAdmin III

#177: Crash on F5 after "ALTER FUNCTION test() SET SCHEMA foo;"
---------------------+------------------------------------------------------
 Reporter:  brsa     |       Owner:  gleu    
     Type:  bug      |      Status:  assigned
 Priority:  major    |   Milestone:  1.10.3  
Component:  pgadmin  |     Version:  1.10    
 Keywords:  browser  |    Platform:  windows 
---------------------+------------------------------------------------------
Changes (by gleu):

  * owner:  dpage => gleu
  * status:  new => assigned


--
Ticket URL: <http://code.pgadmin.org/trac/ticket/177#comment:2>
pgAdmin III <http://code.pgadmin.org/trac/>
pgAdmin III

#177: Crash on F5 after "ALTER FUNCTION test() SET SCHEMA foo;"
----------------------+-----------------------------------------------------
  Reporter:  brsa     |       Owner:  gleu   
      Type:  bug      |      Status:  closed 
  Priority:  major    |   Milestone:  1.10.3 
 Component:  pgadmin  |     Version:  1.10   
Resolution:  fixed    |    Keywords:  browser
  Platform:  windows  |  
----------------------+-----------------------------------------------------
Changes (by gleu):

  * status:  assigned => closed
  * resolution:  => fixed


Comment:

 Fixed in r8334 and r8335.

--
Ticket URL: <http://code.pgadmin.org/trac/ticket/177#comment:3>
pgAdmin III <http://code.pgadmin.org/trac/>
pgAdmin III