Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002453 [Quercus] minor always 02-20-08 15:03 02-22-08 20:35
Reporter bchan View Status public  
Assigned To nam
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.1.5 Product Version
  Product Build
Summary 0002453: Make PDO less strict when looking up a Java data source
Description Modify PDO.java line 768 from:

else if (dsn.startsWith("java:"))

to:

else if (dsn.startsWith("java"))
Steps To Reproduce
Additional Information Liferay programmatically sets a java data source at:

java_liferay:jdbc/LiferayPool

and not at:

java:/jdbc/LiferayPool

because this path is protected by most app servers.

When looking up via PDO, with the call:

$pdo = new PDO("java_liferay:jdbc/LiferayPool");

It'll break because it starts with java_ and not with java:

This slight change won't break anything else but makes it easier for third party integrators.

See http://support.liferay.com/browse/LEP-5048 [^]
Attached Files

- Relationships

- Notes
(0002795)
nam
02-22-08 20:35

php/1s75
 

- Issue History
Date Modified Username Field Change
02-20-08 15:03 bchan New Issue
02-22-08 13:53 nam Status new => assigned
02-22-08 13:53 nam Assigned To  => nam
02-22-08 20:35 nam Status assigned => closed
02-22-08 20:35 nam Note Added: 0002795
02-22-08 20:35 nam Resolution open => fixed
02-22-08 20:35 nam Fixed in Version  => 3.1.5


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker