Skip to content

Version Conflicts and Issues with upgrading dependencies - TypeOrm 0.3x #3382

@Aish1990

Description

@Aish1990

We are facing some issues with EWF libraries as given below. Please help us to fix all these.

  1. During the CVE fix typeorm we tried upgrading the version of typeorm to 0.3x which was not compatible with even the EWF libraries or even latest ewf libraries.

    Dependencies:

    	"@energyweb/issuer": "7.0.1", 
    	"@energyweb/issuer-api": "0.4.1-alpha.1634225870.0", 
    	"@energyweb/origin-247-certificate": "4.1.5", 
    	"@energyweb/origin-backend": "11.0.2-alpha.1634225870.0", 
    	"@energyweb/origin-backend-core": "8.0.4-alpha.1634225870.0", 
    	"@energyweb/origin-backend-utils": "1.6.2-alpha.1634225870.0", 
    	"@energyweb/utils-general": "11.0.5-alpha.1634225870.0",
    	"typeorm": "0.3.12",
  2. When we downgraded the EWF libraries version, got error as "BlockchaninPropertiesService does not exit"

  3. When we upgraded the EWF versions to the latest, We got the "Issuer migration suceessfull". but entities are not updated, Hence got below error.

    Eror: missing providers (argument="providers", value=[], code=INVALID_ARGUMENT, version=providers/5/3/1)

    Dependencies:

  	"@energyweb/issuer": "6.0.2-alpha.1646058469.0", 
  	"@energyweb/issuer-api": "0.6.2-alpha.1646058469.0", 
  	"@energyweb/origin-247-certificate": "4.1.5", 
  	"@energyweb/origin-backend": "11.0.2-alpha.1634225870.0", 
  	"@energyweb/origin-backend-core": "8.0.4-alpha.1634225870.0", 
  	"@energyweb/origin-backend-utils": "1.6.2-alpha.1634225870.0", 
  	"@energyweb/utils-general": "11.0.5-alpha.1634225870.0",
  	"typeorm": "0.2.41",
  1. How to handle if there are some old issuer_certificates of previous versions of issuer_certificates. The entity structure of old issuer_certificate entity and latest version issuer_certificate is different.

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