Modify

Opened 10 years ago

Last modified 4 years ago

#11492 new defect

chained fields deleted when viewing ticket

Reported by: jfernandez@… Owned by:
Priority: normal Component: TracTicketChainedFieldsPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.0

Description

Hi, I have installed and configured TrackTicketChainedFieldsPlugin with two custom fields as a chained fields and I can create new ticket without problems. But I have two issues that I think could be related:

  1. When I create a new ticket, chained fields show two undesired values ("" and "undefined")
  2. When I view a ticket that has values on chained fields, that values are deleted automatically and the history shows:

Changed by USERNAME

  • FIELD_NAME FIELDVALUE deleted (revert)

I can revert, but when I view the ticket, the chained fields are deleted again.

How can I solve this?

Thanks in advance, Quimi

Attachments (0)

Change History (11)

comment:1 Changed 10 years ago by didley@…

I have the same Problem.

comment:2 in reply to:  1 Changed 10 years ago by didley@…

Replying to didley@…:

I have the same Problem.

Dear Richard,

I don't wanna put you under pressure I'm just interested in. Do you know when you can implement it?

Best regards, didley

Last edited 9 years ago by Ryan J Ollos (previous) (diff)

comment:3 Changed 9 years ago by Ryan J Ollos

Please post your [tcf] and [ticket-custom] sections from trac.ini, along with your Chained Fields configuration that is found on the admin page.

comment:4 Changed 9 years ago by didley@…

[tcf]
chained_fields = component, tcf_topic, tcf_subtopic, tcf_subsubtopic
hide_empty_fields = false
[ticket-custom]
author = text
author.format = plain
author.label = Author
author.order = 13
author.value = 
billable = checkbox
billable.label = Billable?
billable.order = 11
billable.value = 1
blockedby = text
blockedby.format = plain
blockedby.label = Blocked by
blockedby.order = 14
blockedby.value = 
blocking = text
blocking.format = plain
blocking.label = Blocking
blocking.order = 15
blocking.value = 
due_assign = text
due_assign.date = true
due_assign.date_empty = on
due_assign.format = plain
due_assign.label = Start Datum
due_assign.order = 5
due_assign.value = 
due_date = text
due_date.date = true
due_date.date_empty = on
due_date.format = plain
due_date.label = Termin
due_date.order = 7
due_date.value = 
estimatedhours = text
estimatedhours.format = plain
estimatedhours.label = Estimated Number of Hours
estimatedhours.order = 8
estimatedhours.value = 0
hours = text
hours.format = plain
hours.label = Add Hours to Ticket
hours.order = 9
hours.value = 0
internal = checkbox
internal.label = Internal?
internal.order = 6
internal.value = 0
parent = text
parent.format = wiki
parent.label = Parent_ID
parent.order = 12
parent.value = 
project = select
project.label = Projekt
project.options = None
project.order = 1
project.value = None
releasen = text
releasen.format = plain
releasen.label = Release Notes/Feature
releasen.order = 16
releasen.value = 
tcf_subsubtopic = select
tcf_subsubtopic.label = SubSubthema
tcf_subsubtopic.options = ||Anlagen|Artikel|Auftrag|Bestellung|Formular|Kundenstamm|Leistungsposition
tcf_subsubtopic.order = 4
tcf_subsubtopic.value = 
tcf_subtopic = select
tcf_subtopic.label = Subthema
tcf_subtopic.options = |||Abschlußbericht|Allgemein|Angebot|Arbeitsrecht|Beratung|Buchhaltung|ERP|Finanzplan|Gehalt|Infor|Insolvenz|KAESER|Kosten|KSK Reutlingen|LC-Top|Neueinstellung|001_OSG-Project|Rechnungslegung|Rechtsanwalt|Vertrag1|Vertrag2|VoBa Metzingen|Zahlungsbedingungen
tcf_subtopic.order = 3
tcf_subtopic.value = 
tcf_topic = select
tcf_topic.label = Thema
tcf_topic.options = ||||Allgemein|Angebot|Akquise|Application|Arbeitsablauf|Backup|Bank|Client|Drucker|Gesellschafterb.|Gesellschafter|Internet|Inventar|Kasse|Liquiditaet|LC-Top Konfiguration|Lizenz|Mail|Marketing|Miete|Netzwerk|Organisation|Partner|Personal|Projekt|Preiskalkulation|Rechtsanwalt|Schulung|Security|Server|Server|Serviceaufträge|Software|Steuerberater|Telefon|Umsatzzahlen|Versicherung|Vertragsmanagement|Wartungsvertrag|Webdomain|Zahlungsverkehr
tcf_topic.order = 2
tcf_topic.value = 
totalhours = text
totalhours.format = plain
totalhours.label = Total Hours
totalhours.order = 10
totalhours.value = 0

{
    "component": {
             "Buchhaltung": {
                 "tcf_topic":{
                     " ": {},
                     "Arbeitsablauf": {
                          "tcf_subtopic": {
                             " ": {},
                             "Rechnungslegung": {}
                                          }
                                      },
                     "Bank": {
                          "tcf_subtopic": {
                              " ": {},
                              "Allgemein": {},
                              "KSK Reutlingen": {},
                              "VoBa Metzingen": {}
                                           }
                              },
                     "Gesellschafter": {},
                     "Inventar": {},
                     "Kasse": {},
                     "Miete": {},
                     "Personal": {
                          "tcf_subtopic": {
                              " ": {},
                              "Gehalt": {},
                              "Neueinstellung": {},
                              "Rechtsanwalt": {}
                                          }
                                  },
                     "Liquiditaet": {},
                     "Steuerberater": {
                          "tcf_subtopic": {
                              " ": {},
                              "Abschlußbericht": {},
                              "Beratung": {},
                              "Buchhaltung": {},
                              "Finanzplan": {},
                              "Kosten": {}
                                          }
                                      },
                     "Rechtsanwalt": {
                          "tcf_subtopic": {
                              " ": {},
                              "Arbeitsrecht": {},
                              "Insolvenz": {},
                              "Kosten": {}
                                          }
                                      },
                      "Versicherung": {},
                      "Zahlungsverkehr": {
                          "tcf_subtopic": {
                              "Zahlungsbedingungen": {}
                                          }

                                       }, 
                      "Vertragsmanagement": {
                           "tcf_subtopic": {
                               " ": {},
                               "Vertrag1": {},
                               "Vertrag2": {}
                                           }
                                             } 
                             }
                            },
             "Einkauf": {
                 "tcf_topic":{
                     " ": {},
                     "einkauf1": {},
                     "einkauf2": {}
                             }
                         },
             "Gebäude u. Einrichtung": {
                 "tcf_topic":{
                     " ": {}
                             }
                         },
             "Gesellschaft": {
                 "tcf_topic": {
                     " ": {},
                     "Gesellschafterb.": {},
                     "Organisation": {},
                     "Personal": {}
                               }
                             },
             "IT-Abteilung": {
                 "tcf_topic":{
                     " ": {},
                     "Allgemein": {},
                     "Application": {
                         "tcf_subtopic": {
                             " ": {},
                             "Infor": {},
                             "LC-Top": {
                                   "tcf_subsubtopic": {
                                        " ": {},
                                        "Anlagen": {},
                                        "Artikel": {},
                                        "Auftrag": {},
                                        "Bestellung": {},
                                        "Formular": {},
                                        "Kundenstamm": {},
                                        "Leistungsposition": {}
                                                      }
                                         }
                                     
                                          }
                                    },             
                     "Backup": {},
                     "Client": {},
                     "Drucker": {},
                     "Internet": {},
                     "Netzwerk": {},
                     "Server": {},
                     "Security": {},
                     "Lizenz": {},
                     "Mail": {},
                     "Server": {},
                     "Software": {
                         "tcf_subtopic": {
                             " ": {},
                             "ERP": {}
                                          }
                                  },
                     "Telefon": {},
                     "Webdomain": {}
                             }
                         },
             "Lager": {
                 "tcf_topic":{
                     " ": {},
                     "Lager11": {},
                     "Lager2": {}
                             }
                         },
             "Service": {
                 "tcf_topic":{
                     " ": {},
                     "Arbeitsablauf": {},
                     "Wartungsvertrag": {},
                     "Service2": {}
                             }
                         },
             "Vertrieb": {
                 "tcf_topic":{
                     " ": {},
                     "Akquise": {},
                     "Angebot": {},
                     "Arbeitsablauf": {},
                     "LC-Top Konfiguration": {
                        "tcf_subtopic": {
                           " ": {},
                           "Angebot": {}
                                        }
                                      },
                     "Marketing": {},
                     "Partner": {
                        "tcf_subtopic": {
                           " ": {},
                           "KAESER": {}
                                        }
                               },  
                     "Umsatzzahlen": {},
                     "Preiskalkulation": {},
                     "Projekt": {
                        "tcf_subtopic": {
                           " ": {},
                           "001_OSG-Project": {}
                                         }
                                 },
                     "Serviceaufträge": {}
                             }
                         },
             "0_sonstiges":{
                 "tcf_topic":{
                     " ": {},
                     "Schulung": {}
                             }   
                           }
   }
}

Best regards

Didley

Last edited 9 years ago by Ryan J Ollos (previous) (diff)

comment:5 Changed 9 years ago by Ryan J Ollos

Owner: changed from Richard Liao to Ryan J Ollos
Status: newaccepted

Thanks, I'll investigate.

comment:6 Changed 9 years ago by Ryan J Ollos

Status: acceptednew

Refocusing.

comment:7 Changed 9 years ago by anonymous

What is the progress of this? I am having the same issue.

comment:8 Changed 9 years ago by Ryan J Ollos

Feel free to provide a patch. There's no one maintaining this plugin. I'll take a look if I find time, but that's not likely to happen very soon.

comment:9 Changed 9 years ago by anonymous

Any plugins with similar function?

comment:10 Changed 9 years ago by Ryan J Ollos

Nothing that I know of.

comment:11 Changed 4 years ago by Ryan J Ollos

Owner: Ryan J Ollos deleted

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.