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 1051109
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T16:52:42+00:00 2026-05-16T16:52:42+00:00

So the issue: I drop a some items into an editor area it creates

  • 0

So the issue:
I drop a some items into an editor area it creates an undo grouping…under the covers, as the whole process of dropping the items is actually a collection of tasks.
If I then delete the tasks, I am given an option to undo the delete.

If I do this undo I get an error in the console:
_endUndoGroupRemovingIfEmpty:: NSUndoManager 0x343f5a0 is in invalid state, endUndoGrouping called with no matching begin

It does return all the items back into the view, however… from this point my undo stack are messed up and dont do things right. REDO doesn’t even work from this point on.

I have also tried this with only deleting one item out of the workflow… and then undoing the delete… the error is still thrown.

So two issues:
1. why is the error happening.
2. why does my redo not function correctlty, aka at all?

Thanks for any help

  • 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-16T16:52:43+00:00Added an answer on May 16, 2026 at 4:52 pm

    The issue was that I was willChange and didChange some KVO values within the -undoManagerDidUndoOrRedo… and that is a notification that is triggered when the undo manager completes an undo operation, inside that notification (internal to the state of the undo system)… so I was creating some nested changes incorrectly… which messed up my undo stack.

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

Sidebar

Related Questions

I'm having an issue getting the correct value from my drop down box. Basically
I'm having an issue on my instance page life expectancy would drop to a
i'm having this issue, in ASP.NET MVC 2 where I'm adding a drop down
Issue Garbage gets erroneously entered into date fields and screws up calculations. Goal Using
I have a drop box which is populated by information from a database. Some
I am having some issue with making resizable and draggable work together on an
I'm doing a simple check for some user data that get's put into session
My view is populated with model properties and some of the drop list are
I was implementing my first HABTM relationship and have run into an issue with
I've got a frustrating issue with Jquery auto-complete. I have UL of drop down

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.