NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
> [ Okay, it's not exactly a terrible bug. Alliteration is just really > important to me this morning. ] > > Anyway, I noticed that the Save As Favorite dialog doesn't like using > bundle extensions other than .xidv/.zidv... Most of the problem is > coming from ~line 1006 in IdvPersistenceManager having xidv/zidv > hardcoded. Further down the line this confuses > IdvPersistenceManager.doSave(String, boolean), as it relies on > getArgsManager().get[X/Z]idvFileFilter().getPreferredSuffix(), and the > extensions differ and everything goes boom. > > ...or every bundle becomes a XML bundle no matter what. My fix is to > replace the "tmpFix" around line 1006 with the following: > if (zidvCbx.isSelected()) > tmpSuffix = > getArgsManager().getZidvFileFilter().getPreferredSuffix(); > else > tmpSuffix = > getArgsManager().getXidvFileFilter().getPreferredSuffix(); > > No problems thus far in either the IDV or McV! > OK, I'll take your word for it that this works :-) I'm checking in the change. -Jeff Ticket Details =================== Ticket ID: NVI-280877 Department: Support IDV Priority: Normal Status: Closed