Changing Preference to S or XS prevents from Seeing Annotations attached to Objects
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)
Owner: |
changed from Nicklas Nordborg to Jari Häkkinen
|
Status: |
assigned → new
|
Milestone: |
→ BASE 2.0
|
Owner: |
changed from Jari Häkkinen to Martin Svensson
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
Milestone: |
BASE 2.0 → BASE 2.0 RC2
|
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.