[JBoss JIRA] (GTNPORTAL-3224) Recursive paste navigation nodes in navigation editor
by Tuyen Nguyen The (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3224?focusedWorklogId=12429543&... ]
Tuyen Nguyen The logged work on GTNPORTAL-3224:
-----------------------------------------------
Author: Tuyen Nguyen The
Created on: 07/Aug/13 10:26 PM
Start Date: 07/Aug/13 3:25 PM
Worklog Time Spent: 1 hour
Work Description: Try to explain bug
Issue Time Tracking
-------------------
Remaining Estimate: 0 minutes
Time Spent: 1 hour
Worklog Id: (was: 12429543)
> Recursive paste navigation nodes in navigation editor
> -----------------------------------------------------
>
> Key: GTNPORTAL-3224
> URL: https://issues.jboss.org/browse/GTNPORTAL-3224
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Management
> Reporter: Tuyen Nguyen The
> Assignee: Tuyen Nguyen The
> Fix For: 3.7.0.Final
>
> Time Spent: 1 hour
> Remaining Estimate: 0 minutes
>
> Login as root and open navigation editor (Site --> edit navigation)
> Copy or clone SiteMap, and paste to Home node, let's call it "NewSiteMap"
> Copy or Cut Home, paste it to "NewSiteMap" --> infinite loop happened
> The problem is in UINavigationEditor#PasteNodeActionListener --> need to traverse all node in the tree, and copy it --> we should check the condition to stop the loop
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 5 months
[JBoss JIRA] (GTNPC-109) Modify EventResponse Interface to preserve window state changes accross multiple event invocations
by Adam Kovari (JIRA)
[ https://issues.jboss.org/browse/GTNPC-109?page=com.atlassian.jira.plugin.... ]
Adam Kovari edited comment on GTNPC-109 at 8/7/13 7:49 AM:
-----------------------------------------------------------
The reproducer. The behavior before and after the pull request can be seen when you change EventConsumerPortlet.customProcessEvent() - notice:
{code}
if (!event.isParentCalled()) {
// return as the parent should not be called
return;
}
{code}
This does not need to be there with the patch proposed.
https://issues.jboss.org/browse/GTNPORTAL-3182 should also be applied, to prevent some other unrelated issues.
To reproduce you need to deploy the project,
add "producer portlet" to the page layout and 3 consumers portlet with info bar on the homepage. Then try to maximize portlets and play with EventConsumerPortlet.customProcessEvent().
> Modify EventResponse Interface to preserve window state changes accross multiple event invocations
> --------------------------------------------------------------------------------------------------
>
> Key: GTNPC-109
> URL: https://issues.jboss.org/browse/GTNPC-109
> Project: GateIn Portlet Container
> Issue Type: Enhancement
> Components: API
> Affects Versions: 2.4.1.Final
> Reporter: Adam Kovari
> Priority: Minor
> Attachments: 00905214-src.zip
>
>
> If a portlet changes it's window state in the event processing phase, this state is not preserved as other portlets/events can be processed on the same page and then portal will override this changes.
> The spec says:
> PLT.12.4 EventResponse Interface
> ================================
> The EventResponse interface extends the StateAwareResponse interface and adds the additional method setRenderParameters(EventRequest request). One thing to note is that if a portlet receives multiple processEvent calls while processing one client request the new portlet mode or window state that the portlet may have set, may be not validated by the portal between these multiple processEvent calls. This means that even if the portlet container may not throw an exception when the portlet sets a new portlet mode or window state that the portal may still not approve this portlet mode or window state change and call the portlet render method with a different portlet mode or window state.
> So the window state change can be preserved even accross multiple events invocation. Seems to be fine by the spec as shown above.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 5 months
[JBoss JIRA] (GTNPORTAL-3218) The global chromattic session context doesn't close properly
by Trong Tran (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3218?page=com.atlassian.jira.pl... ]
Trong Tran updated GTNPORTAL-3218:
----------------------------------
Status: Open (was: Pull Request Sent)
The fix it not complete
> The global chromattic session context doesn't close properly
> ------------------------------------------------------------
>
> Key: GTNPORTAL-3218
> URL: https://issues.jboss.org/browse/GTNPORTAL-3218
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Trong Tran
> Labels: backlogs
> Fix For: 3.7.0.Final
>
>
> The following unit testcase doesn't work, it fails in the second openning of the context :
> {code}
> public void testGlobalSessionClose() {
> chromatticManager.beginRequest();
> try {
> test1LF.openContext();
> // do something
> test1LF.closeContext(false); // close without persisting changes to DB
> //
> test1LF.openContext();
> test1LF.closeContext(true);
> }
> finally {
> chromatticManager.endRequest(true);
> }
> }
> {code}
> it raises an exception of java.lang.IllegalStateException: A context is already opened
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 5 months
[JBoss JIRA] (GTNPORTAL-3224) Recursive paste navigation nodes in navigation editor
by Tuyen Nguyen The (JIRA)
Tuyen Nguyen The created GTNPORTAL-3224:
-------------------------------------------
Summary: Recursive paste navigation nodes in navigation editor
Key: GTNPORTAL-3224
URL: https://issues.jboss.org/browse/GTNPORTAL-3224
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Management
Reporter: Tuyen Nguyen The
Assignee: Tuyen Nguyen The
Fix For: 3.7.0.Final
Login as root and open navigation editor (Site --> edit navigation)
Copy or clone SiteMap, and paste to Home node, let's call it "NewSiteMap"
Copy or Cut Home, paste it to "NewSiteMap" --> infinite loop happened
The problem is in UINavigationEditor#PasteNodeActionListener --> need to traverse all node in the tree, and copy it --> we should check the condition to stop the loop
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 5 months
[JBoss JIRA] (GTNPORTAL-3223) Don't return to user search after updating user information in User Management portlet
by Tuyen Nguyen The (JIRA)
Tuyen Nguyen The created GTNPORTAL-3223:
-------------------------------------------
Summary: Don't return to user search after updating user information in User Management portlet
Key: GTNPORTAL-3223
URL: https://issues.jboss.org/browse/GTNPORTAL-3223
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: User Interface
Reporter: Tuyen Nguyen The
Assignee: Tuyen Nguyen The
Fix For: 3.7.0.Final
Steps to check:
Login as John
Go to User Management portlet
Search user John
Edit information of user John: change email address for example
Save
Problem: It stays on User Management tab
Expected result: It returns to search result, like when click on Cancel button
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 5 months
[JBoss JIRA] (GTNPORTAL-3222) Checkbox selection on "add gadget into category" is lost after switch page by paginator
by Hai Nguyen (JIRA)
Hai Nguyen created GTNPORTAL-3222:
-------------------------------------
Summary: Checkbox selection on "add gadget into category" is lost after switch page by paginator
Key: GTNPORTAL-3222
URL: https://issues.jboss.org/browse/GTNPORTAL-3222
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Hai Nguyen
Assignee: Hai Nguyen
Priority: Minor
1. Go to Application registry page
2. Create a gadget (remote, or manual)
3. Click on link "Click here to add into categories "
4. Select some category by checkbox
5. Switch to page 2, select some category
6. Switch to page 1
Actual result: - Categories selected at step 4 are unchecked
Expect result: Categories selected at step 4 are still checked
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 5 months