Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'config.add_propertysheet' conflicts silently when passed class instead of interface #256

Open
tseaver opened this issue Aug 30, 2015 · 0 comments
Labels

Comments

@tseaver
Copy link
Member

tseaver commented Aug 30, 2015

I defined three content types, each deriving from substanced.file.File (see https://gist.github.com/tseaver/4857cac66e274c9b3117). When adding them using custom add views, the correct schemas are displayed. However, for both the Bill and Contract types, the Invoice propertysheet is found / displayed.

I can work around the problem by assigning unique interfaces to each content type, and calling add_propertysheet with the interface, rather than the content type class.

@tseaver tseaver added the bug label Aug 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant