[MAGNOLIA-1796] Paragraph selection dialog does not validate the user's selection Created: 23/Oct/07 Updated: 04/Aug/15 Resolved: 04/Aug/15 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | admininterface, gui |
| Affects Version/s: | 3.0.5 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Andy Pippin | Assignee: | Unassigned |
| Resolution: | Outdated | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Firefox 2.0.0.8 on Windows XP |
||
| 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 |
|
When there is more than 1 possible paragraph type for <cms:newBar ... />, a dialog pops up asking the user which type to create. If no type is selected, but the "ok" button is clicked, the page "null.html" is attempted to be loaded, which does not exist. |
| Comments |
| Comment by Magnolia International [ 05/Aug/09 ] |
|
This still happens with 4.1 ! (except we get an IllegalStateException: No paragraph selected instead. |
| Comment by Magnolia International [ 05/Aug/09 ] |
|
Just for the record, simply setting the checkbox list control's required attribute to true and calling validate() in the save() method of ParagraphSelectDialog does not help, because the dialog gets recreated. |
| Comment by Magnolia International [ 06/Aug/09 ] |
|
Here's a patch that would add validation, but this isn't sufficient to make this work properly. |
| Comment by Michael Mühlebach [ 04/Aug/15 ] |
|
We're closing this issue as outdated as it was reported for 4.4.x or earlier versions which are no longer supported. Don't hesitate to reopen or create a new ticket in case this is still relevant and you'll experience it on 4.5.x or later versions. |