Ticket #550 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

paster mf-layer command does not process correctly section names in layers.ini

Reported by: bbinet Owned by: elemoine
Priority: critical Milestone: framework.server 1.2.1 Release
Component: framework.server Version: SVN
Keywords: Cc:
State: Commit

Description

Currently, the command "paster mf-layer users" is using the keyword "users" to replace the module name in the model and controller templates.

Instead, it should use the plural form available in each section of layers.ini. Thus the section name would only be used to extract parameters from layers.ini.

Attachments

patch_550-r3338-A0.diff (7.5 kB) - added by bbinet 2 years ago.

Change History

Changed 2 years ago by bbinet

Changed 2 years ago by bbinet

  • state set to Review

patch_550-r3338-A0.diff fixes the problem.

I've checked (diff -r) that a mf-layer patched was generating the same output files as mf-layer not patched (having carefully chosen the layers.ini parameters to avoid the bug).

So I think it should be ok even if I have not test the patch with a real mapfish application.

Changed 2 years ago by elemoine

  • milestone changed from framework.client 1.2.1 Release to framework.server 1.2.1 Release

Changed 2 years ago by elemoine

  • state changed from Review to Commit

Changed 2 years ago by bbinet

  • status changed from new to closed
  • resolution set to fixed

(In [3387]) fix paster mf-controller command that was not processing correctly section names in layers.ini, r=elemoine (closes #550)

Note: See TracTickets for help on using tickets.