[JBoss JIRA] (GTNPORTAL-2340) WebAppController needs to start RequestLifeCycle for every processing (including static resource processing)
by Marek Posolda (JIRA)
Marek Posolda created GTNPORTAL-2340:
----------------------------------------
Summary: WebAppController needs to start RequestLifeCycle for every processing (including static resource processing)
Key: GTNPORTAL-2340
URL: https://issues.jboss.org/browse/GTNPORTAL-2340
Project: GateIn Portal
Issue Type: Enhancement
Security Level: Public (Everyone can see)
Affects Versions: 3.2.0-Beta01
Reporter: Marek Posolda
Assignee: Marek Posolda
Fix For: 3.2.0-CR01
Second thing is not so bad but a bit more tricky. The piece of code in WebAppController:
{code}
if (!started)
{
RequestLifeCycle.begin(ExoContainerContext.getCurrentContainer());
started = true;
}
.....
processed = handler.execute(new ControllerContext(this,
router, req, res, parameters));
.....
if (started)
{
RequestLifeCycle.end();
}
{code}
This means that we need to start RequestLifeCycle for processing of
every resource including static resource. And startup of some services
is quite expensive (like startup of OrganizationService requires startup
of Hibernate transaction). In other words, currently we are starting
Hibernate transaction for processing images and other static resources.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 9 months
[JBoss JIRA] (GTNPORTAL-2361) Validator's error in GroupManagement
by Marek Posolda (JIRA)
Marek Posolda created GTNPORTAL-2361:
----------------------------------------
Summary: Validator's error in GroupManagement
Key: GTNPORTAL-2361
URL: https://issues.jboss.org/browse/GTNPORTAL-2361
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 3.2.0-CR01
Reporter: Marek Posolda
Assignee: Chris Laprun
Fix For: 3.2.0-GA
http://eppdev01.brq.redhat.com:8080/portal -> login as root -> Go to OrganizationManagement -> Click to "Group Management" -> Click to some group in the left part -> Click to button "Save" in right part (with User Name left empty.) -> Now I have message "Unneeded by this implementation". I saw something like that in your validator's code. (See screenshot)
It's caused by MultipleConditionsValidator, which is trying to throw validation error because of empty username. Problem is that method getMessageLocalization is not not supported for this implementation and it throws error "Unneeded by this implementation"
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 10 months