nathan929 / freebase-site

Automatically exported from code.google.com/p/freebase-site
0 stars 0 forks source link

Type deletion fails with 400 if the type is the ECT of any property #34

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Steps:
1. Find or create a type that you administer and that's the ECT for a property 
on another type.
2. Select Type Settings > Delete this type > Delete

Expected:
Type should be deleted.

Actual:
Type isn't deleted. 
Error on page: "Error: [object Object]"
Sample TID: cache;cache02.sandbox.sjc1:8101;2010-11-20T00:42:25Z;0002

Sample JSON response:
{
  "status" : "400 Bad Request",
  "code" : "/api/status/error",
  "messages" : [
    {
      "message" : "Error: [object Object]",
      "code" : "/api/status/error/input/validation",
      "info" : null
    }
  ],
  "transaction_id" : "cache;cache02.sandbox.sjc1:8101;2010-11-20T00:42:25Z;0002",
  "timestamp" : "2010-11-20T00:42:25Z"
}

Original issue reported on code.google.com by j...@google.com on 20 Nov 2010 at 1:03

GoogleCodeExporter commented 9 years ago
Fixed in trunk and 26.schema (no need for static deploy).

Original comment by daep...@google.com on 22 Nov 2010 at 7:17

GoogleCodeExporter commented 9 years ago
Working. This fix exposed http://bugs.freebase.com/browse/APPS-245 (which I 
filed in Jira, rather than IT, because it sounds like we're moving back over 
there for issue tracking.)

Original comment by j...@google.com on 23 Nov 2010 at 11:12