casbin / casbin-hub

The hub for Casbin
https://dashboard.casbin.com
Apache License 2.0
87 stars 46 forks source link

Unhandled Rejection (TypeError): text.r is undefined #106

Closed arteevraina closed 4 years ago

arteevraina commented 4 years ago

On the route http://localhost:3000/model/new id. Following error is thrown.

Unhandled Rejection (TypeError): text.r is undefined
stringifyModelText
src/ModelPage.js:82

  79 |    const lines = [];
  80 | 
  81 |    lines.push("[request_definition]");
> 82 |    lines.push("r = " + text.r.join(", "));
     | ^  83 |    lines.push("");
  84 | 
  85 |    lines.push("[policy_definition]");

@hsluoyz Are you able to reproduce this?

arteevraina commented 4 years ago

@hsluoyz Closing this for now. Because I am not able to reproduce this after the recent merge.