[JBoss JIRA] Created: (RF-6928) realworld/albums: Not shared albums are present in search result
by Inna Shchibrya (JIRA)
realworld/albums: Not shared albums are present in search result
----------------------------------------------------------------
Key: RF-6928
URL: https://jira.jboss.org/jira/browse/RF-6928
Project: RichFaces
Issue Type: Bug
Components: examples
Affects Versions: 3.3.1
Environment: All browsers
Reporter: Inna Shchibrya
Assignee: Andrey Markhel
Priority: Minor
1. Login to the application.
2. Create shelves (with albums and images) with unselect Shared check-box.
3. Logout.
5. Enter shelves or albums name in Search input field (all Options check-boxes are selected).
6. Click Find button. --> Not shared albums are present in search result.
7. Click on any not shared album. --> Error pop-up appeared with "You have no rights to view this album" message.
Expected result: Not shared albums shouldn't be present in search result.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 11 months
[JBoss JIRA] Created: (RF-6820) modalPanel text content is highlighted while moving under Firefox 3.
by Alexander Dubovsky (JIRA)
modalPanel text content is highlighted while moving under Firefox 3.
--------------------------------------------------------------------
Key: RF-6820
URL: https://jira.jboss.org/jira/browse/RF-6820
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.1
Environment: 3.3.1.BETA4
Firefox 3.0.8
Reporter: Alexander Dubovsky
Assignee: Nick Belaevski
Priority: Minor
Attachments: 57.png
Source:
<h:form>
<rich:modalPanel id="modalPanelID"
autosized="true" resizeable="false">
<f:facet name="header">
<h:outputText value="Events" />
</f:facet>
<f:facet name="controls">
<h:graphicImage value="/pics/info.gif"
onclick="Richfaces.hideModalPanel('modalPanelID'); return false;" />
</f:facet>
<p>The component implements a modal dialog window All operations
in the main application window are locked out while this window is
active Opening and closing the window is done through client
JavaScript code</p>
</rich:modalPanel>
<h:commandLink value="Show Panel"
onclick="Richfaces.showModalPanel('modalPanelID');return false;" />
</h:form>
# Open page and click "Show Panel" button.
# Move panel and check its content
Result: it is highlighted. See screen shot.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 11 months
[JBoss JIRA] Created: (RF-5004) toScript method in ScriptUtils.java doesn't handle type enum
by Nathan Collette (JIRA)
toScript method in ScriptUtils.java doesn't handle type enum
------------------------------------------------------------
Key: RF-5004
URL: https://jira.jboss.org/jira/browse/RF-5004
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Environment: RichFaces 3.2.2, Mojarra 1.2_09
Reporter: Nathan Collette
I'm using the rich:suggestionbox component, and for the suggestionAction, it is fetching some organization objects. These objects happen to have a property that is an enum.
The error that is thrown is a java.lang.StackOverflowError at org.ajax4jsf.javascript.ScriptUtils.toScript(ScriptUtils.java:135)
When I remove the enum, the suggestions are displayed accurately.
I reviewed that code, and it seems that it was not designed with enums in mind. The latest repository code in the trunk shows no change in the specified area.
I thought about what I'd change, if I was trying to fix this myself, and at best guess, I would either change line 127 to:
if ("class".equals(key) || "declaringClass".equals(key)) {
or I would change line 112 to:
} else if (obj instanceof String || obj instanceof Enum ) {
at a minimum, the error could be avoided, by skipping enums, and not trying to toScript() them. ie: if instanceof Enum return ""
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 11 months