Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6913113
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T09:10:37+00:00 2026-05-27T09:10:37+00:00

I have a classic CoreData application, displaying it’s data in NSTableView with Binding (all

  • 0

I have a classic CoreData application, displaying it’s data in NSTableView with Binding (all done with XCode 4.2).

Working fine until I decide yesterday to check, in Attributes Inspector, the ‘Auto Rearrange Content’ for the ArrayController. Now, when I try to set the filter predicate on it, I get:

[<_NSFaultingMutableSet 0x102b65950> addObserver:forKeyPath:options:context:] is not supported. Key path: name

Keep in mind that without this option it work perfectly: the predicate is good and the controller is properly filtering it’s managed content, and the table view is displaying only the entity that match the predicate.

Of course I could just de-enable this “auto rearrange content” but it is useful for maintaining the sort order in the event of a change in entities. If I edit one entity, the “date modified” change, and since my sort order is on this date I want the TableView to re-order it’s line automatically. And it does with this option, but alas with added bug of “addObserver not supported”.

The _NSFaultingMutableSet come from a to-many relationship in the concerned entity, hence the “Set”. Maybe “Auto Rearrange Content” isn’t compatible with “setFilterPredicate” with a to-many relationship ?

Anybody having similar problem ? An internal bug of NSArrayController ?

Note: the predicates that cause problem are of the form

name CONTAINS[cd] %@ OR ANY aliases.name CONTAINS[cd] %@

or

ANY tags.name CONTAINS[cd] %@ OR ANY tags.aliases.name CONTAINS[cd] %@

it’s seems that the ‘ANY’ is causing some conflict…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T09:10:38+00:00Added an answer on May 27, 2026 at 9:10 am

    Found a solution, with the above comment on SUBQUERY.

    Keep the option ‘auto rearrange content’ but change the predicate to:

    name CONTAINS[cd] %@ OR SUBQUERY(aliases, $anAlias, $anAlias.name CONTAINS[cd] %@).@count != 0
    

    and

    SUBQUERY(tags, $aTag, $aTag.name CONTAINS[cd] %@).@count !=0 OR SUBQUERY(tags, $aTag, $aTag.aliases.name CONTAINS[cd] %@).@count !=0
    

    Respectively.

    Probably the predicate were wrong, I just didn’t run into others problems before.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this classic ASP site which has been working fine until we updated
We have a classic ASP application that simply works and we have been loathe
I have a classic ASP application which inserts some values into a word file
I have a classic asp application. I want to post a contest form from
I have a classic ASP application that I've been constantly trying to modularize. Currently,
we have a classic JSP + Servlets application and would like to show Content
I have a classic 3-tier ASP.Net 3.5 web application with forms that display business
I have a classic ASP application currently secured using ASP.NET Forms Authentication running on
I have the classic 'get all rows in one table with number of corresponding
we have a classic asp web application which has divided into three parts and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.