Tracker: Bugs

5 jde-xref-get-db-directory fails with nested prj.el - ID: 3154645
Last Update: Comment added ( lenbok )

jde-xref-get-db-directory normalizes the path by just passing the value of the db directory. This gives the incorrect result when there are multiple prj.el files and the one defining the variable is not the deepest. The implementation should be

(concat (jde-normalize-path 'jde-xref-db-base-directory) "/xrefdb"))

instead of

(concat (jde-normalize-path jde-xref-db-base-directory) "/xrefdb"))

(Note that jde-xref-db-base-directory is quoted in the correct implementation.


Troy Daniels ( troydaniels ) - 2011-01-10 13:53:19 PST

5

Closed

Accepted

Nobody/Anonymous

Lisp (general)

None

Public


Comments ( 2 )

Date: 2011-06-09 19:04:17 PDT
Sender: lenbokProject Admin

Fix applied in SVN.


Date: 2011-01-10 13:58:41 PST
Sender: troydaniels

There is a similar issue with with-all-class-files. About 20 lines in, it
wants to be

(let ((,normalized-path-sym (jde-normalize-path ,path-sym
'jde-built-class-path)))

not

(let ((,normalized-path-sym (jde-normalize-path ,path-sym)))



Attached File

No Files Currently Attached

Changes ( 4 )

Field Old Value Date By
status_id Open 2011-06-09 19:04:17 PDT lenbok
resolution_id None 2011-06-09 19:04:17 PDT lenbok
allow_comments 1 2011-06-09 19:04:17 PDT lenbok
close_date - 2011-06-09 19:04:17 PDT lenbok