Skip to content

BUG: ILFOV county - adresaCompleta is wrong and sate not searchable #366

@sebiboga

Description

@sebiboga

Bug Description

The ILFOV county has two critical issues:

Issue 1: Wrong adresaCompleta for all orase

All orase in ILFOV have the same adresaCompleta value copied from BRAGADIRU:

"orasul BRAGADIRU, judetul ILFOV, România"

This is wrong for all orase except BRAGADIRU itself.

Issue 2: Sate are missing adresaCompleta

All sate in ILFOV orase only have:

{"nume": "Buciumeni", "tip": "sat"}

They are missing the adresaCompleta field, which makes them NOT searchable.

Affected Files

  • ROMANIA/ILFOV/orase.php
  • ROMANIA/ILFOV/comune.php

Current State (Live API)

{
  "oras": [
    {
      "nume": "BUFTEA",
      "localitate": [
        ["orasul BRAGADIRU, judetul ILFOV, România", ...],  // WRONG!
        {"nume": "BUFTEA", "tip": "oras"},
        {"nume": "Buciumeni", "tip": "sat"}  // NO adresaCompleta!
      ]
    }
  ]
}

Expected State

Each oras should have its own correct adresaCompleta, and each sat should have adresaCompleta like:

{"nume": "Buciumeni", "tip": "sat", "adresaCompleta": ["sat Buciumeni, orasul BUFTEA, judetul Ilfov, România", "sat Buciumeni, orasul BUFTEA, judetul Ilfov, Romania"]}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions