Scada-LTS icon indicating copy to clipboard operation
Scada-LTS copied to clipboard

System exception when adding view with background

Open Limraj opened this issue 6 years ago • 0 comments

Expected Behavior

Possible solutions:

  1. informing the user that an object cannot be added to the view while dragging it to the view;
  2. message after clicking save informing that one of the objects does not fit in the view, removing this object;

Actual Behavior

When adding a view with a component that does not fit in the view, clicking save causes a system exception. The problem concerns the situation in which we try to add a component that does not fit into the view with a small size, limited background.

Steps to Reproduce the Problem

  1. Open Graphical Views;
  2. Click New View;
  3. Choose Background image 450x450;
  4. Click Upload image;
  5. Set name for view;
  6. Choose Components -> Alarms List -> Add component to view;
  7. Drag and drop components in view; (If we do not drag the component into the view area and leave it in the default position, this problem does not occur)
  8. Click save;

Specifications

  • Version: SCADA-LTS v2.0.0
  • Platform: Windows 7 - 64-bit
  • Subsystem: Old UI ScadaBR

Limraj avatar Dec 06 '19 18:12 Limraj