Opened 17 years ago

Closed 16 years ago

Last modified 16 years ago

#142 closed defect (fixed)

Changing Preference to S or XS prevents from Seeing Annotations attached to Objects

Reported by: rocca@… Owned by: Martin Svensson
Priority: major Milestone: BASE 2.0 RC2
Component: web Version: RC1
Keywords: Preference S and XS display Cc:

Description

Bug seen on demo-server + my own installation: when changing display preferences to S or XS, everything is fine but when I try to create or edit a BioSource?, Sample, Extract...the annotation tab is blank, and data input is prevented. Changing back to M or higher display solves the pb

Change History (6)

comment:1 Changed 17 years ago by Nicklas Nordborg

Status: newassigned

The calulatation of the heigth for the input form is missing a parenthesis. The calculation <%=(int)scale*370%> converts the scale (0.9) to 0 before the multiplication, thereby setting the height of the input form to 0. The correct calculation is: <%=(int)(scale*370)%>

All other anotatable items probable have the same bug. It may also be present in other places which sets the height or width depending on the scale.

comment:2 Changed 17 years ago by Jari Häkkinen

Owner: changed from Nicklas Nordborg to Jari Häkkinen
Status: assignednew

comment:3 Changed 16 years ago by Jari Häkkinen

Milestone: BASE 2.0
Owner: changed from Jari Häkkinen to Martin Svensson

comment:4 Changed 16 years ago by Martin Svensson

Status: newassigned

comment:5 Changed 16 years ago by Martin Svensson

Resolution: fixed
Status: assignedclosed

(In [2206]) Fixes #142. Changing Preference to S or XS prevents from Seeing Annotations attached to Objects

comment:6 Changed 16 years ago by Nicklas Nordborg

Milestone: BASE 2.0BASE 2.0 RC2
Note: See TracTickets for help on using tickets.