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

BZ1301051: Column values are deleted after changing the operator in a Guided Decision Table #656

Merged
merged 1 commit into from
Feb 25, 2016

Conversation

manstis
Copy link
Contributor

@manstis manstis commented Feb 24, 2016

See https://bugzilla.redhat.com/show_bug.cgi?id=1301051

This PR simply removes the values set for valueString and dataType. This is necessary as when a DTCellValue52 is serialised from the server to the client the fields are set with reflection not the constructor and hence a NUMERIC DTCellValue52 would still have a valueString=="".

// These tests check legacy (pre-6.4.CR1) objects that have been de-serialized can be correctly read.
// DTCellValue52.valueString was set to an empty String statically and hence when the object was de-serialized
// it was possible for instances to have both a 'valueString (=="")' and '<another>Value' for types other than
// DataTypes.DataType.TYPE_STRING. For example. valueBoolean=true, valueString="", dataType=BOOLEAN.
Copy link
Contributor

Choose a reason for hiding this comment

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

Not sure if it matters, but I usually use the multiline comment for javadocs. This way the editor pick it up. You can read the comment when hovering the mouse over the class for example.

@Rikkola
Copy link
Contributor

Rikkola commented Feb 25, 2016

+1

@psiroky psiroky merged commit bd2b052 into apache:master Feb 25, 2016
Rikkola pushed a commit to Rikkola/drools that referenced this pull request Jan 27, 2020
…able (apache#656)

* GUVNOR-3486: [Guided Decision Table Graph] Refresh after removal of table

* GUVNOR-3486: [Guided Decision Table Graph] Refresh after removal of table. Updates following peer review.
dupliaka pushed a commit to dupliaka/drools that referenced this pull request Apr 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants