1. jarlu
  2. RO CSVI
  3. Friday, 15 February 2019
  4.  Subscribe via email
Hello, I have this type of import:
<polozka adc="F9FB566A-03A5-4837-8D54-070059FFED5C" balenie="40G SYPANY 1X40 G" id_kart="125433" je_na_sklade="True" kod="T09976" lenosobne="False" limit_mnozstva="0.0" mnozstvo="2.0" nazov="HERBEX BAZA CIERNA (KVET)" poznamka="" predajna_cena="1.22" sadzba_dph="20" sortiment="" typ="T" vyrobca="HERBEX SPOL. S R.O.">
<skladova_karta bar_kod="B00115577" exspiracia="2020-12-30" id_sklad="115732" mnozstvo="1.0" nakup_bdph="0.83" sadzba_dph="20" sarza=""/>
</polozka>

this import is successful, but when i have next type (without tag <skladova karta>;), row is skipped.
<polozka balenie="" id_kart="121653" je_na_sklade="False" kod="T08209" lenosobne="False" limit_mnozstva="0.0" mnozstvo="0" nazov="ORS T 116 C.23" poznamka="" predajna_cena="" sadzba_dph="20" sortiment="" typ="T" vyrobca=""/>


problem is only when tag <polozka> is finished without ending tag </polozka> and tag is closed like this <polozka ...... />
do you have some solution for this problem? thank you
Accepted Answer Pending Moderation
Hello,
Thank you for confirming that patch is working. This fix will be included in our next upcoming release.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 1
Accepted Answer Pending Moderation
Hello, now is import correct. Thank you
  1. more than a month ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
Hello,
We have fixed the child node self closing tag issue with the attached patch file. Can you load the patch file and check your XML import again?
Attachments (1)
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 3
Accepted Answer Pending Moderation
Hello,
We are looking into this issue and will get back to you with an update.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 4
Accepted Answer Pending Moderation
This import is correct:
<?xml version="1.0" encoding="Windows-1250"?>
<VFPDataSet>
<polozky>
<polozka adc="050FA199-99B7-4939-9F82-57F2069DA3B3" balenie="1KS 1X1 KS" id_kart="125914" je_na_sklade="True" kod="T10135" lenosobne="False" limit_mnozstva="0.0" mnozstvo="1.0" nazov="VEROVAL DOTYKOVY INFRACERVENY TEPLOMER (DUOSCAN)" poznamka="" predajna_cena="33.5" sadzba_dph="20" sortiment="" typ="T" vyrobca="JOYTECH HEALTHCARE CO. LTD.">
<ean>
4052199292397
</ean>
</polozka>

</polozky>
</VFPDataSet>

but in this import is (there is self-closing tag skladova_karta) tag <ean> is skipped:
<?xml version="1.0" encoding="Windows-1250"?>
<VFPDataSet>
<polozky>

<polozka adc="050FA199-99B7-4939-9F82-57F2069DA3B3" balenie="1KS 1X1 KS" id_kart="125914" je_na_sklade="True" kod="T10135" lenosobne="False" limit_mnozstva="0.0" mnozstvo="1.0" nazov="VEROVAL DOTYKOVY INFRACERVENY TEPLOMER (DUOSCAN)" poznamka="" predajna_cena="33.5" sadzba_dph="20" sortiment="" typ="T" vyrobca="JOYTECH HEALTHCARE CO. LTD.">
<skladova_karta bar_kod="B00116411" exspiracia="2023-01-31" id_sklad="116567" mnozstvo="1.0" nakup_bdph="19.67" sadzba_dph="20" sarza="925463"/>
<ean>
4052199292397
</ean>
</polozka>

</polozky>
</VFPDataSet>
  1. more than a month ago
  2. RO CSVI
  3. # 5
Accepted Answer Pending Moderation
Yes, when I am importing xml file some lines is skipped. Problem is when Record name has two or more self-closing tag and next tag is classic (this classic tag is skipped). When I have only one self-closing tag and next tag is classic, import is correct.
  1. more than a month ago
  2. RO CSVI
  3. # 6
Accepted Answer Pending Moderation
Hello,

Are you saying the patch I sent you did not work?
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 7
Accepted Answer Pending Moderation
I tried it but problem is not solved.
When I have import like this, row with tag ean is skipped:

