-
Notifications
You must be signed in to change notification settings - Fork 743
[WTF-2216] An unconfigured member widget gets two separate CEs #9739
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
Draft
LEGIO-SEXTA-FERRATA
wants to merge
1
commit into
mendix:development
Choose a base branch
from
LEGIO-SEXTA-FERRATA:WTF-2216-double-ce-issue
base: development
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -336,6 +336,16 @@ As the microflow has the parameter *Customer*, and the data view has the object | |
|
||
The best way to fix this error is to either change the microflow to accept *Photo* or put the button in a data container for a different entity. | ||
|
||
### Error Code: CE7007 {#error-code-ce7007} | ||
|
||
CE7007 error message: *Selected value is not valid for entity '{ENTITY_PATH}'. Please, select the value again.* | ||
|
||
You get CE7007 if you have added a data widget but the configured value is not valid for the entity. | ||
|
||
To fix CE7007, you need to make sure that the widget is placed inside the correct data context that its configuration refers to. | ||
|
||
{{% alert color="info" %}} | ||
|
||
## Input Widget Consistency Errors | ||
|
||
The most common errors for input elements, their causes, and ways to fix them are described in the following sub-sections. For more information on input elements, see [Input Elements](/refguide/input-widgets/). | ||
|
@@ -348,20 +358,25 @@ You get CE0544 if you have added an input widget but it is not inside a data con | |
|
||
To fix CE0544, place this widget into a data container such as a data view, list view, or use variables in the page or snippet that contains the widget. | ||
|
||
{{% alert color="info" %}} | ||
Input widgets can directly use the snippet parameters without the need of a data container widget. | ||
{{% /alert %}} | ||
### Error Code: CE7005 {#error-code-ce7005} | ||
|
||
CE7005 error message: *No data source selection has been made. Please, select a data source.* | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also here we need to drop the comma after |
||
|
||
You get CE7005 if you have added an input widget but its data source is not configured. Input elements either need to refer to a variable or an attribute of a specific entity type. | ||
|
||
### Error Code: CE0545 | ||
To fix CE7005, configure the data source property of the widget with a variable or an attribute of a specific entity type. | ||
|
||
CE0545 error message: *Select a value for this {widget name}.* | ||
### Error Code: CE7006 {#error-code-ce7006} | ||
|
||
You get CE0545 if you have added an input widget inside a data context, but haven't selected an attribute or a variable for it. | ||
CE7006 error message: *Selected value is not valid for attribute '{ATTRIBUTE_PATH}'. Please, select the value again.* | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also here we need to drop the comma after |
||
|
||
To fix CE0545, do one of the following: | ||
You get CE7006 if you have added an input widget but the selected value is no longer valid for the attribute path. This might be because the input widget is moved out of its configured data context. | ||
|
||
* Right-click the widget, click **Select Value** in the drop-down list, and set an attribute or a variable. | ||
* Or open widget's properties > the **Data source** section, and set an attribute or a variable in the **Value** field. | ||
To fix CE7006, you need to make sure that the input widget is placed inside the correct data context. | ||
|
||
{{% alert color="info" %}} | ||
Input widgets can directly use the page and snippet parameters without the need of a data container widget. | ||
{{% /alert %}} | ||
|
||
### Incorrect Multiplicity for a Reference Selector {#incorrect-multiplicity-reference} | ||
|
||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Hi team! And tagging @ConnorLand.
Mert is on PTO and we did a small change since then, by dropping the comma after
Please,
->Please select the value again.
And we don't have rights toEdit
, would you like to help us dropping this comma on this PR as well, without needing to fork and create a new PR? Or maybe you could give meEdit
rights?