Skip to content

Problem with sta_bolzano #102

@ue71603

Description

@ue71603

Hi Stefan
MENTZ uses upper/lower cases in the source

              <DayType id="IT:ITH1:DayType:T3_1:" version="any">
                <Name lang="de">domenica e festivi</Name>
              </DayType>

                   <DayType id="IT:ITH1:DayType:t3_1:" version="any">
                <Name lang="de">solo il mercoledí</Name>
              </DayType>

However This doesn't survive your processing in netex_to_db and so on.

In the result we only have the upper case id

              <DayType id="IT:ITH1:DayType:T3_1:" version="any" responsibilitySetRef="IT:ITH1:Authority:apb:">
                <Name lang="de">domenica e festivi</Name>
              </DayType>

In the refs it remained:

            <ServiceJourney id="IT:ITH1:ServiceJourney:229333-TVVill-1-1-32400:t3:" version="1" responsibilitySetRef="IT:ITH1:Authority:apb:">
              <TransportMode>bus</TransportMode>
              <DepartureTime>09:00:00</DepartureTime>
              <dayTypes>
                <DayTypeRef version="any" ref="IT:ITH1:DayType:t3_1:"/>
              </dayTypes>

But the DayTypeAssignement that existed in the source are gone:

              <DayTypeAssignment id="IT:ITH1:DayTypeAssignment:t3_1::001" version="any" order="1">
                <OperatingPeriodRef ref="IT:ITH1:UicOperatingPeriod:t3:1:" version="any" nameOfRefClass="UicOperatingPeriod" />
                <DayTypeRef ref="IT:ITH1:DayType:t3_1:" version="any" id="id-0163345ea069425e982c57d94787e839" />
              </DayTypeAssignment>

process used: python -m tools.script_runner ./tools/tool_scripts/script_regression_v1.1.txt sta_bolzano.log sta_bolzano

on my correction branch

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions