Skip to content

Number type config data is lost in yaml file #1399

Closed

Description

@daocr

spring-boot-version : 1.5.9.RELEASE
dubbo.version : 2.6.0

bug 出现场景:
1、使用了@EnableDubbo 注解
2、配置文件使用的是 “.yml” 格式的文件
image

bug出现原因:
image

在yml 文件中,值是有数据类型的区分的,如果直接这样判断,会导致有些值被忽略

Activity

  1. ralf0131 commented on Feb 26, 2018

    @ralf0131
    Contributor

    Hi, welcome to Dubbo community!

    Please consider using English, Dubbo is a global community, and all the issues may be viewed and discussed by people all over the world.

    Meanwhile, you can send email to [email protected] or subscribe it, which is preferred way for discussing questions like this.

  2. changed the title [-]dubbo 2.6.0 yml 文件配置信息无效[/-] [+]Mumber type config data is lost in yml file[/+] on Feb 26, 2018
  3. changed the title [-]Mumber type config data is lost in yml file[/-] [+]Mumber type config data is lost in yaml file[/+] on Feb 26, 2018
  4. changed the title [-]Mumber type config data is lost in yaml file[/-] [+]Number type config data is lost in yaml file[/+] on Feb 26, 2018
  5. lovepoem commented on Feb 27, 2018

    @lovepoem
    Member

    Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions