Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
RDMS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
researchdata
RDMS
Commits
ce61b76f
Commit
ce61b76f
authored
1 year ago
by
Anusha Ranganathan
Browse files
Options
Downloads
Patches
Plain Diff
Fix merge error
parent
f2a29549
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Pipeline
#13000
failed
1 year ago
Stage: build
Stage: test
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
hyrax/app/models/crc_dataset.rb
+1
-2
1 addition, 2 deletions
hyrax/app/models/crc_dataset.rb
hyrax/config/locales/en.yml
+1
-0
1 addition, 0 deletions
hyrax/config/locales/en.yml
with
2 additions
and
2 deletions
hyrax/app/models/crc_dataset.rb
+
1
−
2
View file @
ce61b76f
...
...
@@ -13,8 +13,7 @@ class CrcDataset < ActiveFedora::Base
validates
:title
,
presence:
{
message:
'Your CRC dataset must have a title.'
}
validate
:validate_parent_collection
after_save
:save_work_meta_json_file_to_s3
,
:handle_meta_file_on_s3
after_create
:set_default_source_and_tombstone_status
,
:set_default_values
after_create
:register_ark
after_create
:set_default_source_and_tombstone_status
,
:set_default_values
,
:register_ark
# ------ properties from core metadata ------
# property date_modified - not displayed (filled in by the system)
...
...
This diff is collapsed.
Click to expand it.
hyrax/config/locales/en.yml
+
1
−
0
View file @
ce61b76f
...
...
@@ -95,6 +95,7 @@ en:
blank
:
"
Modality
title
can't
be
blank"
uniqueness
:
"
Folder
name
(%{value})
obtained
from
modality
title
is
already
taken."
length
:
"
The
modality
title
should
be
between
3-63
characters
long.
Consider
using
leading
zeros
(e.g.
003
instead
of
3)"
uploads
:
file_not_allowed
:
"
This
file
name
is
restricted.
Delete
this
file
and
upload
again
after
changing
the
name"
simple_form
:
hints
:
...
...
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