CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Story #29283

As a developer I want to be able to delete default methods if I don't need them

Added by Nico de Haen over 1 year ago. Updated over 1 year ago.

Status:Resolved Start date:2011-08-26
Priority:Should have Due date:
Assignee:Nico de Haen % Done:

100%

Category:Code Creation
Target version:2.1
Story points-
Velocity based estimate-
Remaining hours
Votes: 0

Description

This means, that efault methods should only be added on first save
Currently it is not possible, to remove (as example) a setter method for a property that is not needed. It will be recreated each time you save you model again. We should implement some "new" flag in code ceation process, to add the default methods only the first time the related property or relation is added. Thus it would be possible to remove methods manually in the code, and the extension builder won't recreate them.

Associated revisions

Revision d7a0b037
Added by Nico de Haen over 1 year ago

[TASK] Create methods only when properties are new

Property related methods should only be created the first time a property is added
This enables to remove methods also

Resolves #29283

Change-Id: Ic6344e38fc78bf429419ecd3b14da92cf9a174ad

History

Updated by Nico de Haen over 1 year ago

  • Tracker changed from Bug to Task

Updated by Nico de Haen over 1 year ago

  • Target version set to 2.1

Updated by Nico de Haen over 1 year ago

  • Tracker changed from Task to Story
  • Subject changed from Default methods should only be added on first save to As a developer I want to be able to delete default methods if I don't need them

Updated by Nico de Haen over 1 year ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF