Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-2362

UPnP Sample - Clock. Action SetTime is ineffective and throws errors

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: UPnP Subproject
    • Labels:
    • Environment:
      Felix / UPnP trunk version

      Description

      When using the samples from the UPnP trunk (r948853), the action SetTime on the Clock device throws a ClassCastException (Date to Long).
      Moreover, even when correcting the bugs, the GUI is not reactive to the call as it does not consider the TimeStateVariable's clock.

      Step to reproduce the bugs:

      • Launch UPnP examples
      • In the tester, go into ClockDevice.TimerService.SetTime
      • Do the action with the parameter '2009-12-26T11:42:52' (valid ISO format)

      Expected behaviour:

      • Result as a ISO date format
      • GUI changes date to the input parameter

      Observed behaviour:

      • ClassCastException
      • No changes even when correcting previous point

      (patch ready to commit)

        Attachments

        1. patch.p
          6 kB
          Loic Petit

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              wydd Loic Petit
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: