-
Notifications
You must be signed in to change notification settings - Fork 198
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
[kie-issues#1723] Allow dot character in metadata attributes #2828
Conversation
This reverts commit 6644d2b.
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.
Thank you for the changes @Abhitocode . Just one question from me inline.
@@ -36,6 +36,7 @@ | |||
public class StringUtils { | |||
|
|||
public static final String ALPHA_NUM_REGEXP = "^[a-zA-Z0-9\\-\\_]*$"; | |||
public static final String ALPHA_NUM_UNDERSCORE_DOT_REGEXP = "^[a-zA-Z0-9\\-\\_\\.]*$"; |
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.
Maybe we should reflect also \\-
in the constant name?
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.
Thank you for the suggestion @jomarko , yes it makes sense. I'll update that.
@Abhitocode thank you for pushed updates. Please let us know once the PR is done and ready for a review. Then we should convert it from a draft PR to regular PR to run all CI checks. |
@Abhitocode is this ready to be reviewed, please? |
Hi @yesamer @jomarko, apologies for the delay in reply as I was travelling and away from system. PR is ready but to note when I tried to test the same I had issues with building the editor, I have followed the steps, while |
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.
@Abhitocode Thank you, no worries. Please contact me in private to tackle together the issues you're facing in your local |
@jomarko Thank you for the confirmation and the steps : ) |
As a result of the work in apache/incubator-kie-kogito-runtimes#3740, the jbpm.enable.multi.con flag needs to be defines as process metadata attribute. However, the process designer does not allow the dot (.) character in the name of metadata attributes.
In order for users to define this process metadata attribute in the designer, it needs to be renamed in using only allowed characters.
Closes: apache/incubator-kie-issues#1723