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

Update time_entry.rb #12651

Closed
wants to merge 1 commit into from
Closed

Update time_entry.rb #12651

wants to merge 1 commit into from

Conversation

zencmp
Copy link
Contributor

@zencmp zencmp commented May 16, 2023

updating comments length, 255 is too small for work description. DB doesn't have constraints for this field

update comments length, 255 is too small
@oliverguenther
Copy link
Member

Hi @zencmp, I think we could just remove that constraint but setting to a higher value is also okay for now. One test is now failing which tested the restriction. Could you adapt that please?

./modules/costs/spec/contracts/time_entries/update_contract_spec.rb[1:1:14:1] # TimeEntries::UpdateContract behaves like time entry contract when comment is longer than 255 is invalid

Best
Oliver

@oliverguenther
Copy link
Member

Closing in favor of https://github.com/opf/openproject/pull/12654/files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants