Hide Forgot
Description of problem: When you delete page in portal configured using JTA the page has to be refreshed (or click e.g. quick search icon) to not see deleted page. How reproducible: Start portal according to configuration of this job: https://hudson.qa.jboss.com/hudson/job/epp5_ui_selenium_tests_db_mysql5.5_JTA/ Steps to Reproduce: 1. Open portal and sign in as a root 2. go to page management 3. click delete icon of any page 4. Click OK 5. page is still displayed Additional info: I tried this manually using mysql5.5 with no-tx datasource and it works fine.
This behaviour is caused by eXo JCR behaviour, which I described here https://jira.exoplatform.org/browse/JCR-1804 . I will wait for response from JCR team. Fact is, that I can workaround the issue in EPP by commit JTA transaction and start the new transaction after creating (or deleting) page, so the list of pages in PageManagementPortlet, which is obtained via JCR query, will contain newest results. But I am waiting on opinion from JCR team first.
I have a fix and sent pull request to GateIn https://github.com/gatein/gatein-portal/pull/60 . I have a fix for EPP as well, but not 100% sure if we can apply it in minor release 5.2.2.