Comments (8)
@m-schiewi the v4.1.0 is out https://github.com/FACT-Finder-Web-Components/oxid-eshop-module/releases/tag/v4.1.0
from oxid-eshop-module.
Hi @bissie and thanks for reporting.
This is going to be fixed in next release
from oxid-eshop-module.
Issue not fixed in 4.1.0
steps to reproduce:
- create an attribute in shop titled "Webhop Label '%'"
- insert line console.log(newValue) after attribute-rows.js:41
- notice that string newValue ends like ".... Webshop Label " leaving out the percentage char and any characters following, consequently any attempt for JSON.parse() fails
-root cause can be found in views/admin/blocks/factfinder_config_field_attributes.tpl:5
[{$availableAttributes|@json_encode}] itself gives valid json but since the fact, that it's enclosed in single quotation like
available-attributes='[{$availableAttributes|@json_encode}]' it fails immedeately if $availableAttributes contains any quotation mark.
from oxid-eshop-module.
hi @m-schiewi
thanks for noticing that. It looks that smarty @json_encode does not properly encode that characters like " and ' and we need to use regular json_encode
function with additional encoding flags before assigning to a template variable. This will be fixed in next release.
The 4.1.0 is not yet released. Currently is postponed as we are waiting for the WebComponents v4.0.7 to be released before.
from oxid-eshop-module.
hi @m-schiewi additional encoding is already in master.
4209dc4
With that fix, the attribute names containing apostrophes or quotes should not break the attribute rows component.
Version v4.1.0 will be released soon
from oxid-eshop-module.
@a-laurowski I am confused: 4.1.0 is listed at packagist and installed on my side...
from oxid-eshop-module.
hi @m-schiewi
the problem here is we already pushed the v4.1.0 tag on Wednesday because we were about to release but then, we postpone that. But since tag was already in repository it was automatically loaded by packagist. if you checked the release lists on github you would notice though, that last official release was 4.0.2, and v4.1.0 was still a draft, not visible as official release.
Sorry for inconvenience.
I will update you as soon as release is out
from oxid-eshop-module.
thanks a lot!
from oxid-eshop-module.
Related Issues (20)
- Session Issues and missing URL-Parameters
- feed export
- Configuration for specific language
- Session and User ID are not set on <ff-communication>
- Export keywords to a SearchableAttributes field
- Custom attribute export
- error if 3th-party module function is used / wrong class extension HOT 3
- Show more/less are not translated in the ASN
- module version
- Use Web Components SID
- Search event is triggered twice on search result page
- Advisor campaigns are not integrated into the search result page HOT 1
- Export handler for FilterAttributes does not handle non-string values properly
- The module is missing some configurable parameter, e.g. for currency formatting of custom fields HOT 3
- New version tag needed HOT 2
- Missing logging capabilities HOT 8
- ArticleFeed misses Filterattributes that are linked to Child-Articles HOT 2
- ff/ffwebcomponents/views/frontend/page/result.tpl path wrong or works as intended HOT 5
- Dangerous change in scripts.tpl HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oxid-eshop-module.