You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When starting to import recipes from URLs in the app, I found a small issue. I wasn't sure if it should be a 'Website support' issue instead, but since the website is generally working, I opted for bug.
Description
When importing this recipe, the attributes 'prepTime', 'cookTime' and 'totalTime' are not imported despite being present and well formatted in the JSON-LD.
Expected behavior
When the time attributes in the "Recipe" type are present and well formatted, they should also be parsed.
Actual behavior
The imported html contains the time attribute e.g.: <script type="application/ld+json">{"@context":"http:\/\/schema.org","@type":"Recipe",[...]"prepTime":"PT15M",..., but in the resulting recipe.json the time attributes are set to null: "prepTime": null.
Hey,
thanks for creating this app :)
When starting to import recipes from URLs in the app, I found a small issue. I wasn't sure if it should be a 'Website support' issue instead, but since the website is generally working, I opted for bug.
Description
When importing this recipe, the attributes 'prepTime', 'cookTime' and 'totalTime' are not imported despite being present and well formatted in the JSON-LD.
The same happened when trying with this recipe which is used as test case J for the JSON-LD parser. But if I see that correctly, the expected JSON output for this test case should contain the correct time attributes e.g.
"prepTime": "PT15M"
.Expected behavior
When the time attributes in the "Recipe" type are present and well formatted, they should also be parsed.
Actual behavior
The imported html contains the time attribute e.g.:
<script type="application/ld+json">{"@context":"http:\/\/schema.org","@type":"Recipe",[...]"prepTime":"PT15M",...
, but in the resulting recipe.json the time attributes are set to null:"prepTime": null
.Reproduction
Steps to reproduce the behavior:
Browser
Brave Version 1.52.129 Chromium: 114.0.5735.198 (Official Build) (x86_64)
Versions
Nextcloud server version: 26.0.3
Cookbook version: 0.10.2
Database system: Mysql 10.5.21
The text was updated successfully, but these errors were encountered: