blockchain4humanity / dapp-ui

Crowdfunding and managing donations on the blockchain
GNU General Public License v3.0
1 stars 3 forks source link

Delegating from Campaign to Milestone throws error #20

Closed vojtechsimetka closed 5 years ago

vojtechsimetka commented 5 years ago

Feathers

0|dapp-fea | 2019-01-25 20:05: info: Checking new events between blocks 275274-275275
0|dapp-fea | 2019-01-25 20:05: info: error: donations - Method: create - donations validation failed: ownerType: Path `ownerType` is required.
0|dapp-fea | 2019-01-25 20:05: error: donations validation failed: ownerType: Path `ownerType` is required. {"type":"FeathersError","name":"BadRequest","code":400,"className":"bad-request","errors":{"ownerType":{"message":"Path `ownerType` is required.","name":"ValidatorError","properties":{"message":"Path `{PATH}` is required.","type":"required","path":"ownerType"},"kind":"required","path":"ownerType","$isValidatorError":true}},"timestamp":"2019-01-25T20:05:08.652Z"}

UI Report

Description of the Error:
      Unable to update the donation in feathers

      Error name:
      donations validation failed: ownerType: Path `ownerType` is required.

      Error lineNumber:
      undefined

      Error fileName:
      undefined

      Error stack:
      BadRequest: donations validation failed: ownerType: Path `ownerType` is required.
    at new s (https://dapp.giveth.site/static/js/main.a4204dc1.js:1:107376)
    at convert (https://dapp.giveth.site/static/js/main.a4204dc1.js:1:109468)
    at r.<anonymous> (https://dapp.giveth.site/static/js/main.a4204dc1.js:1:1792715)
    at r.onack (https://dapp.giveth.site/static/js/main.a4204dc1.js:1:1859506)
    at r.onpacket (https://dapp.giveth.site/static/js/main.a4204dc1.js:1:1858912)
    at r.<anonymous> (https://dapp.giveth.site/static/js/main.a4204dc1.js:1:1860963)
    at r.emit (https://dapp.giveth.site/static/js/main.a4204dc1.js:1:1813269)
    at r.ondecoded (https://dapp.giveth.site/static/js/main.a4204dc1.js:1:1819325)
    at o.<anonymous> (https://dapp.giveth.site/static/js/main.a4204dc1.js:1:1860963)
    at o.r.emit (https://dapp.giveth.site/static/js/main.a4204dc1.js:1:1813269)
vojtechsimetka commented 5 years ago

This should have been fixed by b522cf55f1e1490153b156e9b798ccf1d235a31f