[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[IDV #NVI-280877]: bug busting bundle business



> [ 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