Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I changed my data using (for:All displays (except overridden)) and a see * only in title of my display.
Other data were also changed, but the on tabs they have not * . :(
Comment | File | Size | Author |
---|---|---|---|
#74 | 1791352-74.patch | 7.38 KB | Shubham Chandra |
#72 | 1791352-72.patch | 6.54 KB | Munavijayalakshmi |
#71 | 1791352-71.patch | 6.58 KB | Munavijayalakshmi |
#69 | 1791352-69.patch | 6.58 KB | ajaypratapsingh |
#57 | 1791352-56.patch | 6.38 KB | Munavijayalakshmi |
Comments
Comment #1
dawehnerCould you describe what settings you changed?
Comment #2
pvasili CreditAttribution: pvasili commentedComment #3
andypostActually confirm - other display tabs does not indicates their "changed" state when changes applies to all displays.
This mostly about usability - when you change a some option and point to apply to all Displays so there's no visual indication on other displays that they got changes
Comment #4
andypostposted twiceComment #5
tim.plunkettNo need for usability review, you're just 100% right :)
Comment #6
dawehnerHere is juat an idea how to fix that. This especially needs a test.
Comment #7
tim.plunkettThis has moved.
And, it needs tests, so no reason to reroll until those are written.
Comment #8
dawehnerWrote a small test for this, and rerolled against the latest version.
Comment #10
xjmYes please!
Comment #11
dawehnerSo
Comment #13
damiankloip CreditAttribution: damiankloip commentedSo, the tests didn't make too much sense passing here :) I have fixed them up a bit and fixed the assertLinks.
Comment #14
dawehnerWell Master will always exist (as there is a link available ont he site), but i guess it should not mark be as changed if we override it?
Comment #15
damiankloip CreditAttribution: damiankloip commentedRerolled and changed the assertion message in #14.
Comment #16
dawehnerLet's better also add a $this->assertNoLink(t('Master*')) to be sure it is really not overridden
Comment #17
damiankloip CreditAttribution: damiankloip commentedLooks good to me.
Comment #19
tim.plunkett#16: drupal-1791352-16.patch queued for re-testing.
Comment #20
tim.plunkettDisplayPluginBase::setOption() doesn't have access to the View UI object, we should pass it along when necessary.
Comment #21
damiankloip CreditAttribution: damiankloip commentedMakes sense to me, IMO the code looks slightly cleaner like this, losing the instanceof stuff.
Comment #22
dawehnerWhat about using an actual setOptionUI which wraps setOption with that logic, to keep the api function as simple as possible.
Comment #23
tim.plunkettAgreed.
Comment #24
tim.plunkettOkay, done. No interdiff really, since it's a 100% different patch.
Comment #25
dawehnerJust a small thing: use ViewUI in the signature
I guess it makes sense to describe what this function exactly does, because it is not easy to figure out.
It's good to have a total different implementation but still have a way to keep the test.
Comment #27
dawehner#25: drupal-1791352-25.patch queued for re-testing.
Comment #28
dawehner#25: drupal-1791352-25.patch queued for re-testing.
Comment #29
damiankloip CreditAttribution: damiankloip commentedRerolled, patch was pretty out of date.
Comment #31
dawehnerA small problem with big consequences.
Comment #32
dawehnerAnother rerole, with changing config() to use the container.
Comment #34
dawehner#32: drupal-1791352-32.patch queued for re-testing.
Comment #36
tim.plunketts/name/id
Comment #37
dawehnerPerfect, thanks for fixing that.
Comment #38
catchAre there other places in the code base that explicitly reference views_ui? This seems a bit backwards.
Comment #39
dawehnerLet's postpone that on #1919142: Convert Views UI AJAX forms to use FormInterface
The other way to fix this would be to directly call some function on the ViewUI directly in the submit functions.
Comment #40
nod_per #39
Comment #41
andypostSeems patch outdated
Comment #46
aerozeppelin CreditAttribution: aerozeppelin at California State University San Bernardino commentedRerolled patch #36.
Comment #47
dawehnerThank you @aerozeppelin for rerolling the patch! The patch for itself looks really solid. Here is just one question I have ...
Does this method has to be public?
Comment #49
dawehnerComment #50
aerozeppelin CreditAttribution: aerozeppelin at California State University San Bernardino commented@dawehner thank you for reviewing the patch.
I agree making it public has no significance.
Comment #51
dawehner@aerozeppelin
Note: Drupal uses protected most of the time, let's just keep it that way.
Comment #52
aerozeppelin CreditAttribution: aerozeppelin at California State University San Bernardino commentedUpdates as per #51.
Comment #53
dawehnerThank you @aerozeppelin!
Comment #54
alexpottGiven that we're adding a method this needs to be for 8.3.x only. Also it'd be nice to get at least one green run on #52
Comment #55
alexpottLooking at this change closer - is there anyway of doing this change in a way that does not bring views ui code into views code?
Comment #57
Munavijayalakshmi CreditAttribution: Munavijayalakshmi at Valuebound commentedRerolled the patch.
Comment #68
quietone CreditAttribution: quietone at PreviousNext commentedI tested on Drupal 9.4.x and was able to reproduce the problem.
This needs an issue summary update, see Write an issue summary for an existing issue for guidance.
An updated patch is needed and the #55 needs to be addressed.
Comment #69
ajaypratapsingh CreditAttribution: ajaypratapsingh at Material for Drupal India Association commentedRerolled patch #57 against drupal 9.5.x
Comment #70
Munavijayalakshmi CreditAttribution: Munavijayalakshmi at Valuebound commentedComment #71
Munavijayalakshmi CreditAttribution: Munavijayalakshmi at Valuebound commentedRectified custom commands failed errors.
2731 | ERROR | [x] Expected 1 blank line after function; 0 found
2758 | ERROR | [x] Whitespace found at end of line
Comment #72
Munavijayalakshmi CreditAttribution: Munavijayalakshmi at Valuebound commentedComment #73
Munavijayalakshmi CreditAttribution: Munavijayalakshmi at Valuebound commentedComment #74
Shubham Chandra CreditAttribution: Shubham Chandra as a volunteer and at Dotsquares Ltd. commentedRerolled patch #56 with Drupal 9.5.x
Comment #76
sonam.chaturvedi CreditAttribution: sonam.chaturvedi at Salsa Digital commentedVerified patch #74 on 10.1.x-dev. Patch applied cleanly with several hunks.
However, after applying patch site breaks and gives "HTTP 500 error - This page isn't working" error. No page is accessible.
We need working patch for 10.1.