unhosted / seven20

4 stars 1 forks source link

Error occured when deleting note #3

Open jorinvo opened 11 years ago

jorinvo commented 11 years ago

I logged in with an http://headhk.net account. The data is display correctly but when I select a note in documents/notes/ and click the delete button I get the following error:

nilclass commented 11 years ago

This is very weird. For all items, the full paths are being displayed in the grid. Just not for those under the "documents" scope. I haven't figured out why, yet.

KenEucker commented 11 years ago

@nilclass looking into it now. I think it's the way that I let parts of the grid details be overridden by values in the data being populated. There is an id field for the note data and it might be overwriting the id field that originally gets populated with the full path.

nilclass commented 11 years ago

I see. Yes, some modules will store "id" values. You could use "path" instead.

KenEucker commented 11 years ago

But then what happens if data has a 'path' field? lol. I think I need to make sure that this doesn't override on the fullpath.