You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@eagle.apache.org by "zhiwen wang (JIRA)" <ji...@apache.org> on 2018/06/14 03:33:00 UTC

[jira] [Commented] (EAGLE-1066) All TimeZone values are not considered for UI

    [ https://issues.apache.org/jira/browse/EAGLE-1066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16511950#comment-16511950 ] 

zhiwen wang commented on EAGLE-1066:
------------------------------------

exception throw from thereļ¼š

public class StringSerializer implements Serializer<String> {
 @Override
 public void serialize(String value, DataOutput dataOutput) throws IOException {
 dataOutput.writeUTF(value);
 }

 @Override
 public String deserialize(DataInput dataInput) throws IOException {
 return dataInput.readUTF();
 }
}

and i fix by ignored value which length more than 64kb,such as ,

if(value.getBytes().length >= 64*1024) {
 dataOutput.writeUTF("");
 }
 else {
 dataOutput.writeUTF(value);
 }

anyone got best way?

> All TimeZone values are not considered for UI
> ---------------------------------------------
>
>                 Key: EAGLE-1066
>                 URL: https://issues.apache.org/jira/browse/EAGLE-1066
>             Project: Eagle
>          Issue Type: Bug
>          Components: Core::UI Engine
>    Affects Versions: v0.5.0
>            Reporter: Jayesh
>            Priority: Major
>              Labels: new
>
> service.timezone value is correctly parsed in eagle backend service, but its not correctly parsed on ui side and its limited to UTC and GMT values only because of the way of calculating timezone is via UTC offset logic.
> so values like "America/Los_Angeles" works fine on the backend codebased but throws un-parsable error on UI because it expects only UTC and GMT values.
> this values are important to consider daylight saving time.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)