- Posts: 4
COMMUNITY FORUM
Problem with Extra Fields
- Yuriy Dukhnich
- Topic Author
- Offline
- New Member
Less
More
12 years 6 months ago #63745
by Yuriy Dukhnich
Problem with Extra Fields was created by Yuriy Dukhnich
I use K2 for creating a catalog of companies and products.
in the description of the product and company I use an extra fields, including the field of website.
after upgrading Joomla from 1.7.4 to 2.5.3 and upgrading K2 from 2.5.4 to 2.5.5 I got a problem with Extra Fields.
For example, in the catalog, there are two products from one manufacturer
in the description of a first product website in an extra field is displayed correctly
www.smart-edu.com/instrumenty-razrabotki-uchebnyh-kursov/1738-competentumavtor.html
and in another product instead of the website displays the text [{"name":"","value":"http:\/\/","target":"new"}]
www.smart-edu.com/inctrumenty-poderzhki-soveschaniy-konferentsiy-virtualnyh-klassov/1852-competentumwebinar.html
in the administration panel Text, URL and attribute "Open in new window" are the same
what could be cause of the issue?
in the description of the product and company I use an extra fields, including the field of website.
after upgrading Joomla from 1.7.4 to 2.5.3 and upgrading K2 from 2.5.4 to 2.5.5 I got a problem with Extra Fields.
For example, in the catalog, there are two products from one manufacturer
in the description of a first product website in an extra field is displayed correctly
www.smart-edu.com/instrumenty-razrabotki-uchebnyh-kursov/1738-competentumavtor.html
and in another product instead of the website displays the text [{"name":"","value":"http:\/\/","target":"new"}]
www.smart-edu.com/inctrumenty-poderzhki-soveschaniy-konferentsiy-virtualnyh-klassov/1852-competentumwebinar.html
in the administration panel Text, URL and attribute "Open in new window" are the same
what could be cause of the issue?
Please Log in or Create an account to join the conversation.
- Yuriy Dukhnich
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
12 years 6 months ago #63746
by Yuriy Dukhnich
Replied by Yuriy Dukhnich on topic Re: Problem with Extra Fields
interesting observation:
If the text field "Fax" is empty
then I get an incorrect significance of the extra field "Website"
If the text field "Fax" is empty
then I get an incorrect significance of the extra field "Website"
Please Log in or Create an account to join the conversation.
- Julio Domínguez Rodríguez
- Offline
- New Member
Less
More
- Posts: 3
12 years 6 months ago #63747
by Julio Domínguez Rodríguez
Replied by Julio Domínguez Rodríguez on topic Re: Problem with Extra Fields
I have exactly the same issue.
I noted that all is ok with extra fields if all fields have data. But if a item has some empty fields (no values), the last fields values (same number of empty) will get values like [{"name":null,"value":"","target":null}] for text fields and [{"name":"","value":"http:\/\/","target":"new"}] for a link field.
It seems that json decoder doesn't work properly. Is it a K2 bug?
I noted that all is ok with extra fields if all fields have data. But if a item has some empty fields (no values), the last fields values (same number of empty) will get values like [{"name":null,"value":"","target":null}] for text fields and [{"name":"","value":"http:\/\/","target":"new"}] for a link field.
It seems that json decoder doesn't work properly. Is it a K2 bug?
Please Log in or Create an account to join the conversation.
- Julio Domínguez Rodríguez
- Offline
- New Member
Less
More
- Posts: 3
12 years 6 months ago - 12 years 6 months ago #63748
by Julio Domínguez Rodríguez
Replied by Julio Domínguez Rodríguez on topic Re: Problem with Extra Fields
Yes, this does is a bug. The issue was fixed and will come working properly with K2 2.5.6 version: code.google.com/p/getk2/issues/detail?id=197
Thanks to DEV team.
Thanks to DEV team.
Please Log in or Create an account to join the conversation.