Have you ever found yourself in a situation when you had to change field types but Drupal did not let you do this because you already had values in the DB? And than you had to write not so arbitrary code to change field settings in the database. This module helps you do this change with a simple UI or drush command.
At the moment, module can transform:
File fields from private to public and vice versa.
Date fields from/to Datestamp and Datetime (dates are of course transformed into the right form)
by keeping all the values.
For example, if you want to make your files private from public, just run
drush fut field_name private
Module makes a backup of the field values table first, so if anything goes wrong, you can revert it back manually. Backup tables are named same as the original once with an added suffix '_field_utils_bak'. Please note that backup tables are removed when CRON is executed.
https://www.drupal.org/sandbox/qstraza/2839329
git clone --branch 7.x-1.x https://git.drupal.org/sandbox/qstraza/2839329.git field_utilities
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | Screen Shot 2017-01-02 at 3.33.03 am.png | 110.74 KB | kajalkiran |
| #5 | Screen Shot 2017-01-02 at 3.32.52 am.png | 42.74 KB | kajalkiran |
| #5 | detail_error_log_on_install.png | 51.43 KB | kajalkiran |
| #5 | install_error.png | 59.25 KB | kajalkiran |
| #5 | PA_error.png | 98.84 KB | kajalkiran |
Comments
Comment #2
PA robot commentedThere are some errors reported by automated review tools, did you already check them? See http://pareview.sh/pareview/httpsgitdrupalorgsandboxqstraza2839329git
We are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)
Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #3
qstraza commentedFixed warning and errors posted by pareview.sh.
Comment #4
qstraza commentedComment #5
kajalkiran commentedHi @qstraza,
I have Reviewed your project application and found this module useful. But in the meanwhile, found an error which needs to be work upon.
Automated Review
Manual Review
Individual user account
Coding style & Drupal API usage
List of identified issues:
Recommendations for Application Issue
Comment #6
kajalkiran commentedComment #7
PA robot commentedClosing due to lack of activity. If you are still working on this application, you should fix all known problems and then set the status to "Needs review". (See also the project application workflow).
I'm a robot and this is an automated message from Project Applications Scraper.