|
Mantis - Quercus
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 2453 | minor | always | 02-20-08 15:03 | 02-22-08 20:35 | |
|
|
|||||
| Reporter: | bchan | Platform: | |||
| Assigned To: | nam | OS: | |||
| Priority: | normal | OS Version: | |||
| Status: | closed | Product Version: | |||
| Product Build: | Resolution: | fixed | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | 3.1.5 | ||
|
|
|||||
| 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 [^] |
||||
| Relationships | |||||
| Attached Files: | |||||
| Notes | |||||
|
|
|||||
|
|
||||