[MAGNOLIA-6619] Custom Command : Error Invalid Indexed Property Created: 30/Mar/16 Updated: 19/May/22 Resolved: 19/May/22 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | core |
| Affects Version/s: | 5.4.5 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Critical |
| Reporter: | Alexander Hems | Assignee: | Unassigned |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | architecture | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
| Date of First Response: |
| Description |
|
We get a Error message by using our own custom commands. |
| Comments |
| Comment by Jan Haderka [ 31/Mar/16 ] |
Caused by: java.lang.IllegalArgumentException: Invalid indexed property 'Key[type=info.magnolia.cms.core.AggregationState, annotation=[none]' on bean class 'class com.t8y.magnolia.mgnlimport.commands.ValidateCopybookCommand' Invalid index value 'type=info.magnolia.cms.core.AggregationState, annotation=[none' So you have custom ValidateCopybookCommand that expects to get AggregationState configured and it doesn't. Apart from the fact that AggregationState is related to the current request only and thus should not really be passed around, specially not into commands that might be executed asynchronously and thus on different thread, I fail to see how this anyhow related to SiteProvider. Right now, I would suspect problem to be in the command itself or in the action (ValidateAndReviewDialogAction) invoking the command rather than being issue in the product itself. Can you attach both? If you feel uncomfortable attaching the code and have valid support contract, feel free to move this issue to support first to make it private before attaching the code. |
| Comment by Alexander Hems [ 31/Mar/16 ] |
|
Here are the Files i hope you can find the error |
| Comment by Roman Kovařík [ 19/May/22 ] |
|
Hello, This ticket is now marked as closed due to one of the following reasons:
If you are still facing a problem or consider this issue still relevant, please feel free to re-open the ticket and we will reach out to you. Thank you, |