Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Managed Object subclasses mixed with parent classes #23

Closed
dmishe opened this Issue · 1 comment

2 participants

@dmishe

I have an entity called Item, and some subclasses of it like RecommendationItem.

In pony debugger when I go to my store and select Item entity I see some Items mixed with RecommendationItem in the list of objects. I was expecting to see only Item objects.

Is that normal?

@wlue wlue was assigned
@wlue
Collaborator

I think I forgot about this case. It should be reasonable to keep the current behaviour for abstract entities, and only query for the exact entity if it isn't abstract (the behaviour you're looking for). This should be pretty easy fix, and I'll try to get a patch in soon. Thanks for catching this.

@wlue wlue closed this
@davidapgar davidapgar referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.