Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Story
Prior to these changes:
In Bulkrax, the Create and Validate button is affected by a bug known in the community. Within SoftServe we agreed to hide this button to reduce the confusion it’s causing amongst Bulkrax users. We will create an issue as a reminder to discuss and/or fix the functionality of this button in the future.
With these changes:
After discussion, the solution we chose to implement was to add a conditional statement to the importer's new.html.erb file that hides the Create and Validate button until the bug is fixed.
Screenshots
ENV Variable set to true
ENV Variable set to false
![image](https://private-user-images.githubusercontent.com/95306716/249568857-5d6e33c0-94c3-46ae-b864-9fcefcbe685a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk3ODY3NTEsIm5iZiI6MTczOTc4NjQ1MSwicGF0aCI6Ii85NTMwNjcxNi8yNDk1Njg4NTctNWQ2ZTMzYzAtOTRjMy00NmFlLWI4NjQtOWZjZWZjYmU2ODVhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE3VDEwMDA1MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWYwOWJkNDNkMmQ0ODFmZmMzMDIxMmJjZjljMzg5ZDg0OGRiMzg1Nzc2OTgyZDU1OTZhZmE2YzhlMGE1N2IyZTcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.oDc2L8gwEzi4wbmS-loTQ2pzc8_DyLgfmoSzd93WWRE)
ENV Variable set to violet
![image](https://private-user-images.githubusercontent.com/95306716/249568251-84883cae-31a7-40e9-a53f-6369b4d96a1c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk3ODY3NTEsIm5iZiI6MTczOTc4NjQ1MSwicGF0aCI6Ii85NTMwNjcxNi8yNDk1NjgyNTEtODQ4ODNjYWUtMzFhNy00MGU5LWE1M2YtNjM2OWI0ZDk2YTFjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE3VDEwMDA1MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWI5ODY4MTI5ZDZkMGYwMmRhNTljZjAzMzY0MDY4MjBlNmMwNThmOTU0ODVjZThlYjVmOTRhNWFiMjFlZTcwZWImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.cqnxV3sq1jjEsym3hzOKtHwCAjusMCTiPDzPRuICZYk)
ENV Variable set to no value
![image](https://private-user-images.githubusercontent.com/95306716/249568735-828d2d63-d742-40df-b16e-958cf2b61717.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk3ODY3NTEsIm5iZiI6MTczOTc4NjQ1MSwicGF0aCI6Ii85NTMwNjcxNi8yNDk1Njg3MzUtODI4ZDJkNjMtZDc0Mi00MGRmLWIxNmUtOTU4Y2YyYjYxNzE3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE3VDEwMDA1MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTEwNWViNzMwODdhNzI3NTc5NWZlNjZkNmFkZmRhOTBhNTYzOWY2ZTQxNTM0OTdmNGMwZDc1ZGRjMDFlZGI0NDUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.kfZJKs8okoIQdGpwYQ64cFH9E2Fyp3B8QNYXAX78iTI)
Acceptance Criteria
The Create and Validate button on the importer form functions as expected.