-
-
Notifications
You must be signed in to change notification settings - Fork 241
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
nanoc show-data doesn’t show dependencies from @items #1453
Comments
Update: this is wrong. More minified way to reproduce:
Should: index.html should depend on test.png. Actual: it doesn’t. |
For your minified steps to reproduce, the
If I add
which shows that |
I’m not able to reproduce it in a different way. Can you double-check the steps to reproduce? |
I just ran |
It could be that #1493 is a fix for this — it’s definitely a related issue, but I’ve not been able to reproduce yours specifically. Can you see whether Nanoc |
This is extremely elusive. I just saw this in a build with #1493. I can’t reproduce it on demand but it keeps happening from time to time. |
Steps to reproduce
@items[item_identifier_string]
or@items.find_all(some_item_glob)
.nanoc show-data
Expected behavior
show-data
should list all the dependencies for all of the items.Actual behavior
show-data
lists the dependencies for one of the items using that template. The other items are listed as depending on(nothing)
.Details
Unsure if this is related or not, but the values given to
@items
originates from an@item
property. E.g.@items.find_all("{#{@item[:array_of_item_identifiers].join(',')}}")
or@items[@item[:thumbnail_item_identifier]]
.Despite not showing in
show-data
, the dependency tracking works most of the time. Sometimes need to runcompile
a second time for an item using such a layout will recompile.Update 1: The recompilation issue seems to only affect item properties from items with meta files.
Update 2: Recompilation issue separated into separate issue #1454.
The text was updated successfully, but these errors were encountered: