bugMibble MIB Parser - Bugs: bug #6528, MibbleValidator cannot handle...

 
 

bug #6528: MibbleValidator cannot handle local directory imports

Submitter:  Per Cederberg <cederberg>
Submitted:  Thu 13 Nov 2003 10:00:40 AM UTC
   
 
Severity:  5 - Major Item Group:  Software
Status:  Fixed Privacy:  Public
Assigned to:  cederberg Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 10 Mar 2004 04:30:41 PM UTC, comment #2: 

Closing bug as version 2.3 has been released.

Per Cederberg <cederberg>
Group administrator
Sun 07 Mar 2004 08:02:16 PM UTC, comment #1: 

This has been fixed and will be released in version 2.3.

Per Cederberg <cederberg>
Group administrator
Thu 13 Nov 2003 10:00:40 AM UTC, original submission:  

When validating or printing a MIB file with MibbleValidator or MibblePrinter the file directory is added to the MibLoader path. However, when the file specified on the command-line does not contain any path portion (like "CISCO-TC.my") the getParentFile() method in the File class does not seem to return a parent directory. Hence, referencing other files in the current directory (via import in the MIB file) fails.

This can probably be rectified either in the MibLoader by adding "new File(".")" when null is passed as an argument. Otherwise the MibbleValidator, MibblePrinter and the documentation must be fixed to handle this case properly.

Per Cederberg <cederberg>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-03-10 cederberg Open/ClosedOpen Closed
2004-03-07 cederberg StatusNone Fixed

Back to the top

Powered by Savane 3.13-f8d8.
Corresponding source code