Skip to content

Avoid an edge case where content types would end up without fields - #166

Open
frapell wants to merge 3 commits into
masterfrom
frapell_fti_mtime
Open

Avoid an edge case where content types would end up without fields#166
frapell wants to merge 3 commits into
masterfrom
frapell_fti_mtime

Conversation

@frapell

@frapell frapell commented Apr 19, 2022

Copy link
Copy Markdown
Member

This fixes gh-165

@mister-roboto

Copy link
Copy Markdown

@frapell thanks for creating this Pull Request and helping to improve Plone!

TL;DR: Finish pushing changes, pass all other checks, then paste a comment:

@jenkins-plone-org please run jobs

To ensure that these changes do not break other parts of Plone, the Plone test suite matrix needs to pass, but it takes 30-60 min. Other CI checks are usually much faster and the Plone Jenkins resources are limited, so when done pushing changes and all other checks pass either start all Jenkins PR jobs yourself, or simply add the comment above in this PR to start all the jobs automatically.

Happy hacking!

@frapell

frapell commented Apr 19, 2022

Copy link
Copy Markdown
Member Author

@jenkins-plone-org please run jobs

1 similar comment
@frapell

frapell commented Apr 19, 2022

Copy link
Copy Markdown
Member Author

@jenkins-plone-org please run jobs

@frapell

frapell commented Apr 19, 2022

Copy link
Copy Markdown
Member Author

An alternative to this fix (to not mess with the result of the _p_mtime) would be to change the replacements made by

class SchemaNameEncoder(object):
to not hit this issue...

@jensens

jensens commented Jun 13, 2024

Copy link
Copy Markdown
Member

@jenkins-plone-org please run jobs

@jensens

jensens commented Jun 14, 2024

Copy link
Copy Markdown
Member

Actually this one would be nice to get merged. I updated the branch, but I have no idea why this breaks tests in plone.restapi.

@frapell

frapell commented Jun 14, 2024

Copy link
Copy Markdown
Member Author

@jensens Thanks for moving it forward! It's been so long I don't quite remember 😅 I'll try to take a look this weekend

@frapell

frapell commented May 20, 2025

Copy link
Copy Markdown
Member Author

@jenkins-plone-org please run jobs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Content type schema has no fields based on FTI ._p_mtime

3 participants