[JBoss JIRA] (WFCORE-3651) ParameterCorrector are not taken into account by XML parser
by Jeff Mesnil (JIRA)
[ https://issues.jboss.org/browse/WFCORE-3651?page=com.atlassian.jira.plugi... ]
Jeff Mesnil updated WFCORE-3651:
--------------------------------
Fix Version/s: (was: 4.0.0.CR1)
> ParameterCorrector are not taken into account by XML parser
> -----------------------------------------------------------
>
> Key: WFCORE-3651
> URL: https://issues.jboss.org/browse/WFCORE-3651
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management
> Affects Versions: 4.0.0.Beta2
> Reporter: Jeff Mesnil
> Assignee: Jeff Mesnil
>
> The ParameterCorrector of an AttributeDefinition must attempt to correct the value before the value is validated against the AttributeDefinition's ParameterValidator.
> This works fine when DMR operations are executed against the server.
> However, this fails when XML is parsed as the XML parser is validating the value without correcting it first.
> I encounter this issue in WFLY-9706 when the validator constrains to use only -1 instead of any negative value.
> If I had a ParameterCorrect that correct any negative values (e.g. -3) to -1, the XML parser fails because the value (-3) is not valid (must be -1).
> Using :write-attribute works fine as the ParameterCorrect will correct -3 to -1 before it is validated.
> The simple short term fix is to call the ParameterCorrect when the XML parser read the attribute before it validates its value.
> However this duplicates code that is already done in AttributeDefinition.validateAndSet.
> We could handle all this logic (correction/validation) only when the DMR operations are executed.
> However doing so would make it impossible to report informative XML errors as the user would have to find how the faulty DMR op map to the XML file he provided.
> So keeping this logic of correction/validation when XML is parsed is useful for error reporting but it should delegate to some methods of AttributeDefinition instead of duplicating the code (and missing some cases such as parameter correction)
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 2 months
[JBoss JIRA] (WFCORE-3647) CLI multi page output does not work correctly on Cygwin
by Erich Duda (JIRA)
[ https://issues.jboss.org/browse/WFCORE-3647?page=com.atlassian.jira.plugi... ]
Erich Duda commented on WFCORE-3647:
------------------------------------
[~jdenise] Thanks for the investigation. I've tried it with jdk-9.0.4 but I've seen the same issue.
> CLI multi page output does not work correctly on Cygwin
> -------------------------------------------------------
>
> Key: WFCORE-3647
> URL: https://issues.jboss.org/browse/WFCORE-3647
> Project: WildFly Core
> Issue Type: Bug
> Components: CLI
> Affects Versions: 3.1.0.Final
> Reporter: Erich Duda
> Assignee: Jean-Francois Denise
>
> The Auto more/less in CLI for multi-page output (WFCORE-426) does not work correctly on Cygwin. Each key has to be pushed twice to interact.
> It was hit on following Cygwin version.
> {code}
> $ uname -a
> CYGWIN_NT-6.3 WIN-VSOI9S1FO1Q 2.10.0(0.325/5/3) 2018-02-02 15:16 x86_64 Cygwin
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 2 months
[JBoss JIRA] (DROOLS-2272) [DMN Editor] Move Editor controls inline
by Michael Anstis (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2272?page=com.atlassian.jira.plugi... ]
Michael Anstis updated DROOLS-2272:
-----------------------------------
Description:
Expression Editors have a row of controls to add row, column, change Hit Policy etc.
These all need moving "inline" into the editor itself. -The content of the new context menu will be driven by the cell in the Expression grid that was (single) clicked. Double click continues to edit the cell.-
*New requirements*
* Context menu (single right-click) to provide the ability to cut/copy/paste/insert (row/column)/delete (row/column)/delete cell value
* Double -Single- left-click to edit a cells content (this could be an {{TextBox}} or a {{ListBox}} or a more sophisticated editor).
* Context menu entries are reflected in the state of the toolbar (menubar, whatever) in the workbench.
This means the "Undefined Expression selector" ([DROOLS-2296|https://issues.jboss.org/browse/DROOLS-2296]), "Context Editor" ([DROOLS-2297|https://issues.jboss.org/browse/DROOLS-2297]) and "Relation Editor" ([DROOLS-2299|https://issues.jboss.org/browse/DROOLS-2299]) will need refactoring.
was:
Expression Editors have a row of controls to add row, column, change Hit Policy etc.
These all need moving "inline" into the editor itself. -The content of the new context menu will be driven by the cell in the Expression grid that was (single) clicked. Double click continues to edit the cell.-
*New requirements*
* Context menu (single right-click) to provide the ability to cut/copy/paste/insert (row/column)/delete (row/column)/delete cell value
* Single left-click to edit a cells content (this could be an {{TextBox}} or a {{ListBox}} or a more sophisticated editor).
* Context menu entries are reflected in the state of the toolbar (menubar, whatever) in the workbench.
This means the "Undefined Expression selector" ([DROOLS-2296|https://issues.jboss.org/browse/DROOLS-2296]), "Context Editor" ([DROOLS-2297|https://issues.jboss.org/browse/DROOLS-2297]) and "Relation Editor" ([DROOLS-2299|https://issues.jboss.org/browse/DROOLS-2299]) will need refactoring.
> [DMN Editor] Move Editor controls inline
> ----------------------------------------
>
> Key: DROOLS-2272
> URL: https://issues.jboss.org/browse/DROOLS-2272
> Project: Drools
> Issue Type: Feature Request
> Components: DMN Editor
> Affects Versions: 7.5.0.Final
> Reporter: Michael Anstis
> Assignee: Michael Anstis
>
> Expression Editors have a row of controls to add row, column, change Hit Policy etc.
> These all need moving "inline" into the editor itself. -The content of the new context menu will be driven by the cell in the Expression grid that was (single) clicked. Double click continues to edit the cell.-
> *New requirements*
> * Context menu (single right-click) to provide the ability to cut/copy/paste/insert (row/column)/delete (row/column)/delete cell value
> * Double -Single- left-click to edit a cells content (this could be an {{TextBox}} or a {{ListBox}} or a more sophisticated editor).
> * Context menu entries are reflected in the state of the toolbar (menubar, whatever) in the workbench.
> This means the "Undefined Expression selector" ([DROOLS-2296|https://issues.jboss.org/browse/DROOLS-2296]), "Context Editor" ([DROOLS-2297|https://issues.jboss.org/browse/DROOLS-2297]) and "Relation Editor" ([DROOLS-2299|https://issues.jboss.org/browse/DROOLS-2299]) will need refactoring.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 2 months