I just figured out a quite annoying thing: When you use an install profile, the schema cache is not cleared after all profile modules where installed. This results e.g. in errors when trying to save a default view after a fresh installation without having the cache cleared once.
I'd appreciate if someone could implement a drupal_flush_all_caches() direct after installing the profile modules (and perhaps even in task 'finished' too, so all other install tasks producing cached data may be read in the right version when the site used without clearing caches manually after install)... The only other solution is to implement such a task in each profile by hand...
To reproduce this behaviour, do the following steps:
- just create a simple install profile with the views module as profile module
- install the site using the profile
- go to admin/build/views and enable one of the defaults views
- try to edit the enabled view -> the view will be broken when saved
- clear all caches
- try to edit the enabled view again -> everything works fine
Thanx in advance & cheers
hctom
Comments
Comment #1
dpearcefl commentedIs this still a problem in current Drupal?
Comment #2
dpearcefl commentedIs this still a problem in current Drupal?
Comment #3
dpearcefl commented