Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-18506

Undefined txtHour[0] warning when using Date Picker

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • QA tracked issues
    • 4.6.0-dev
    • Misc
    • None

    Description

      Hi,
      When i:

      • create a class with a textine and a date attribute
      • then, having firebug enabled, when creating a content object of that class, when i choose the date using the date picker, i have the following warning:
        "txtHour[0] is undefined".
        This warning is related with line 30 of the design/standard/javascript/ezdatepicker.js file.

      if i do the same without firebug, i have no error/warning in the debug and i create the object without any problem.

      Steps to reproduce
      Test case  - Create Date class
      1 - Create a content class with the following data:
      Name: A Date Class
      Identifier: a_date_class
      Description: This is a date class test
      Object name pattern: <name>
      URL alias name pattern: 
      Container: Unchecked
      Default sorting of children: Path String / Ascending
      Default object availability: unchecked
      
      Add a Text line Attribute
      Name: Name
      Identifier: name
      Description: This is a test
      Required: UnChecked
      Searchable:: Checked
      Information Collector: Unchecked
      Disable Translation: Unchecked
      Category: Default (Content)
      Max String Lenght: 0 Characters
      
      Add a Date Attribute
      Name: Date
      Identifier: date
      Description: This is a Date test
      Required: Checked
      Searchable:: Checked
      Information Collector: Unchecked
      Disable Translation: Unchecked
      Category: Default (Content)
      Default value: current date
      
      1 - Create a new “A Date Class” content. Firebug must be enabled:
      2 - Use the following data, using the date picker:
      Name = “TD1“
      Date: <today's date>
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            pcardiga pcardiga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Time Spent - 3 hours, 15 minutes Remaining Estimate - 3 hours
                3h
                Logged:
                Time Spent - 3 hours, 15 minutes Remaining Estimate - 3 hours
                3h 15m