Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When I've entered code and other items (themes, pages, media, etc.) for a new rule, but forget the title, the code is wiped out when I save the rule. All the other items are retained when the form is reloaded.
Comments
Comment #1
kreynen CreditAttribution: kreynen commentedIn the 1.x branch, the CSS itself was only saved to a file. If there was an issue writing to or reading from sites/default/files you would see this behavior in the form. You also see this if you restore from a backup that skipped these files because someone mistakenly assumed they could be regenerated from values stored in the database.
The 2.x branch is a complete rewrite and using CTool exports for the CSS rules making play well with Features as well as resolve issues like this.