developer.jelix.org is not used any more and exists only for history. Post new tickets on the Github account.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#1393 closed bug (invalid)

Migration 1.2 => 1.3 Name is missing in a dependency declaration in module

Reported by: foxmask Owned by:
Priority: normal Milestone:
Component: jelix:installer Version: trunk
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Documentation needed: no
Hosting Provider: Php version:

Description

J'ai une appli en jelix 1.2 quand je suis la doc de migration http://jelix.org/articles/fr/manuel-1.3/installation/migration

au moment de faire php installer.php j'obtiens les erreurs suivantes (par point d'entée):

[error] Name is missing in a dependency declaration in module xxx comp=xxx

ceci semble être un bug dans jInstallerComponentBase.class.php

mon module contient ces dépendances :

    <dependencies>
        <jelix minversion="1.2" maxversion="1.3.*"/>
        <jcommunity minversion="0.2.1" maxversion="0.2.*"/>
    </dependencies>

En pistant ce qui arrive à coup de var_dump($dependency) ; ca donne ceci par exemple :

string(0) ""
object(SimpleXMLElement)#75 (1) {
  ["@attributes"]=>
  array(2) {
    ["minversion"]=>
    string(5) "0.2.1"
    ["maxversion"]=>
    string(5) "0.2.*"
  }
}

au lieu de string(0) "", on devrait avoir jcommunity :/

Je creuse ce qui se passe.

Change History (2)

comment:1 Changed 9 years ago by foxmask

  • Resolution set to invalid
  • Status changed from new to closed

boulet ...

<dependencies>
        <jelix minversion="1.2" maxversion="1.3.*"/>
        <module name="jcommunity" minversion="0.2.1" maxversion="0.2.*"/>
    </dependencies>

comment:2 Changed 9 years ago by foxmask

C'est de la balle cet installeur !

C:\WEB\DOCUMENT_ROOT\www_teg\teg\install>php installer.php
Installation start..
[notice] Installation starts for the entry point index
All modules dependencies are ok
´╗┐Module jelix upgraded to the version 1.3pre.1753
Module jelix upgraded to the version 1.3pre.1754
Module jelix upgraded to the version 1.3pre.1760
Module jelix upgraded to the version 1.3pre.1871
Module jelix upgraded to the version 1.3pre.1919
Module jelix upgraded to the version 1.3b2pre.1959
Module jelix upgraded to the version 1.3b2pre.1993
Module jacl2db upgraded to the version 1.3a1
Module jacl2db upgraded to the version 1.3a2
Module jacl2db upgraded to the version 1.3a3
Module jcommunity upgraded to the version 0.2.2
Module teg upgraded to the version 1.0
Module teg_stats upgraded to the version 1.0
Module teg_twitter upgraded to the version 1.0
Module jelixcache installed
Module modulesinfo installed
Module servinfo installed
Module adminteg upgraded to the version 1.0
All modules are installed or upgraded for the entry point index
[notice] Installation starts for the entry point adminteg
All modules dependencies are ok
Module jelix upgraded to the version 1.3pre.1753
Module jelix upgraded to the version 1.3pre.1754
Module jelix upgraded to the version 1.3pre.1760
Module jelix upgraded to the version 1.3pre.1871
Module jelix upgraded to the version 1.3pre.1919
Module jelix upgraded to the version 1.3b2pre.1959
Module jelix upgraded to the version 1.3b2pre.1993
Module jacl2db upgraded to the version 1.3a1
Module jacl2db upgraded to the version 1.3a2
Module jacl2db upgraded to the version 1.3a3
Module jcommunity upgraded to the version 0.2.2
Module teg upgraded to the version 1.0
Module teg_stats upgraded to the version 1.0
Module teg_twitter upgraded to the version 1.0
Module adminteg upgraded to the version 1.0
All modules are installed or upgraded for the entry point adminteg
Installation ended.

!!!

Note: See TracTickets for help on using tickets.