Skip to content

Use generic invocation via API , lost "version" value #4784

Closed
@z529192557

Description

@z529192557
  • I have searched the issues of this repository and believe that this is not a duplicate.
  • I have checked the FAQ of this repository and believe that this is not a duplicate.

Environment

  • Dubbo version: 2.7.3
  • Operating System version: MAC OX 10.14.5
  • Java version: 1.8

Steps to reproduce this issue

  1. Use GenericService by API, assign the version is 1.0.0.test.qa.st
    image

  2. breakpoint at DubboInvoker.doInvoke

  3. check the DubboInvoker.version = 0.0.0
    image

Pls. provide [GitHub address] to reproduce this issue.

Expected Result

In the instance of DubboInvoker,the version should be 1.0.0.test.qa.st

Actual Result

In the instance of DubboInvoker,the version’s value actully is default value,0.0.0

Cause

this method : "ClusterUtils.mergeUrl" at line 87 ,remove the version key, so lost the version's value

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions