Coder Social home page Coder Social logo

chi's People

Contributors

kingkingyyk avatar

Watchers

 avatar  avatar

chi's Issues

Server fails to start after stop

Reproduction steps :

  1. Start server
  2. Stop server
  3. Start server

Current console output :

  1. StartP2 - Start OK!, Run - Listening
  2. SetFlag - false, StopP1 - connection refused
  3. SetP2 - cannot bind address

Expected console output :

  1. StartP2 - Start OK!, Run - Listening
  2. SetFlag - false, StopP1 - connection refused
  3. StartP2 - Start OK!, Run - Listening

DayScheduleRules name duplication allowed

Reproduction steps :

  1. Create a new schedule Rule named as "Rule 1"
  2. Press OK
  3. Create a new schedule Rule named as "Rule 1"
  4. Press OK

Expected result :

  1. Dialog pops up
  2. Rule appears in the list
  3. Dialog pops up
  4. Error dialog pops up

Result :

  1. Dialog pops up
  2. Rule appears in the list
  3. Dialog pops up
  4. Dialog closes, Error dialog doesn't pop up, Exception is thrown.

Adding/Editing DayScheduleRules throws Exception

Reproduction steps :

  1. Create a new schedule Rule named as "Rule 1"
  2. Press OK
  3. Create a new schedule Rule named as "Rule 1"
  4. Press OK

Expected result :

  1. Dialog pops up
  2. Rule appears in the list
  3. Dialog pops up
  4. Dialog closes, Error dialog pops up

Result :

  1. Dialog pops up
  2. Rule appears in the list
  3. Dialog pops up
  4. Dialog closes, Error dialog doesn't pop up, Exception is thrown

Actuator name duplication allowed

Reproduction steps :

  1. Create a new actuator named as "Actuator 1"
  2. Press OK
  3. Create a new actuator named as "Actuator 1"
  4. Press OK

Expected result :

  1. Dialog pops up
  2. Rule appears in the list
  3. Dialog pops up
  4. Error dialog pops up

Result :

  1. Dialog pops up
  2. Rule appears in the list
  3. Dialog pops up
  4. Dialog closes, Error dialog doesn't pop up.

Controller name duplication allowed

Reproduction steps :

  1. Create a new controller named as "Controller 1"
  2. Press OK
  3. Create a new controller named as "Controller 1"
  4. Press OK

Expected result :

  1. Dialog pops up
  2. Rule appears in the list
  3. Dialog pops up
  4. Error dialog pops up

Result :

  1. Dialog pops up
  2. Rule appears in the list
  3. Dialog pops up
  4. Dialog closes, Error dialog doesn't pop up.

Edit Sensor Class throws NullPointerException

When typing in the sensor class name in EditSensorClass dialog, the console throws NullPointerException.

Steps :

  1. Create a new sensor class.
  2. Right click the new sensor class in the list, click Edit
  3. Type anything in the name field.

Expected Output :

  1. New sensor class can be created
  2. Edit sensor class dialog pops up with sensor class name prefilled in name field.
  3. The hint beside the textfield is able to detect duplicated name by showing "Already used!". No exception is thrown.

Output :

  1. New sensor class can be created
  2. Edit sensor class dialog pops up with sensor class name prefilled in name field.
  3. The hint beside the textfield shows the name itself is "Already used!". NulllPointerException is thrown.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.