Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
views.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
26 Aug 2012 at 21:45 UTC
Updated:
29 Jul 2014 at 21:02 UTC
Jump to comment: Most recent file
Comments
Comment #1
damiankloip commentedComment #2
xjmComment #3
damiankloip commentedLet's see how this gets on now.
Comment #4
damiankloip commentedComment #5
dawehnerThis seems to be a patch which should be postponed until nearly the end of API freeze.
Comment #6
damiankloip commentedI don't mind, just thought it was a postponed one that could be got out the way pretty easily. This has to be changed and the api around getting the id with id() and storing it in yaml won't change much :)
Comment #8
tim.plunkett#3: 1757564-id.patch queued for re-testing.
Comment #10
tim.plunkett#3: 1757564-id.patch queued for re-testing.
Comment #12
damiankloip commentedForgot to change the entity info in the annotation, it's always the small things.
Comment #14
damiankloip commentedLet's see how this gets on.
Comment #16
damiankloip commented#14: 1757564-14.patch queued for re-testing.
Comment #18
damiankloip commentedComment #19
tim.plunkettWe can remove this method now (which was part of the reason to switch)
We should make a separate issue to make this just View::label()
Let's try to use id() directly
Comment #20
damiankloip commentedThanks Tim. Yeah, That must have been a missed ->get('id') there. Also removed the id() method.
Comment #21
tim.plunkettCreated #1888390: [Change notice] Change 'human_name' to 'label' and replace View::getHumanName() with View::label()
Comment #22
dawehnerLet's fix the two most horrible lines in views.
Every other single line of the patch looked perfect!
Comment #24
damiankloip commentedWe just missed the cloning stuff exposed by the default views test.
Comment #25
dawehnerGreat!
Comment #26
tim.plunkettComment #27
catch#24: 1757564-24.patch queued for re-testing.
Comment #29
tim.plunkettRerolled.
Comment #31
damiankloip commentedre roll didn't have the super new views serializer support in :)
Comment #32
dawehnerThere we go.
Comment #33
dawehnerTwo times the exact same patch.
Comment #34
tim.plunkettTagging, since this brings us in line with the other config entities.
Comment #35
webchickYay for moar consistency.
Committed and pushed to 8.x. Thanks!
This'll need a tiny change notice.
Comment #36
dawehnerThe change notice: http://drupal.org/node/1893002
Comment #37
olli commentedChange notice:
Patch:
Can we now use $view->id() instead?
Comment #38
olli commentedOops.
EDIT: The first one was already fixed in #1896990: Cannot edit a View's title from the UI.
Comment #39
dawehnerThere we go.
Comment #40
olli commentedLooks good to me and /rss.xml works again.
Comment #41
webchickWhy did tests not break?
Comment #42
damiankloip commentedShould this be moved into a follow up? Otherwise we have a change notice issue that needs tests, that's weird.
Comment #43
dawehnerYeah webchick is totally right there are certain pieces of code which does not have test coverage yet.
Working on the follw up: #1903410: Wrong config key is used in template_preprocess_views_view_rss
Comment #44
dawehnerSo we can mark this as fixed, as we have a bugfix for the patch.
Comment #46
star-szrUpdating title and tags now that we have a change notice.
Comment #46.0
star-szr.