Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/Application/Model/Ticket.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ class Ticket extends Model {
'abstract' => 'Fahrplan.Abstract',
'url' => 'Fahrplan.URL',
'description' => 'Fahrplan.Description',
'code' => 'Fahrplan.Code',
Copy link
Collaborator

@saerdnaer saerdnaer Dec 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ich hatte festgestellt das der code eigentlich eher als Attribut aufs Event gehört, und nicht als eigenes element... sprich das müssen wir hier noch so anpassen das folgendes XML importiert werden kann:

<event 
  guid="304dd87b-7de5-557c-9951-1add24396a0b" 
  code="TWEDR3" 
  id="2026"
>
  <date>2025-12-27T11:00:00+01:00</date>
  <start>11:00</start>
  <duration>00:40</duration>
  <room>One</room>
  <slug>
  39c3-all-sorted-by-machines-of-loving-grace-ai-cybernetics-and-fascism-and-how-to-intervene
  </slug>
  <title>
  All Sorted by Machines of Loving Grace? "AI", Cybernetics, and Fascism and how to Intervene
  </title>
  <subtitle/>
  <language>en</language>
  <track>Ethics, Society & Politics</track>
  <type>Talk</type>
  <abstract>…
</event>

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was soll der Code denn am Ende sein, und wo ist der Mehrwert ggü der GUID?

Copy link
Collaborator

@saerdnaer saerdnaer Dec 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Er löst die Integer ID als kurze ID ab – gegenüber der GUID hat es keine Mehrwehr, abgesehen das er kürzer ist.

Uns haben die Designer z.B. dieses mal die Intros mit Code anstatt Interger IDs als Dateinamen zugeliefert.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah okay.

Dann müsste man eigentlich Fahrplan.ID um-mappen, aber da ist ja nun vermutlich beides parallel vorhanden, und der eine nutzt das und der andere das... naja irgendwer wird schon wissen wofür das gut sein soll.

Hast du schon eine Umsetzung für "Attribut statt Element", oder brauchts da noch weitere Anpassungen, wo ich ggf. noch unterstützen kann?

// inofficial properties
'video_download_url' => 'Fahrplan.VideoDownloadURL'
];
Expand Down