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 11 years ago

Closed 11 years ago

Last modified 10 years ago

#952 closed bug (fixed)

Submit Button no more created in command line createform

Reported by: foxmask Owned by: bastnic
Priority: normal Milestone: Jelix 1.2 beta
Component: jelix-scripts Version: trunk
Severity: major Keywords:
Cc: Blocked By:
Blocking: Documentation needed: no
Hosting Provider: Php version:

Description

A "regression" has been introduced when typing this command :

E:\wamp\www1\lib\jelix-scripts>php jelix --myapp createform mymodule myform

this produces this issue

Notice: Undefined variable: submit in E:\wamp\www1\lib\jelix-scripts\commands\cr
eateform.cmd.php on line 64

then in the myform.form.xml there is no more submit node.

this seems to come from this changes

Attachments (1)

ticket952.diff (2.8 KB) - added by Patrick_D 11 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 11 years ago by bastnic

  • Milestone changed from Jelix 1.1.4 to Jelix 1.2
  • Owner set to bastnic
  • Status changed from new to assigned

the patch will have to take care of the parameter -createlocales.

Changed 11 years ago by Patrick_D

comment:2 Changed 11 years ago by Patrick_D

  • review set to review?

Issue fixed. See the ticket952

comment:3 Changed 11 years ago by laurentj

  • Resolution set to fixed
  • review changed from review? to review+
  • Status changed from assigned to closed

ok for me. However I changed few little things. r1454.

comment:4 Changed 11 years ago by laurentj

Thanks for your patch.

comment:5 Changed 11 years ago by foxmask

  • Documentation needed set

we dont have any doc on the command createform at all

Note: See TracTickets for help on using tickets.