Skip to content
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

IBX-4927: Changing custom tag configuration breaks existing Rich Text fields that include this tag #76

Merged
merged 2 commits into from
Mar 10, 2023

Conversation

GrabowskiM
Copy link
Contributor

Question Answer
JIRA issue https://issues.ibexa.co/browse/IBX-4927
Bug/Improvement yes
New feature no
Target version 4.3
BC breaks no
Tests pass yes
Doc needed no

TODO:

  • [x Implement feature / fix a bug.
  • Implement tests.
  • Fix new code according to Coding Standards ($ composer fix-cs).
  • Ask for Code Review.

updateInput(initialData);

this.editor.model.document.on('change:data', () => {
const data = this.getData();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this.editor.getData(); synchronous operation?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. Also that's exact line from https://github.com/ibexa/product-catalog/pull/913 , only indentation was changed :)

@GrabowskiM GrabowskiM force-pushed the IBX-4927-clean-xml-if-config-changed branch from 25afe96 to cfec74b Compare March 6, 2023 11:24
@GrabowskiM GrabowskiM changed the base branch from 4.3 to 4.4 March 6, 2023 11:24
@GrabowskiM GrabowskiM force-pushed the IBX-4927-clean-xml-if-config-changed branch from cfec74b to 37600bb Compare March 6, 2023 11:49
@GrabowskiM GrabowskiM changed the base branch from 4.4 to 4.3 March 6, 2023 11:49
@tomaszszopinski tomaszszopinski self-assigned this Mar 6, 2023
@tomaszszopinski
Copy link

@GrabowskiM After applying patch im getting no error after editing custom tag (which has deleted style section) Is this the intention of this pr?

@GrabowskiM GrabowskiM force-pushed the IBX-4927-clean-xml-if-config-changed branch from 37600bb to 1e22a8b Compare March 9, 2023 15:17
@GrabowskiM GrabowskiM changed the base branch from 4.3 to 4.4 March 9, 2023 15:17
@sonarcloud
Copy link

sonarcloud bot commented Mar 9, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
6.9% 6.9% Duplication

Copy link

@tomaszszopinski tomaszszopinski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

QA approved on IbexaDXP 4.4 commerce.

@dew326 dew326 merged commit 58f7f60 into 4.4 Mar 10, 2023
@dew326 dew326 deleted the IBX-4927-clean-xml-if-config-changed branch March 10, 2023 10:54
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.

None yet

6 participants