[JBoss JIRA] Created: (JBMAIL-249) Message Bodies should not display if more than 1 message is selected in a given folder
by David Fuelling (JIRA)
Message Bodies should not display if more than 1 message is selected in a given folder
--------------------------------------------------------------------------------------
Key: JBMAIL-249
URL: http://jira.jboss.com/jira/browse/JBMAIL-249
Project: JBoss Mail
Issue Type: Sub-task
Security Level: Public (Everyone can see)
Components: WebMail
Affects Versions: 1.0-RC1
Environment: Windows XP Professional, Flash Player 9 v 3
Reporter: David Fuelling
Assigned To: Andrew Oliver
Priority: Optional
Fix For: 1.0-RC1
When more than 1 message is selected in a given folder, the webmail should not show the message bodies of every message. Currently, if 4 messages are selected (for example), then all of the message bodies display, which can take a long time if one selects lots of messages -- imagine 5 messages that are each 1 Meg each. Displaying each body takes forever.
In such a scenario where a user multiselects >1 message, a user probably doesn't care to see the message bodies. They are probably doing a drag/drop operation (IMHO).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 5 months
[JBoss JIRA] Created: (JBMAIL-245) getBoundary() in MessageData crashes if no Content-Type header is present
by Pat Osterday (JIRA)
getBoundary() in MessageData crashes if no Content-Type header is present
-------------------------------------------------------------------------
Key: JBMAIL-245
URL: http://jira.jboss.com/jira/browse/JBMAIL-245
Project: JBoss Mail
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Pat Osterday
Assigned To: Andrew Oliver
In the getBoundary() method in MessageData, I think the line:
String[] header = getHeader("Content-Type").split("\\r\\n");
Should be moved into the try/catch. If a message doesn't have a Content-Type, the method crashes.
Not sure how the writeMessage in CmdRETR in the pop3 handlers would handle this, but I'm using similar code to read messages via a servlet and this issue just popped up for us.
Another option would be something like this in the beginning of the method:
String ctHeader = getHeader("Content-Type");
String[] header = null;
if (ctHeader != null) {
header = ctHeader.split("\\r\\n");
} else {
return null;
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 5 months
[JBoss JIRA] Created: (JBMAIL-247) MessageData NPE in getBoundary when Content-Type header is missing
by David Fuelling (JIRA)
MessageData NPE in getBoundary when Content-Type header is missing
------------------------------------------------------------------
Key: JBMAIL-247
URL: http://jira.jboss.com/jira/browse/JBMAIL-247
Project: JBoss Mail
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: IMAP, Mail Server APIs, POP, WebMail
Affects Versions: 1.5-M4, 1.5-M5
Environment: WinXP, JBossAS 4.0.4GA_Patch1, JBCS Head as of July 31st, 2006.
Reporter: David Fuelling
Assigned To: Andrew Oliver
Priority: Minor
See forum post here:
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=88893
Here is a patch. It simply moves the creation of the "header" string array inside of the try/catch block. If an exception is thrown, it is caught and ignored.
Index: MessageData.java
===================================================================
RCS file: /cvsroot/jboss/jboss-mail/src/java/org/jboss/mail/mailbox/MessageData.java,v
retrieving revision 1.21
diff -u -r1.21 MessageData.java
--- MessageData.java 11 Jun 2006 14:06:23 -0000 1.21
+++ MessageData.java 18 Aug 2006 15:16:02 -0000
@@ -342,9 +342,9 @@
}
public String getBoundary() {
- String[] header = getHeader("Content-Type").split("\\r\\n");
- String retval = null;
+ String retval = null;
try {
+ String[] header = getHeader("Content-Type").split("\\r\\n");
for (int i = 0; header != null && i < header.length; i++) {
if( header[i].indexOf("boundary=\"") >-1) {
String[] temp = header[i].split("boundary\\=\\\"");
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 5 months
[JBoss JIRA] Created: (JBMAIL-244) Fetching mail with MalformedHeader from POP3 server
by Ryan Maloney (JIRA)
Fetching mail with MalformedHeader from POP3 server
----------------------------------------------------
Key: JBMAIL-244
URL: http://jira.jboss.com/jira/browse/JBMAIL-244
Project: JBoss Mail
Issue Type: Bug
Security Level: Public (Everyone can see)
Environment: JBoss application server 4.0.4-CR2 running on Windows XP Profesional SP2
Reporter: Ryan Maloney
Assigned To: Andrew Oliver
Enabled fetchmail and added a pop3 account. Manually invoked the pop() method via the mx-console and received the following:
[Top part of the stack trace]
INFO [org.jboss.mail.fetchmail.Popper] Found 104 messages (0) new ones
INFO [org.jboss.mail.fetchmail.Popper] Trying to get message 0
INFO [org.jboss.mail.fetchmail.Popper] Message 0 Subject: EMAIL SUBJECT REMOVED
ERROR [org.jboss.mail.fetchmail.Popper]
org.jboss.mail.message.MalformedHeaderException: Malformed Header:
This is a multi-part message in MIME format.
[end snippet]
Mail retrieval ended immediately thereafter.
I have sent the offending header to acoliver(a)jboss.com
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 5 months
[JBoss JIRA] Created: (JBPORTAL-977) 403 error when logging in as admin with LDAP
by Kevin Barfield (JIRA)
403 error when logging in as admin with LDAP
--------------------------------------------
Key: JBPORTAL-977
URL: http://jira.jboss.com/jira/browse/JBPORTAL-977
Project: JBoss Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Portal Core
Affects Versions: 2.4 Final
Environment: Portal 2.4 CR3 bundled
Reporter: Kevin Barfield
Fix For: 2.4 Final
A 403 error is shown when logging in as admin using LDAP. Open a new browser, and now you are logged in. Same issue with logout. Logging in as a regular user is fine.
Here is the login config:
<policy>
<!-- For the JCR CMS -->
<application-policy name="cms">
<authentication>
<login-module code="org.apache.jackrabbit.core.security.SimpleLoginModule" flag="required"/>
</authentication>
</application-policy>
<application-policy name="portal">
<authentication>
<login-module code="org.jboss.security.auth.spi.LdapLoginModule" flag="required">
<module-option name="java.naming.factory.initial">
com.sun.jndi.ldap.LdapCtxFactory
</module-option>
<module-option name="java.naming.provider.url">
ldap://localhost/
</module-option>
<module-option name="java.naming.security.authentication">
simple
</module-option>
<module-option name="java.naming.security.principal">
cn=Manager,dc=example,dc=com
</module-option>
<module-option name="java.naming.security.credentials">
secret
</module-option>
<module-option name="principalDNPrefix">cn=</module-option>
<module-option name="principalDNSuffix">
,ou=people,dc=example,dc=com
</module-option>
<module-option name="password-stacking">useFirstPass</module-option>
<module-option name="rolesCtxDN">
ou=groups,dc=example,dc=com
</module-option>
<module-option name="uidAttributeID">member</module-option>
<module-option name="matchOnUserDN">true</module-option>
<module-option name="roleAttributeID">cn</module-option>
<module-option name="roleAttributeIsDN">false </module-option>
<!--
<login-module code="org.jboss.portal.identity.auth.IdentityLoginModule" flag="required">
<module-option name="unauthenticatedIdentity">guest</module-option>
<module-option name="userModuleJNDIName">java:/portal/UserModule</module-option>
<module-option name="roleModuleJNDIName">java:/portal/RoleModule</module-option>
<module-option name="additionalRole">Authenticated</module-option>
<module-option name="password-stacking">useFirstPass</module-option>
-->
</login-module>
</authentication>
</application-policy>
</policy>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 5 months