Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import com.evolveum.midpoint.gui.api.component.wizard.WizardModelBasic;
import com.evolveum.midpoint.gui.api.component.wizard.WizardStepPanel;
import com.evolveum.midpoint.gui.api.page.PageBase;
import com.evolveum.midpoint.gui.impl.page.self.dashboard.PageSelfDashboard;
import com.evolveum.midpoint.gui.api.util.WebComponentUtil;
import com.evolveum.midpoint.schema.result.OperationResult;
import com.evolveum.midpoint.schema.result.OperationResultStatus;
Expand Down Expand Up @@ -202,7 +203,7 @@ protected void submitPerformed(AjaxRequestTarget target) {
if (message != null) {
getSession().info(message);
}
setResponsePage(page.getMidpointApplication().getHomePage());
setResponsePage(PageSelfDashboard.class);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AFAIK this is not correct solution. We should change how home page is "computed" for user in MidpointApplication.getHomePage(), can you please open this question in dev/engineering team. I don't know whether we want to change this behavior. As for error flows - unless Martin states where exactly he was redirected to home page instead of somehing else (expected), no changes needed. Possibly check usages of getHomePage() together with setResponsePage() and look for incorrect exception handling -> where redirect should probably go to previous page defined by breadcrumbs something around PageBase.redirectBackViaRestartResponseException()

} else {
if (message != null) {
page.info(message);
Expand Down
1 change: 1 addition & 0 deletions release-notes.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ Overall, midPoint 4.10 opens up the world of identity management and governance
* Delineation suggestions: filter parsing broken after recent GUI change. See bug:MID-11175[]
* Fixed work item search by name causing repository mapping error. See bug:MID-8834[]
* Fixed translation of archetype display labels in assignment picker and summary panel. See bug:MID-11177[]
* Fixed access request redirect to home page. See bug:MID-10269[]

=== Releases Of Other Components

Expand Down
Loading