Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX Revert "ENH Add Nice to DBField" #11222

Merged

Conversation

GuySartorelli
Copy link
Member

Description

This reverts commit b167f47.

Issues

/**
* @return string
*/
public function Nice()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a semver breakage as Nice() isn't defined in parent class ViewableData. At a practical level though this shouldn't matter.

I think this PR should target 5.2 instead since it's fixing a bug introduced in 5.2

Other option is to change this method to return $this->->forTemplate() to match what happens in GridFieldDataColumns, though that seems messy.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Never mind ignore me, not in 5.2 branch

@emteknetnz emteknetnz merged commit 3449d8b into silverstripe:5 May 6, 2024
15 checks passed
@emteknetnz emteknetnz deleted the pulls/5/revert-nice-pr branch May 6, 2024 23:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants