[Bug 64074] getResource() for directories started to return nulls instead of list of files that directory contains

2020-01-14 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64074

--- Comment #4 from Konrad  ---
Whoa, that was quick, thank you very much!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 64074] getResource() for directories started to return nulls instead of list of files that directory contains

2020-01-14 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64074

Mark Thomas  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|NEW |RESOLVED

--- Comment #3 from Mark Thomas  ---
It wasn't too bad. And as a nice side-effect it takes account of resourceJARS
and packedWARs when caching is enabled.

Fixed in:
- master for 10.0.0.0-M1 onwards
- 9.0.x for 9.0.31 onwards
- 8.5.x for 8.5.51 onwards

Unless we completely re-implement the JNDI resource handling from 7.0.x (not
something I want to do) there is always going to be some edge case that isn't
supported. At the moment the edge cases that are emerging are simple to
implement. At some point we will reach the point we may reach the point where
we decide the implementation is too complex.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 64074] getResource() for directories started to return nulls instead of list of files that directory contains

2020-01-14 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64074

--- Comment #2 from Mark Thomas  ---
I'll see how easy it is to restore the directory listing behaviour.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 64074] getResource() for directories started to return nulls instead of list of files that directory contains

2020-01-14 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64074

--- Comment #1 from Remy Maucherat  ---
This is some custom behavior that worked by accident, getInputStream applies to
files, not directories.
This will probably be WONTFIX.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org