This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
> [ 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