-
Notifications
You must be signed in to change notification settings - Fork 800
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
CRM: Fix export crash when custom field name clashes with linked objects #38851
CRM: Fix export crash when custom field name clashes with linked objects #38851
Conversation
Thank you for your PR! When contributing to Jetpack, we have a few suggestions that can help us test and review your patch:
This comment will be updated as you work on your PR and make changes. If you think that some of those checks are not needed for your PR, please explain why you think so. Thanks for cooperation 🤖 The e2e test report can be found here. Please note that it can take a few minutes after the e2e tests checks are complete for the report to be available. Follow this PR Review Process:
Still unsure? Reach out in #jetpack-developers for guidance! |
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.
Thanks for tackling this! I left a few questions after looking specifically at the test failures.
Previously this was installed as a dependency of mailcap, which was a dependency of mime-support, which was a dependency of various things. But apparently things depending on mime-support are transitioning to media-types which doesn't have that dependency. We need xz-utils for extracting `build.tar.xz` in CI, so make sure it's installed.
* Ensure all product cards on Jetpack Dashboard have icons when inactive * changelog * Add icon to boost install section * Fix AI missing icon when active * Move CRM back to where it was
* Remove connection nudges for cards that don't need it on dashboard * Ask for user connection on Blaze when not present and remove nudge on Akismet * changelog * Get rid of connection nudge for Search modules * Fix blaze tests
Co-authored-by: Phabricator Bot <[email protected]>
* Blocks: convert to a module Co-authored-by: Brad Jorsch <[email protected]>
* Properly close the modal when Cancel is clicked, cleaning up the state * Skip new generation on try again button when there are options already * Changelog
) `jetpack_register_social_logos()` and `jetpack_register_genericons` is called directly, and the files are [loaded](https://github.com/Automattic/jetpack/blob/8d8e0e6ef75b32c52029a57740cb6e13c6312296/projects/plugins/jetpack/class.jetpack.php#L735) on `wp_loaded` after the `init` hook has already run.
* i18n: Remove unnecessary filter to loading translations This filter has been moved to D162485-code * changelog * Add changelog files
* add prop to toggle button text * show button text Generate if the site has no logo set * add changelog * rename prop so it's not misleading
* Update CTA for connection related cards on At A Glance * changelog * Fix JS tests * Fix e2e test * Fix alignment issue on smaller screens * Fix e2e test * Fix cta spacing issue * Add border to connection cards * Fix e2e test * Make border transparent * Align content with title on connection cards
* Remove unused and non-working code. * Deprecate functions that are no longer needed to be removed later.
* Reapply overwritten changes * changelog * Fix import * Move stories to broken directory
* My Jetpack: update notice mobile style * changelog * Update notice style to the same when there's title
…then offer optional survey (#39485)
Initialize connection assets in the Story block to fix the block assets loading issue.
* Fix special chars display in SMP The Site Management Panel may break when special chars are included in the blog's name (quotes, ampersands, etc.). This commit fixes that. * Add ENT_QUOTES * Changelog * Use wp_specialchars_decode instead
Co-authored-by: Phabricator Bot <[email protected]>
Calypso has updated to node 22, which means it's time for us to do so as well.
Should be no functionality changes, unless some of the `react-hooks/` things were obscure bugs. * `curly` × 2: Missing `{}` around `if` bodies. * `eqeqeq` × 11: Use `===` and `!==` for comparisons. * `no-case-declarations` × 8: If a `case` has `const` or `let` inside, wrap it in a block for scoping. * `no-extra-boolean-cast` × 1: `if ( !! foo )` → `if ( foo )`. * `no-redeclare` × 2: A few useless `/* global JSON */`. * `no-undef` × 3: Remove some unused variables. * `no-unused-expressions` × 7: All ignored by updating `projects/plugins/jetpack/modules/.eslintrc.js`. * `no-useless-escape` × 4: Remove unnecessary `\`s in regexes. * `react-hooks/exhaustive-deps` × 3: Added missing deps. * One case needed a bit of refactoring. * `react-hooks/rules-of-hooks` × 5: Used `useSelect` and `useResizeObserver` unconditionally, and defined one that needed a conditional outside of `render()`. * `valid-typeof` × 2: Broken `undefined !== typeof window` check, changed to just use `window?` in later conditionals. * `@wordpress/no-global-active-element` × 2: Use `ownerDocument`.
…' as spelling errors. (#39880) * AI Assistant: Write Brief should not flag words like '2nd' and '100th' as spelling errors. * changelog * Typescript expects isNaN to be passed a number
* Update dependency svgicons2svgfont to v14 * Update svg-to-font for new svgicons2svgfont version --------- Co-authored-by: Renovate Bot <[email protected]> Co-authored-by: Brad Jorsch <[email protected]>
* Add changes to fix Verbum comments resize logic * changelog
We're waiting on updating to pnpm 9.12+ due to the regression of pnpm/pnpm#3935. Update `.engines.pnpm` so Renovate stops trying to use 9.12 and then failing the "Lock files are up to date" check.
… check (#39836) * Initial State: Replace isSocialImageGeneratorAvailable with feature check * Use constants instead of strings
Co-authored-by: Renovate Bot <[email protected]>
* decouple prompt input from prompt component, export it to make it available for other modals * allow passing down CTA button label as prop * implement AiModalPromptInput on GP image generation modal * changelog * fix wee css issue
Attempting to request a review from a bot account will likely fail, as bot accounts are not "collaborators". Fortunately a bot account is probably going to look like `@something[bot]`, so we can look for that to exclude them without having to make extra API queries.
…ort-crash-when-company-custom-field
… lot more difficult to fix the problem
Basically we are always calling This is not ideal, but I can't see other quick alternative as all the methods involved in this problem are huge and hard to read. |
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 works for me now, the changes look good.
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.
Nice. If it fixes the issue.
Fixes https://github.com/Automattic/zero-bs-crm/issues/3477
Proposed changes:
Other information:
Jetpack product discussion
https://github.com/Automattic/zero-bs-crm/issues/3477
Does this pull request change what data or activity we track or use?
No.
Testing instructions:
Steps to replicate this error:
The export process will crash.
With this PR the crash no longer happens.