Moodle
  1. Moodle
  2. MDL-3181

check for missing strings creates empty files

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5.2
    • Fix Version/s: None
    • Component/s: Administration
    • Labels:
      None
    • Environment:
      All
    • Affected Branches:
      MOODLE_15_STABLE

      Description

      When accessing moodle/admin/lang.php?mode=missing (aparently only that mode), all missing php files from the language pack are created and are empty, causing the risk of empty files in the language pack

        Gliffy Diagrams

          Activity

          Hide
          Martin Dougiamas added a comment -

          From (moodle at martignoni.net) Tuesday, 10 May 2005, 01:51 PM:

          The empty files causes also problems when updating an installation with CVS.

          From oen roggemans (koen at roggemans.net) Thursday, 14 July 2005, 02:49 PM:

          I increased the severity of this bug, because it looks like it is causing more then enoyance. See discussion http://moodle.org/mod/forum/discuss.php?d=26286 and http://moodle.org/mod/forum/discuss.php?d=27084

          When checking for missing strings, all missing files get created, but empty. This causes also an empty countries.php in language packs where it is missing. With an empty countries.php, you don't get a country menu when creating a new user or editing a profile. Since it is a required field, no user can be created using the interface

          From Martin Dougiamas (martin at moodle.com) Thursday, 14 July 2005, 11:58 PM:

          I'm fixing this now.

          From Martin Dougiamas (martin at moodle.com) Friday, 15 July 2005, 12:02 AM:

          Fixed in 1.5.2 and HEAD.

          Files are no longer created empty (this was mostly a problem on WIndows only)

          Show
          Martin Dougiamas added a comment - From (moodle at martignoni.net) Tuesday, 10 May 2005, 01:51 PM: The empty files causes also problems when updating an installation with CVS. From oen roggemans (koen at roggemans.net) Thursday, 14 July 2005, 02:49 PM: I increased the severity of this bug, because it looks like it is causing more then enoyance. See discussion http://moodle.org/mod/forum/discuss.php?d=26286 and http://moodle.org/mod/forum/discuss.php?d=27084 When checking for missing strings, all missing files get created, but empty. This causes also an empty countries.php in language packs where it is missing. With an empty countries.php, you don't get a country menu when creating a new user or editing a profile. Since it is a required field, no user can be created using the interface From Martin Dougiamas (martin at moodle.com) Thursday, 14 July 2005, 11:58 PM: I'm fixing this now. From Martin Dougiamas (martin at moodle.com) Friday, 15 July 2005, 12:02 AM: Fixed in 1.5.2 and HEAD. Files are no longer created empty (this was mostly a problem on WIndows only)
          Hide
          Michael Blake added a comment -

          assign to a valid user

          Show
          Michael Blake added a comment - assign to a valid user

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: