Hi Vesa,

I think you may be suffering a bug in 3.1 which has since been fixed.  The bug 
is only seen when using Java 1.5...is this your case?

The problem is that the form submit is adding the Submit button as a new 
attribute value...

        Add: Person
            Value: Submit

We have a fix for this in the latest version...or you could use JX with Java 
1.4.

Regards,
Trudi.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vesa Keinanen
Sent: Friday, 14 October 2005 5:52 PM
To: jxplorer-users@lists.sourceforge.net
Subject: [Jxplorer-users] Cannot update using HTML view (Table editor OK).

I'm planning to add my own views into "HTML View", but so far I haven't 
been able to update any information using HTML forms. When I modify any 
filed and click "submit" I get error message "Unable to perform Modify 
operation". I have no problems making changes to LDAP data using 
"Table Editor".

I could isolate problem by sniffing LDAP traffic with ethereal.
When I use "HTML View", LDAP modify message includes any attribute
I have changed and also tries to change attribute named "Person" with 
value "Submit". That last part is missing, when I make changes using
"Table Editor". You can find sniffed LDAP Packets at end of this message.

Could someone verify, if this is problem with JXPlorer or on my LDAP
server.

I'm using JXplorer (build JXv3.1 2005-04-07 16:18 EST) on Windows 2K and 
openldap-2.2.23-5 on Fedora Core 4.

Vesa
--
Vesa Keinänen


##### LDAP Modify message using "HTML View #####

LDAP Message, Modify Request
        Message Id: 13
        Message Type: Modify Request (0x06)
        Message Length: 105
        Response In: 112
        Distinguished Name: cn=Vesa 
Kein\303\244nen,ou=Staff,dc=relevantum,dc=fi
        Add: description
            Value: veekoo
        Add: Person
            Value: Submit
        LDAP Controls
            LDAP Control
                Control OID: 2.16.840.1.113730.3.4.2

##### LDAP Response message using "HTML View #####

Lightweight Directory Access Protocol
    LDAP Message, Modify Result
        Message Id: 13
        Message Type: Modify Result (0x07)
        Message Length: 39
        Response To: 111
        Time: 0.000282000 seconds
        Result Code: undefinedAttributeType (0x11)
        Matched DN: (null)
        Error Message: Person: attribute type undefined


##### LDAP Modify message using "Table Editor" #####

Lightweight Directory Access Protocol
    LDAP Message, Modify Request
        Message Id: 14
        Message Type: Modify Request (0x06)
        Message Length: 80
        Response In: 115
        Distinguished Name: cn=Vesa 
Kein\303\244nen,ou=Staff,dc=relevantum,dc=fi
        Add: description
            Value: veekoo
        LDAP Controls
            LDAP Control
                Control OID: 2.16.840.1.113730.3.4.2

##### LDAP Response message using "Table Editor"  #####

Lightweight Directory Access Protocol
    LDAP Message, Modify Result
        Message Id: 14
        Message Type: Modify Result (0x07)
        Message Length: 7
        Response To: 114
        Time: 0.001991000 seconds
        Result Code: success (0x00)
        Matched DN: (null)
        Error Message: (null)

##################################################

-- 
--
Vesa Keinänen, Relevantum Oy
Hämeenkatu 25 B, 33200 Tampere, Finland
Tel: +358-3-2547200, Fax: +358-3-2547240



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Jxplorer-users mailing list
Jxplorer-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jxplorer-users



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Jxplorer-users mailing list
Jxplorer-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jxplorer-users

Reply via email to