-
Notifications
You must be signed in to change notification settings - Fork 39
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
Deal with items with same name but different values in ordered field widget #76
Deal with items with same name but different values in ordered field widget #76
Conversation
@hvelarde FYI |
@rodfersou Thank you for your PR. Could you please add a test which assures the changed behaviour? |
for item in self.items: | ||
if not item['content'] in selecteditems: | ||
if not item['value'] in selecteditems: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if item['value'] not in selecteditems:
782ec31
to
d6b3796
Compare
@rodfersou The |
d6b3796
to
6eb8753
Compare
c552287
to
b41304b
Compare
@icemac I think this change in test is sufficient, please take a look |
looks like I break something.. that's weird.. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently the tests break because of a syntax error. I did not yet look further into the code.
@@ -109,6 +109,7 @@ providing ``ITerms``. This source uses descriminators wich will fit our setup. | |||
... SimpleVocabulary.createTerm(1, 'a', u'A'), | |||
... SimpleVocabulary.createTerm(2, 'b', u'B'), | |||
... SimpleVocabulary.createTerm(3, 'c', u'C') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line is missing a comma, causing the test failures.
675e300
to
92ce528
Compare
@icemac did you see my changes? |
@rodfersou Did you already sign the Zope Committer Agreement? It will allow you to merge the PR on your own. (That's the policy in the |
@icemac no, I didn't.. just the Plone Agreement |
@icemac signed and sent the email :-) |
@icemac a release would be appreciated |
@rodfersou Currently the tests are failing on |
@icemac wow! last month they did 6 releases at |
I looked over the test output. Everything looks cosmetic, and all related to raising more specific exceptions with different error messages than before (from both zope.schema and zope.configuration). That's great for code when you can |
I did some work on fixing the tests for the 3.x branch which can probably be easily merged to master: 4421dc4 |
great! |
fix #75