Opened 19 years ago

Closed 19 years ago

Last modified 18 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 by Nicklas Nordborg, 19 years ago

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 by Jari Häkkinen, 19 years ago

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

comment:3 by Jari Häkkinen, 19 years ago

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

comment:4 by Martin Svensson, 19 years ago

Status: newassigned

comment:5 by Martin Svensson, 19 years ago

Resolution: fixed
Status: assignedclosed

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

comment:6 by Nicklas Nordborg, 18 years ago

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