GithubHelp home page GithubHelp logo

Comments (5)

yepher avatar yepher commented on August 15, 2024

Do you have a sample .mom and persistence file that demonstrates this?

from coredatautility.

delebedev avatar delebedev commented on August 15, 2024

It's reproducible in test file 'fetchRequest.mom': just try to filter AnotherEntity

from coredatautility.

yepher avatar yepher commented on August 15, 2024

Thanks, I was able to reproduce this. I will have a look at it.

from coredatautility.

yepher avatar yepher commented on August 15, 2024

Filter no longer crashes on entities that contains NSTransformableAttributeType.

@garnett can you please verify it is working for you. If so I will close the issue.

This is the commit that solves the issue and has been merged into Develop and Master. I will wait until verified before merging into feature/multiDocSupport.

Commit: 26da37a [26da37a]
Parents: da0782e
Date: March 13, 2013 8:15:37 AM CDT
Prevents crash when attribute type NSTransformableAttributeType. This was reported in issue #14.

On a side note:

I don't really call this a fix. It is more of a solution to prevent the filter crash.

I would like to enable filtering for this type somehow but I am not sure what the best solution is. The attributeValueClassName will probably help with the filter scheme but I am not sure how folks tend to use this in their data models. If it is custom classes than maybe the best we can do is allow them to filter by size or less valuable "attributeValueClassName" which will probably be all the same.

For now I have just excluded "NSTransformableAttributeType" from the filter list until someone finds a need and can offer a good scenario for filtering by that attribute type.

from coredatautility.

delebedev avatar delebedev commented on August 15, 2024

Works for me.

from coredatautility.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.