<?xml version="1.0" encoding="Windows-1250"?>
<VFPDataSet>
<polozky>
<polozka adc="050FA199-99B7-4939-9F82-57F2069DA3B3" balenie="1KS 1X1 KS" id_kart="125914" je_na_sklade="True" kod="T10135" lenosobne="False" limit_mnozstva="0.0" mnozstvo="1.0" nazov="VEROVAL DOTYKOVY INFRACERVENY TEPLOMER (DUOSCAN)" poznamka="" predajna_cena="33.5" sadzba_dph="20" sortiment="" typ="T" vyrobca="JOYTECH HEALTHCARE CO. LTD.">
<skladova_karta bar_kod="B00116411" exspiracia="2023-01-31" id_sklad="116567" mnozstvo="1.0" nakup_bdph="19.67" sadzba_dph="20" sarza="925463"/>
<ean>
4052199292397
</ean>
</polozka>
</polozky>
</VFPDataSet>

when I close tag <skladova_karta> with tag </skladova_karta>, import is correct. But in my import is <skladova_karta> is self cloasing tag.
In attachment I send backup my import template. XML import file is the same like this https://csvimproved.com/index.php?option=com_kunena&view=topic&catid=44&id=34631&Itemid=1053#60071
[attachment]csvi_templates_http://www.topanocky.eu_20190325.xml[/attachment]
Attachments (1)
  1. more than a month ago
  2. RO CSVI
  3. # 8
Accepted Answer Pending Moderation
Hello,

Please load the attached patch file and load the patch file and see if that fixes your problem.

We have identified a problem with self-closing nodes and fixed it for the new release.

Let me know how it goes.
Attachments (1)
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 9
Accepted Answer Pending Moderation
Hello, I have other problem with the same import.
If I want import tag ean from this xml, row is skipped

<polozky>

<polozka adc="98763F85-84E5-436C-891D-6A8AF286E34F" balenie="1KS PERO NA LIECBU PLESNOVYCH INFEKCII NECHTOV 1X1 KS" id_kart="108759" je_na_sklade="False" kod="P94141" lenosobne="false" limit_mnozstva="0.0" mnozstvo="1.0" nazov="EXCILOR" poznamka="aaaaa" predajna_cena="10.53" sadzba_dph="20" sortiment="" typ="I" vyrobca="OYSTERSHELL NV">
<skladova_karta bar_kod="B00117311" exspiracia="2021-02-28" id_sklad="117467" mnozstvo="1.0" nakup_bdph="7.5" sadzba_dph="20" sarza="HX7224"/>
<ean>5410765002129</ean>
</polozka>

</polozky>

but when I try paste the tag above the tag <skladova_karta> the import was successful. But this structure of XML is fixed.
  1. more than a month ago
  2. RO CSVI
  3. # 10
Accepted Answer Pending Moderation
Now is import successful. Thank you :-)
  1. more than a month ago
  2. RO CSVI
  3. # 11
Accepted Answer Pending Moderation
Hello,
We fixed the problem with XML with self closing tags. Can you load the attached patch file and check your import?

patch_csvi_2019_02_20.zip
Attachments (1)
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 12
Accepted Answer Pending Moderation
Thank you, I will wait for your answer.
  1. more than a month ago
  2. RO CSVI
  3. # 13
Accepted Answer Pending Moderation
Hello,

We are working on it but it seems a little troublesome. We hope to finish it up tomorrow.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 14
Accepted Answer Pending Moderation
Thant you!
Please, how long will it take?
  1. more than a month ago
  2. RO CSVI
  3. # 15
Accepted Answer Pending Moderation
Hello,
We are looking into this issue and will get back with an update.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 16
Accepted Answer Pending Moderation
Hello, I send files...

[attachment]csvi_templates_http://www.topanocky.eu_20190218.xml[/attachment] eshop_sklad.xml

From eshop_sklad.xml I removed some lines because this file has more than 0,5MB.
Attachments (2)
  1. more than a month ago
  2. RO CSVI
  3. # 17
Accepted Answer Pending Moderation
Hello,
Can you post a copy of your template and sample of your import file? I would like to see how you have your import fields set up. You can create a copy of your template from CSVI Maintenance page, select CSVI Pro in first dropdown and Backup templates in second dropdown and select your import template and click continue. Post the downloaded XML file.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 18
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!