Problem/Motivation
The reason(s) behind the message "This version is not compatible with Drupal 7.x and should be replaced." are not clear when trying to apply a theme. See:
http://drupal.org/node/785714
Proposed resolution
More precisely record the reason an error occurred, and feed that back to the user.
Remaining tasks
A test for this is probably wise.
User interface changes
Message will be changed slightly depending on the situation.
API changes
None.
Comments
Comment #1
daniel.nitsche commentedAttempt number 1 at a patch.
Comment #3
daniel.nitsche commentedResubmitting with (hopefully) correct paths for simpletest.
Comment #4
daniel.nitsche commentedSame patch with status changed to force simpletest.
Comment #5
edvanleeuwenI have noticed that this has the side-effect of giving an error on the standard themes Bartik and Stark.
Comment #6
dcrocks commentedI tried improving these error messages a while back #619542: Malformed theme .info files break menu_router generation. Maybe you will have better luck.
Comment #7
vase_bac commented#3: system-compatibility_message-1422108-3.patch queued for re-testing.
Comment #10
alansaviolobo commentedComment #11
joelpittetLikely need to bump this to 8.1.x but this seems nice to have more clarified UI errors.
Comment #12
Miguel.kode commentedThis is the re-roll for this patch, I changed core/modules/system/system.admin.inc
Comment #13
madhavvyas commentedComment #15
dcrocks commentedThis patch no longer applies. 'system.admin.inc' has received a major rewrite with a lot code moved to other files. File length in drupal 8 is 389 lines while it was 3229 lines in drupal 7. Also the messages have been enhanced in drupal 8 and it may no longer be necessary to change them. If this change is still wanted, maybe it should be restricted to drupal 7.
Comment #31
smustgrave commentedThank you for creating this issue to improve Drupal.
We are working to decide if this task is still relevant to a currently supported version of Drupal. There hasn't been any discussion here for over 8 years which suggests that this has either been implemented or is no longer relevant. Your thoughts on this will allow a decision to be made.
Since we need more information to move forward with this issue, the status is now Postponed (maintainer needs more info). If we don't receive additional information to help with the issue, it may be closed after three months.
Thanks!
Comment #32
smustgrave commentedD7 is no longer supported and know the version checking that happens now has been pretty reliable so believe this can be closed. If anyone disagrees feel free to re-open
Thanks all