Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-13473

Migrations: Adding a Module in an existing category

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.1.2
    • Fix Version/s: 3.1.13-RC1
    • Component/s: Extensions
    • Labels:
      None

      Description

      I tried to add a new Kategory at the "Extension" tab and adding a module there. Instead of using a new language variable I used the already existing 'BOARD_CONFIG'. The installation of the extension is working fine, but everything is kind of messed up afterwards. The module and the category are displayed correctly but the module is "not accessable". The module apears a second time at General -> BOARD_CONFIG there it can't be accessed correctly.

      Here is my migration file:
      [CODE]
      public function update_data()

      { global $user; $user->add_lang_ext('dave/seourls', 'common'); return array( array('config.add', array('seourls_convert_umlauts', '1')), // Add ACP module array('module.add', array('acp', 'ACP_CAT_DOT_MODS', 'BOARD_CONFIG' )), array('module.add', array( 'acp', 'BOARD_CONFIG', array( 'module_basename' => '\dave\seourls\acp\seourls_module', 'modes' => array('settings'), ), )), ); }

      [/CODE]

      I'm not sure if this is a bug, or if there is a convention that forbids using existing but it seems so.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              D@ve Dave Remmel [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: