bugGNUstep - Bugs: bug #8967, validateForUpdate breaks NSData...

Group
 
 

bug #8967: validateForUpdate breaks NSData attributes

Submitter:  Simon Stapleton <tufty>
Submitted:  Sat 15 May 2004 09:41:48 AM UTC
   
 
Category:  gdl2 Severity:  3 - Normal
Item Group:  Bug Status:  Fixed
Privacy:  Public Assigned to:  ayers
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 15 May 2004 01:18:53 PM UTC, comment #1: 

Thanks, should be fixed in CVS.  I've also added some sanity checks which might trip up some illdefined situations.

David Ayers <ayers>
Group Member
Sat 15 May 2004 09:41:48 AM UTC, original submission:  

Validation of updates silently changes the content of any NSData attributes, whether they have been changed or not.

the problem is caused by the validation of attributes, which erroneously tries to convert attribute values to the adaptor value type.  this coercion is not only unnecessary, but also breaks any attribute which stores as EOAdaptorBytesType

Patch attached.

Simon Stapleton <tufty>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #1315:  EOAttribute.patch added by tufty (679B - application/octet-stream)

 

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 4 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-05-15 ayers StatusNone Fixed
    Assigned toNone ayers
    Open/ClosedOpen Closed
2004-05-15 tufty Attached File- Added EOAttribute.patch, #1307

Back to the top

Powered by Savane 3.13-f8d8.
Corresponding source code