Skip to main content
Open

Disable subjects logical concept when last template is disconnected

Related products:Software Factory
Jasper
Ester
K.Bakkenes
Arjan Sollie
Jeroen van den Belt
+40
  • Jasper
    Jasper
  • Ester
    Ester
  • K.Bakkenes
    K.Bakkenes
  • Arjan Sollie
    Arjan Sollie
  • Jeroen van den Belt
    Jeroen van den Belt
  • Kevin Horst
    Kevin Horst
  • Harm Horstman
    Harm Horstman
  • Erik Brink
    Erik Brink
  • Frank Wijnhout
    Frank Wijnhout
  • Mark
    Mark
  • Tim Waalewijn
  • Martijn Grefhorst
    Martijn Grefhorst
  • Maurice Liebregt
  • Robbert van Tongeren
    Robbert van Tongeren
  • Michael
    Michael
  • Mark Jongeling
    Mark Jongeling
  • Benjamin Westra
  • luukschouten
  • Hugo Nienhuis
    Hugo Nienhuis
  • John Lunenburg
    John Lunenburg
  • John Sangers
    John Sangers
  • Erwin Ekkel
  • Freddy
    Freddy
  • kenterweeme
  • Peter Jan Thierry
  • Martin
  • mperrott
    mperrott
  • Jochem Pieper
    Jochem Pieper
  • Sergio
  • C. Lousberg
    C. Lousberg
  • Rick
  • Kasper Reijnders
    Kasper Reijnders
  • Maarten
  • Mark Kroes
  • Joey van Gentevoort
  • Anne Vries
  • Jeroen de Klerk
    Jeroen de Klerk
  • Rucha Naik
    Rucha Naik
  • Usha
  • Marius Korff
    Marius Korff
  • rbiram
    rbiram
  • Yara
  • StefanPater
    StefanPater
  • Raymond Gerritsen
    Raymond Gerritsen
  • Slavoljub Milojkovic

In the SF, when you assign a template to the code group of a subject/table. The SF automatically enables a checkbox in the subjects’ settings to enable the logic concept, for example for defaults, layouts and contexts. 

 

However, when you ‘unassign’ the last template to a subjects’ code group, the checkbox is not unchecked, which always results in a error in the GUI. This forces you to manually go to the subject and uncheck the checkbox. 

 

We would like this process to be automatic, in which the SF checks if no templates are assigned to subjects logical concept, automatically resulting in disabling the checkbox for that logical concept in the subjects’ settings.

Did this topic help you find an answer to your question?

3 replies

Mark Jongeling
Administrator
Forum|alt.badge.img+23
The following idea has been merged into this idea:

All the votes have been transferred into this idea.

Mark Jongeling
Administrator
Forum|alt.badge.img+23
NewOpen

Jeroen van den Belt
Administrator
Forum|alt.badge.img+9

We’ve looked into this idea, and while it could work in cases with only static control procedures, it becomes more challenging for program objects that also contain control procedures that rely on SQL-assignment.

In those cases, the last static assignment records could be removed but some templates are still assigned dynamically via SQL assignments.

Some examples where program objects are temporarily unavailable:

  • During definition generation (when objects have been removed but not yet recreated)
  • When an error occurs during generation
  • Just after creating a new branch, before any definitions have been generated (we currently do not yet copy the program objects when creating a branch)

In such cases, automatically unchecking the checkbox based on missing assignments is undesirable, since the situation is only temporary. The tricky part is that there is currently no reliable way to tell whether it’s a temporary situation or if someone has intentionally removed the last assignment. 

An enrichment might also play a role in the implementation here, as it can be executed at a chosen time.

These are considerations we need to keep in mind when picking up this idea, but this is not something we plan to do in the foreseeable future.

Last note: for static control procedures, you can already easily disable the program object in the tab ‘Assigning’, which clears the checkbox in the subject's settings.

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings