backdrop / backdrop-issues

Issue tracker for Backdrop core.
144 stars 39 forks source link

Can not edit Views name/description #1717

Closed bd0bd closed 8 years ago

bd0bd commented 8 years ago

I have added a new Views - Article.

Then I was going to edit it but it is impossible and I do not understand why? In my previous website I can edit it - no any problems arise there.

And I think the idea is not good to use Change instead of Edit (in previous Backdrop version there was Edit). Edit is more familiar word in the cases like this one.

aaa

jenlampton commented 8 years ago

Thanks @bd0bd you just found a bug!

bd0bd commented 8 years ago

Hm, how it is possible if there was no this bug before ... :smile:

jenlampton commented 8 years ago

whistles innocently

I likely caused this one as part of https://github.com/backdrop/backdrop/pull/1181. Sorry, I'll fix it!

bd0bd commented 8 years ago

Thank you! Would be good if you would post here how I could fix it myself. Thank you!

jenlampton commented 8 years ago

The fix is to change line 245 in views_ui.admin.inc from

        'href' => "admin/structure/views/nojs/edit-details/$view->name",

to

        'href' => "admin/structure/views/nojs/config-details/$view->name",
bd0bd commented 8 years ago

Thank you! I have fixed it and everything is ok now.

But this is line number 1245 :smile:

quicksketch commented 8 years ago

Thanks @bd0bd and @jenlampton! I've merged the fix from https://github.com/backdrop/backdrop/issues/1288.