Bug 1038029
| Summary: | NoSuchDataException is thrown after importing pages through export/import tool | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Portal Platform 6 | Reporter: | Martin Weiler <mweiler> |
| Component: | Portal | Assignee: | Peter Palaga <ppalaga> |
| Status: | CLOSED UPSTREAM | QA Contact: | Tomas Kyjovsky <tkyjovsk> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.1.0 | CC: | epp-bugs, ppalaga, tkyjovsk |
| Target Milestone: | DR02 | ||
| Target Release: | 6.1.1 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
It was discovered that a "NoSuchDataException" was thrown when the Site Import feature ran, causing the process to fail. The fix clears the POMSessionManager cache before site import begins. If there is stale data, a message prompts the user to refresh the browser before continuing.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2025-02-10 03:34:32 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Martin Weiler
2013-12-04 09:47:36 UTC
Trong Tran <trongtt> made a comment on jira GTNPORTAL-2072 Could you review it, Nick ? Trong Tran <trongtt> made a comment on jira GTNPORTAL-2072 Could you review the PR, Nick ? Nick Scavelli <nscavell> made a comment on jira GTNPORTAL-2072 Currently reviewing. Looks like I'm not getting any errors, which is good. But I can also see that my page is not updated anymore. I believe it was able to update the page, even though an exception was thrown. For example if I export the classic site, add a portlet to the homepage, import the exported site (with overwrite), I believe I was able to see that the portlet I added to be removed. If I got to edit that page, it then gets removed. I would say it's a step further, going to investigate if we can get better. Nick Scavelli <nscavell> made a comment on jira GTNPORTAL-2072 [~phuong_vu] I missed your one comment, yea let's handle the cache in POMSessionManager too. I think this is the main usecase actually. When data is saved through backend services, and not the UI, the UI should be able to see non stale data. I think this what the customer is actually after in https://bugzilla.redhat.com/show_bug.cgi?id=1038029 Nick Scavelli <nscavell> made a comment on jira GTNPORTAL-2072 I'm not getting the exception, so I think this is good. Will open another to see if we can handle the stale cache in POMSessionManager. I think this PR is good to go. Proposed solution is to manually clear the POMSessionManager cache. If there's stale data, then the user will see a display message that they need to refresh the browser. After refreshing they should see the new content. In light of this change I am also adding the ability to clear the POMSessionManager cache for import, so users don't need to log out, and rather refresh to see new changes. Martin will this suffice with the customer ? I'm closing this - please reopen if this resolution is not enough. However at the moment it is rather hard for us to go any further than that. The upstream PR was merged to master but there conflicts when cherry-picking the master PR to 3.6.x. I do not feel self-confident enough to resolve them. Nick, could you please have a look (read: prepare a new PR against 3.6.x branch)? It is this commit in master: ba5f44ceb39c5d212039c8e97cf7c8064ffb5f10 Peter Palaga <ppalaga> made a comment on jira GTNPORTAL-2072 Keeping open as it was fixed in 3.7.0 only but the fix for 3.6.x is still pending. Fixed in both 3.7.0 and 3.6.x now. This product has been discontinued or is no longer tracked in Red Hat Bugzilla. |