ICEfaces
  1. ICEfaces
  2. ICE-1704

Unable to clear model data with null values after form submission in portlet after using trunk (revision 14098, 6/8/2007)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6
    • Fix Version/s: 1.6DR#6, 1.6
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      Win XP / JDK 1.4 / Tomcat 5.5.17 / Liferay 4.3.0-RC1

      Description

      After performing an "svn update" from the trunk (revision 14098, 6/8/2007), my sample-icefaces-sun-portlet started populating text fields with the string "null" after filling out the required fields, and clicking the "Submit" button, which clears the model data. (Note that the submit will take a long time if the email server is not hooked-up/responding).

      Please see attached portlet for details.

        Issue Links

          Activity

          Neil Griffin created issue -
          Neil Griffin made changes -
          Field Original Value New Value
          Attachment sample-icefaces-sun-portlet.zip [ 10463 ]
          Hide
          Neil Griffin added a comment -

          Forgot to mention, extract attached portlet to Liferay 4.3.0-RC1 "webapps" folder.

          Also, just to clarify, the required text fields like "First Name", etc.. should not contain the string "null" in them after the form submit, rather, they should simply be empty/blank.

          Neil

          Show
          Neil Griffin added a comment - Forgot to mention, extract attached portlet to Liferay 4.3.0-RC1 "webapps" folder. Also, just to clarify, the required text fields like "First Name", etc.. should not contain the string "null" in them after the form submit, rather, they should simply be empty/blank. Neil
          Hide
          Ken Fyten added a comment -

          Please try to recreate using latest trunk build.

          Show
          Ken Fyten added a comment - Please try to recreate using latest trunk build.
          Ken Fyten made changes -
          Assignee Deryk Sinotte [ deryk.sinotte ]
          Hide
          Deryk Sinotte added a comment -

          Attaching a bare bones ICEfaces web application that shows the problem. It's not confined to portlets and confirms the "null" values showing up in IE and Safari (but not Firefox). It also shows another issue in that the form itself seems to stop working after the first time you clear the values but ONLY in Firefox. Safari appears to work fine (IE I haven't had a chance to check yet). If this is a completely unrelated behaviour, we should open a new case for it.

          Show
          Deryk Sinotte added a comment - Attaching a bare bones ICEfaces web application that shows the problem. It's not confined to portlets and confirms the "null" values showing up in IE and Safari (but not Firefox). It also shows another issue in that the form itself seems to stop working after the first time you clear the values but ONLY in Firefox. Safari appears to work fine (IE I haven't had a chance to check yet). If this is a completely unrelated behaviour, we should open a new case for it.
          Deryk Sinotte made changes -
          Attachment ice-1704.zip [ 10465 ]
          Ken Fyten made changes -
          Fix Version/s 1.6 [ 10031 ]
          Assignee Priority P1
          Assignee Deryk Sinotte [ deryk.sinotte ] Mircea Toma [ mircea.toma ]
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #14132 Wed Jun 13 15:07:29 MDT 2007 mircea.toma Fix test when element's attribute is updated -- ICE-1704.
          Files Changed
          Commit graph MODIFY /icefaces/trunk/icefaces/bridge/lib/element.js
          Hide
          Mircea Toma added a comment -

          Fix test when to update element attribute.

          Show
          Mircea Toma added a comment - Fix test when to update element attribute.
          Mircea Toma made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Hide
          Neil Griffin added a comment -

          Comfirmed fixed as of trunk revision 14135.

          Thanks Mircea!!!

          Show
          Neil Griffin added a comment - Comfirmed fixed as of trunk revision 14135. Thanks Mircea!!!
          Ken Fyten made changes -
          Fix Version/s 1.6DR#6 [ 10090 ]
          Fix Version/s 1.6 [ 10031 ]
          Ken Fyten made changes -
          Fix Version/s 1.6 [ 10031 ]
          Ken Fyten made changes -
          Link This issue blocks ICE-1809 [ ICE-1809 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Assignee Priority P1
          Assignee Mircea Toma [ mircea.toma ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Neil Griffin
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: