View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004174 | JEDI VCL | 00 JVCL Components | public | 2007-07-10 13:20 | 2007-10-12 06:57 |
Reporter | Xire | Assigned To | obones | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 3.32 | ||||
Target Version | Fixed in Version | 3.34 | |||
Summary | 0004174: TJvID3V2.Frames.Assign fails when source has multiple PRIV frames (fix included) | ||||
Description | Hi, I tried to assign frames from one TJvID3V2 to other TJvID3V2. This failed when source had multiple PRIV frames (I got error that TAG already contains PRIV frame). I checked code and only MCDI tag was not allowed to be several times in tag. I added fix to JvID3v2Base.pas and now it works. Here's the fix: I added this part ({ EA 10.07.2007 added fix } AFrameID <> fiCDID) class function TJvID3BinaryFrame.CanAddFrame(AController: TJvID3Controller; AFrameID: TJvID3FrameID): Boolean; begin { There may only be one 'MCDI' frame in each tag. } Result := ((AFrameID = fiCDID) and not AController.HasFrame(fiCDID)) or ({ EA 10.07.2007 added fix } AFrameID <> fiCDID) or inherited CanAddFrame(AController, AFrameID); end; I attached modified JvID3v2Base.pas as well. | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2007-07-10 13:20 | Xire | New Issue | |
2007-07-10 13:20 | Xire | File Added: JvID3v2Base.pas | |
2007-10-12 06:56 | obones | Status | new => resolved |
2007-10-12 06:56 | obones | Fixed in Version | => Daily / SVN |
2007-10-12 06:56 | obones | Resolution | open => fixed |
2007-10-12 06:56 | obones | Assigned To | => obones |
2007-10-12 06:56 | obones | Note Added: 0013920 |