Opened 13 years ago

Closed 13 years ago

#1592 closed defect (fixed)

the plot preview is not generated correctly when user rotate the clip box

Reported by: hubu Owned by: hubu
Priority: medium Milestone: 2.3
Component: AJAX Viewer Version: 2.2.0
Severity: trivial Keywords: quick plot
Cc: hubu External ID: 1380255

Description

the problem happens only when the web extension is configured with IIS+.Net or Apache+Java Steps:

  1. Open a BWL on Browser
  2. click 'Quick plot', so the quick plot form appears in the task pane
  3. in the Quick plot form, tick 'Advanced Options', so the clip box appears in the map, showing the print area and allowing user to adjust the view
  4. in the map, rotate the clip box by 90 degrees clockwise
  5. click 'Generate' button and check the preview

result: the preview image is not correct, refer to attachment 'quick plot.png'

expectation: the preview is changed as user rotates the clip box

Attachments (2)

quick plot.png (133.4 KB ) - added by hubu 13 years ago.
error
Fix ticket #1592.patch (1.1 KB ) - added by hubu 13 years ago.
Fix for this ticket

Download all attachments as: .zip

Change History (4)

by hubu, 13 years ago

Attachment: quick plot.png added

error

comment:1 by hubu, 13 years ago

The reason of this issue is there are some errors in the regular expression in Aspx/Jsp. When the user rotate the clip box by 90 degrees, the value of the rotation in Aspx/Jsp is -90. However, the regular expression can't handle the negative numbers.

I attached the patch for this ticket.

by hubu, 13 years ago

Attachment: Fix ticket #1592.patch added

Fix for this ticket

comment:2 by brucedechant, 13 years ago

Resolution: fixed
Status: newclosed

Fixed.

sandbox/adsk/2.3r r5516

trunk r5517

Note: See TracTickets for help on using tickets.