You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
@kevinsawicki This is just a new rule. To keep the correspondence between views and models simple, you can never have two copies of the same exact model in the workspace. Otherwise we would need to deal with the potential for multiple views being returned for the same model, which isn't worth the added complexity in the API.
It did. Do you think we should shim it to still work? I don't think it's worth the complexity. I didn't realize we were inserting the same object into the workspace in the package.
Sorry about that. This sort of slipped through early in the process before I was thinking as clearly about API compatibility. Maybe I can think of a way to support it.
After thinking and discussing the broader problem extensively, I think the best approach for now is just to leave this and allow people to adapt. The best ideas I could come up with to recover from this added pretty substantial complexity. For example, we could automatically remove a pane item when attempting to add it again. My concern is that this is somewhat unexpected behavior as well. Seems like a better policy to just force people to follow the rules, even though it's a breaking change.
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!
Activity
nathansobo commentedon Oct 27, 2014
@kevinsawicki This is just a new rule. To keep the correspondence between views and models simple, you can never have two copies of the same exact model in the workspace. Otherwise we would need to deal with the potential for multiple views being returned for the same model, which isn't worth the added complexity in the API.
kevinsawicki commentedon Oct 27, 2014
But this broke backwards compatibility right?
nathansobo commentedon Oct 27, 2014
It did. Do you think we should shim it to still work? I don't think it's worth the complexity. I didn't realize we were inserting the same object into the workspace in the package.
kevinsawicki commentedon Oct 27, 2014
Maybe just fixing it for now in the markdown preview and track how prevalent it is in other packages.
It looks like 22 people have hit it already: https://bugsnag.com/atom/atom/errors/542450b96e470317e8bc9ec4
nathansobo commentedon Oct 27, 2014
Sorry about that. This sort of slipped through early in the process before I was thinking as clearly about API compatibility. Maybe I can think of a way to support it.
nathansobo commentedon Nov 10, 2014
After thinking and discussing the broader problem extensively, I think the best approach for now is just to leave this and allow people to adapt. The best ideas I could come up with to recover from this added pretty substantial complexity. For example, we could automatically remove a pane item when attempting to add it again. My concern is that this is somewhat unexpected behavior as well. Seems like a better policy to just force people to follow the rules, even though it's a breaking change.
lock commentedon Jan 25, 2019
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!