Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
rules-3461559
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
rules-3461559
Commits
5c0cea1c
Commit
5c0cea1c
authored
12 years ago
by
Adrian Rollett
Committed by
Wolfgang Ziegler
12 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#1548474
by acrollet | refineo: Fixed Long rule names are mishandled.
parent
b0683fc1
No related branches found
Branches containing commit
Tags
8.x-1.0-alpha4
8.x-1.0-beta1
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ui/ui.core.inc
+3
-1
3 additions, 1 deletion
ui/ui.core.inc
with
3 additions
and
1 deletion
ui/ui.core.inc
+
3
−
1
View file @
5c0cea1c
...
...
@@ -430,7 +430,9 @@ class RulesPluginUI extends FacesExtender implements RulesPluginUIInterface {
$form
[
'settings'
][
'name'
]
=
array
(
'#type'
=>
'machine_name'
,
'#default_value'
=>
isset
(
$machine_name
)
?
$machine_name
:
''
,
'#maxlength'
=>
64
,
// The string 'rules_' is pre-pended to machine names, so the
// maxlength must be less than the field length of 64 characters.
'#maxlength'
=>
58
,
'#disabled'
=>
entity_has_status
(
'rules_config'
,
$this
->
element
,
ENTITY_IN_CODE
)
&&
!
(
isset
(
$form_state
[
'op'
])
&&
$form_state
[
'op'
]
==
'clone'
),
'#machine_name'
=>
array
(
'exists'
=>
'rules_config_load'
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment