help to better help you:
Please: add always Joomla / JEM version and details to your posts, so we can try to reproduce your issue!
Import Venues.csv changes ID's to recordnumbers - WRONG
Import Venues.csv changes ID's to recordnumbers - WRONG
7 years 3 months ago
We had big trouble importing the venues table.
I found out that our venues start with ID 7 and not 1. After import all records get a new ID. So the locations for all events are wrong.
I added manualy 'dummy' locations by copying the first one in the database and changing the name to 'dummy'.
I kept the existing order, just inserted missing records (= ID's).
I think this is wrong behavior. ID's should never be the recordnumber. Please have a look at the import process. We will not be the only ones that delete a location that is not used.
I found out that our venues start with ID 7 and not 1. After import all records get a new ID. So the locations for all events are wrong.
I added manualy 'dummy' locations by copying the first one in the database and changing the name to 'dummy'.
I kept the existing order, just inserted missing records (= ID's).
I think this is wrong behavior. ID's should never be the recordnumber. Please have a look at the import process. We will not be the only ones that delete a location that is not used.
Please Log in or Create an account to join the conversation.
Re: Import Venues.csv changes ID's to recordnumbers - WRONG
7 years 3 months ago
Strange! Did you follow exactly the instructions in the help? Can you describe step by step how you arrived to this wrong result, please!
Please Log in or Create an account to join the conversation.
Re: Import Venues.csv changes ID's to recordnumbers - WRONG
7 years 3 months ago - 7 years 3 months ago
Working from a shadow joomla 3.5.1 witth jem 2.1.5 install after updating from 2.5. Data and lists seem ok. Import to new joomla 3.7 and actual jem 2.2 failed, locations/venues are mixed up.
Step by step updated shadow jem to 2.1.6, 2.2.0 and .2.2.1 to latest. Data ok. Made export of all steps to 4 .csv files. In the first step a record with id 111 was missing. After just saving that record again, it was exported.
Without altering i import those latest files (that came from the same jem version) to the live site. First I pushed the button to delete all jem data. I imported all tables, default settings. Started with the venues, and events as latest.
With all exports I entered date 1990-01-01 to 2030-01-01 and selected all. (Missing the option to select all records!)
It does not matter what export I import. They gave all the same result. All ID's from the venues were changed to their recordnumbers (the order in the export table).
If there is to be an order of import to be followed, I would expect that message.
Step by step updated shadow jem to 2.1.6, 2.2.0 and .2.2.1 to latest. Data ok. Made export of all steps to 4 .csv files. In the first step a record with id 111 was missing. After just saving that record again, it was exported.
Without altering i import those latest files (that came from the same jem version) to the live site. First I pushed the button to delete all jem data. I imported all tables, default settings. Started with the venues, and events as latest.
With all exports I entered date 1990-01-01 to 2030-01-01 and selected all. (Missing the option to select all records!)
It does not matter what export I import. They gave all the same result. All ID's from the venues were changed to their recordnumbers (the order in the export table).
If there is to be an order of import to be followed, I would expect that message.
Last edit: 7 years 3 months ago by Hendrik57. Reason: type error
The following user(s) said Thank You: jojo12
Please Log in or Create an account to join the conversation.
Re: Import Venues.csv changes ID's to recordnumbers - WRONG
7 years 3 months ago
what did you choose in the import settings
yes or no?Replace if ID exists (otherwise create): Choose yes if you want to overwrite events with already existing IDs want. When no, every event is recreated with a new ID.
Please Log in or Create an account to join the conversation.
Re: Import Venues.csv changes ID's to recordnumbers - WRONG
7 years 3 months ago
I imported everything with default settings in an empty database.
B.t.w. Today one discovered that all events refer to the wrong categories also. This list is also wrongly imported.
I can send you the four .csv files in a zip for evaluation. Not through the forum I think.
B.t.w. Today one discovered that all events refer to the wrong categories also. This list is also wrongly imported.
I can send you the four .csv files in a zip for evaluation. Not through the forum I think.
Please Log in or Create an account to join the conversation.
Re: Import Venues.csv changes ID's to recordnumbers - WRONG
7 years 3 months ago
This is categories before import
id parent_id catname alias
1 0 root root
7 1 Quiz quiz
5 1 Lezing lezing
6 1 Excursie excursie
8 1 Diversen diversen
9 1 Historische herberg herberg
10 1 Fiets-/wandeltocht fiets-wandeltocht
11 1 Boekpresentatie boekpresentatie
12 1 Sectie-activiteit sectie-activiteit
13 1 Activiteit van derden activiteit-van-derden
14 1 Open dag/huis open-dag-huis
And this is after import:
id parent_id catname alias
1 0 root root
2 1 root
3 1 Quiz quiz
4 1 Lezing lezing
5 1 Excursie excursie
6 1 Diversen diversen
7 1 Historische herberg herberg
8 1 Fiets-/wandeltocht fiets-wandeltocht
9 1 Boekpresentatie boekpresentatie
10 1 Sectie-activiteit sectie-activiteit
11 1 Activiteit van derden activiteit-van-derden
12 1 Open dag/huis open-dag-huis
And why there are Root entries now in this and the venues?
id parent_id catname alias
1 0 root root
7 1 Quiz quiz
5 1 Lezing lezing
6 1 Excursie excursie
8 1 Diversen diversen
9 1 Historische herberg herberg
10 1 Fiets-/wandeltocht fiets-wandeltocht
11 1 Boekpresentatie boekpresentatie
12 1 Sectie-activiteit sectie-activiteit
13 1 Activiteit van derden activiteit-van-derden
14 1 Open dag/huis open-dag-huis
And this is after import:
id parent_id catname alias
1 0 root root
2 1 root
3 1 Quiz quiz
4 1 Lezing lezing
5 1 Excursie excursie
6 1 Diversen diversen
7 1 Historische herberg herberg
8 1 Fiets-/wandeltocht fiets-wandeltocht
9 1 Boekpresentatie boekpresentatie
10 1 Sectie-activiteit sectie-activiteit
11 1 Activiteit van derden activiteit-van-derden
12 1 Open dag/huis open-dag-huis
And why there are Root entries now in this and the venues?
Please Log in or Create an account to join the conversation.
Time to create page: 0.437 seconds