#26 — Bug in getting parent in ParentOrToolManagedSchema
by
Luca Fabbri
—
last modified
Jan 12, 2011 04:12 PM
| State | Unconfirmed |
|---|---|
| Version: | 0.5.0 |
| Area | Functionality |
| Issue type | Bug |
| Severity | Medium |
| Submitted by | Luca Fabbri |
| Submitted on | Jan 12, 2011 |
| Responsible |
—
|
| Target release: |
—
|
Bug is in the 0.6 version (not in the list above).
I'm not really sure this is a bug, but SignupSheet is using this ManagerSchema in new 0.5 version and not in the old ones.
Briefly: when the Registrant object of SignupSheet (that extend ParentOrToolManagedSchema) in inside the portal_factory, the test of the lookup_provider method did not find the SignupSheet object (that extend SchemaEditor) and it fallback to the site tool.
In SignupSheet, when this fall-back happens, not all is working.
Apart the SS issue, I think that the test inside the lookup_provider is not good because it not look at the portal_factory.
I fixed in this way in our branch (see r230350), unluckily a tests fails.
You think that the fix can be good? If yes, can you release a 0.6.1 version so the 0.5 version of SS will return to works normally?
I'm not really sure this is a bug, but SignupSheet is using this ManagerSchema in new 0.5 version and not in the old ones.
Briefly: when the Registrant object of SignupSheet (that extend ParentOrToolManagedSchema) in inside the portal_factory, the test of the lookup_provider method did not find the SignupSheet object (that extend SchemaEditor) and it fallback to the site tool.
In SignupSheet, when this fall-back happens, not all is working.
Apart the SS issue, I think that the test inside the lookup_provider is not good because it not look at the portal_factory.
I fixed in this way in our branch (see r230350), unluckily a tests fails.
You think that the fix can be good? If yes, can you release a 0.6.1 version so the 0.5 version of SS will return to works normally?
No responses can be added.
If you can, please log in before submitting a reaction.
