Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

field {link} not parsed, resulting in two pipelines #13

Closed
arifje opened this issue Dec 30, 2014 · 0 comments
Closed

field {link} not parsed, resulting in two pipelines #13

arifje opened this issue Dec 30, 2014 · 0 comments

Comments

@arifje
Copy link
Contributor

arifje commented Dec 30, 2014

EE 2.9.2
Videolink 1.4.0

I have a matrix field called "link", with the type set on video link, but the tag {link} inside the matrix tag loop, isn't parsing the link/url which is filled in. It outputs two pipelines: ||

Also, when I delete the value in the field (publish form, matrix), it suddenly parses this string:

"|Driver Punches Cyclist - Caught on a Bike Cam|http://i.ytimg.com/vi/-es3a4a3_-k/hqdefault.jpg"

Other fields are parsing correctly.

EDIT: it seems that related data (title, thumbnail) isn't removed correctly, after clearing the field in the entry.

screendb

Don't know if its a matrix bug or addon?

More info that confirms my conclusion:

<input type="url" name="field_id_151[row_id_2569][col_id_2][url]" value="">
<input data-title type="hidden" name="field_id_151[row_id_2569][col_id_2][title]" value="Driver Punches Cyclist - Caught on a Bike Cam">
<input data-thumbnail type="hidden" name="field_id_151[row_id_2569][col_id_2][thumbnail]" value="http://i.ytimg.com/vi/-es3a4a3_-k/hqdefault.jpg">
arifje added a commit to arifje/videolink that referenced this issue Dec 30, 2014
Without this check all our entries got filled with two pipelines for the related field in the matrix...

See: clickrain#13
bryanburgers pushed a commit that referenced this issue Dec 30, 2014
Fix an issue where removing a link from the publish field does not remove
the title and thumbnail from the database.

See #13. Closes #14.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants