Skip to content

Only share tokens if component exists#7499

Merged
mrcasals merged 2 commits intodevelopfrom
fix/share-tokens-if-component-exists
Mar 2, 2021
Merged

Only share tokens if component exists#7499
mrcasals merged 2 commits intodevelopfrom
fix/share-tokens-if-component-exists

Conversation

@mrcasals
Copy link
Copy Markdown
Contributor

@mrcasals mrcasals commented Mar 2, 2021

🎩 What? Why?

PR #6271 added a way to share components via a specific token. The admin part was lacking some specs and this caused a bug not to be detected: when the component being added has validation errors, the page breaks with an error 500.

This PR fixes the issue and adds some minimal tests.

📌 Related Issues

Testing

Ensure CI is green.

@mrcasals mrcasals added module: admin type: fix PRs that implement a fix for a bug labels Mar 2, 2021
@mrcasals
Copy link
Copy Markdown
Contributor Author

mrcasals commented Mar 2, 2021

This needs to be backported to 0.23 and 0.24.

@mrcasals mrcasals merged commit 4f6a425 into develop Mar 2, 2021
@mrcasals mrcasals deleted the fix/share-tokens-if-component-exists branch March 2, 2021 13:24
mrcasals added a commit that referenced this pull request Mar 2, 2021
mrcasals added a commit that referenced this pull request Mar 2, 2021
entantoencuanto added a commit that referenced this pull request Mar 2, 2021
* develop: (25 commits)
  Add css selectors to emails to improve design customization (#7493)
  Only share tokens if component exists (#7499)
  Fix record encryptor hash values JSON parsing for legacy unencrypted hash values (#7494)
  Fix NULL error with weight field in assemblies & processes (#7486)
  Fix proposals to budget import (#7449)
  Fix cost display on proposals (#7450)
  Fix #7487 - Invalid signature on message decryption (#7488)
  New Crowdin updates (#7482)
  Move specs file to correct folder (#7476)
  Improve changelog generator (#7475)
  New Crowdin updates (#7472)
  Prepare 0.25-dev version (#7473)
  New Crowdin updates (#7470)
  New Crowdin updates (#7468)
  Feature proposal infinite edit time (#7406)
  New Crowdin updates (#7457)
  Trigger docs build on folder changes (#7360)
  Add changelog generator based on PR data (#7461)
  Add Votings to Open Data export (#7388)
  Add order in not highlighted assemblies by weight (#7444)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module: admin type: fix PRs that implement a fix for a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant