-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
Dx container site root #85
Merged
Merged
Changes from 40 commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
33170ce
Make the DX factory work in a GS baseline import work.
jaroel 9e036ea
Pass on attribute access to item access + log a bunch
jaroel e8b4924
Merge branch 'master' into dxcontainer-siteroot
jaroel 1e5f346
Merge remote-tracking branch 'origin/master' into dxcontainer-siteroot
jaroel 71796f6
Check __dict__ as getattr will use descriptors - ie FieldProperties
jaroel 20fdb8a
Donn't warning about accessing items by attribute.
jaroel 44523c9
Pass in knnown prefix
jaroel d341c71
fix up, look sharp
jaroel 4877506
fu. We do need to delete the item first, or we'll get doublicate ids.
jaroel 9a84510
Merge remote-tracking branch 'origin/master' into dxcontainer-siteroot
jaroel bde13fc
prevent some loop where getUtility(ISiteRoot) tiggers gettings the sc…
jaroel 1cc678f
Merge remote-tracking branch 'origin/master' into dxcontainer-siteroot
jaroel 48b0bc5
blergh
jaroel 32b8912
kekekekekek
jaroel 8fb4769
Merge remote-tracking branch 'origin/master' into dxcontainer-siteroot
jaroel 123cb87
just use getUtility
jaroel b9233a9
special case Plone Site to we don't loop
jaroel 488f9ca
Merge remote-tracking branch 'origin/master' into dxcontainer-siteroot
jaroel e6bd7fe
maybe you're gonna be that one that
jaroel 9d40507
i won't know
jaroel bc1f107
Merge remote-tracking branch 'origin/master' into dxcontainer-siteroot
jaroel c23174c
don't think we need this
jaroel ef2e534
Special case for Plone Site in lookup_fti
jaroel f694a51
Merge remote-tracking branch 'origin/master' into dxcontainer-siteroot
jaroel 6804318
Merge remote-tracking branch 'origin/master' into dxcontainer-siteroot
jaroel a1b975c
Merge remote-tracking branch 'origin/master' into dxcontainer-siteroot
jaroel bded943
We no longer seem to be needing this
jaroel 4c505b3
i'm an idiot.
jaroel 8ca5a1d
Ignore 'utilities' in DX getattr
jaroel 49d33b2
Revert "Ignore 'utilities' in DX getattr"
jaroel 617111d
Don't allow shadowing items in the btree by attributes
jaroel 66753b3
herf
jaroel ce62eaa
Merge remote-tracking branch 'origin/master' into dxcontainer-siteroot
jaroel ed3db7e
make py2 tests happy
jaroel e23b2d2
Merge remote-tracking branch 'origin/master' into dxcontainer-siteroot
jaroel 8fd1f37
Merge remote-tracking branch 'origin/master' into dxcontainer-siteroot
jaroel 4ca53eb
Try to come up with a prefix only when there is none
jaroel 472d60c
Don't try to be smart?
jaroel a375f3c
Move changelog entry to news/85.bugfix
jaroel 805c92a
Remove commented code
ale-rt 35a12ab
Merge branch 'master' into dxcontainer-siteroot
mauritsvanrees d5a6896
Use queryUtility to get Plone Site dexterity FTI in portalTypeToSchem…
mauritsvanrees 1fbd494
More info in news snippet.
mauritsvanrees File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Fix ft._updateProperty so it doesn't break when receiving an empty value. | ||
This happens when an DX FTI is part of a Generic Setup baseline import. | ||
[jaroel] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 we use
queryUtility
here, and catch the case where it is None, then this PR could probably be merged already before all the other dexterity site root PRs. It is a guess.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.
Done.