René's URL Explorer Experiment
Title: Data Override Not Working As Expected · Issue #373 · pattern-lab/patternlab-php · GitHub
Open Graph Title: Data Override Not Working As Expected · Issue #373 · pattern-lab/patternlab-php
X Title: Data Override Not Working As Expected · Issue #373 · pattern-lab/patternlab-php
Description: I am using Pattern Lab PHP on Mac, using Grunt. Created a new PL2 Project. Added atoms-/button and molecules-button-list to the project. atoms/button markup: {{# buttonText }} {{ button...
Open Graph Description: I am using Pattern Lab PHP on Mac, using Grunt. Created a new PL2 Project. Added atoms-/button and molecules-button-list to the project. atoms/button markup: \n\n \u003cspan class=\"button__text\">\n {{# buttonText }}\n {{ buttonText }}\n {{/ buttonText }}\n \u003c/span>\n\n\u003c/button>\n```\n\nI have the `molecules/button-list` marked up as:\n\n```\n\u003cul class=\"button-list\">\n {{# buttonList }}\n \u003cli class=\"button-list__item\">{{> atoms-button }}\u003c/li>\n {{/ buttonList }}\n\u003c/ul>\n```\n\nIn `data.json` I have:\n\n```\n \"buttonList\" : [\n {},\n {},\n {},\n {},\n {},\n {},\n {},\n {},\n {},\n {},\n {},\n {}\n ] \n```\n\nIn my `button-test` page's JSON `button-test.json`, I have:\n\n```\n\"buttonList\" : [\n {\n \"buttonText\" : \"Test1\"\n },\n {\n \"buttonText\" : \"Test2\"\n }\n ]\n```\n## Expected Behavior\n\nRemoved `buttonList` altogether from data.json and defined it only in `button-test.json` to get this:\n\n## Actual Behavior\n\nPage-based JSON overrides the first 2 items in `data.json` but prints out the rest of the items from `buttonList`\n\n\n\nAccording to Brad, it seems like a regression bug of some sort.\n","author":{"url":"https://github.com/frostyweather","@type":"Person","name":"frostyweather"},"datePublished":"2016-09-01T19:09:16Z","url":"https://github.com/pattern-lab/patternlab-php/issues/373"}
react-profiling 0
react-import-map react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controller voltron_issues_fragments
route-action issue_layout
fetch-nonce v2:6fb85039-511c-10f5-b800-a8364cc452b5
current-catalog-service-hash 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id 8064:C5FC2:BF063F:F72654:6AFFEFCF
html-safe-nonce 5d6ca3a83fded8e514063bae53a92a920d2d35e78bb273e276d2ef8d92082533
visitor-payload eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MDY0OkM1RkMyOkJGMDYzRjpGNzI2NTQ6NkFGRkVGQ0YiLCJ2aXNpdG9yX2lkIjoiODUwODMxNTE5NTY3MDUyMzg1NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac 9ee05e737d97902a9d36889adc4277d230e710c09fb9c36cb3b31b6be4104491
hovercard-subject-tag issue:174601809
github-keyboard-shortcuts repository,issues,copilot
google-site-verification Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-url https://collector.github.com/github/collect
analytics-location ///voltron/issues_fragments/issue_layout
fb:app_id 1401488693436528
apple-itunes-app app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/pattern-lab/patternlab-php/373/issue_layout
twitter:image https://opengraph.githubassets.com/daedb9f7c80ef0347072ace4073c82ac302fc855ff98fcf5b84e135192f67820/pattern-lab/patternlab-php/issues/373
twitter:card summary_large_image
og:image https://opengraph.githubassets.com/daedb9f7c80ef0347072ace4073c82ac302fc855ff98fcf5b84e135192f67820/pattern-lab/patternlab-php/issues/373
og:image:alt I am using Pattern Lab PHP on Mac, using Grunt. Created a new PL2 Project. Added atoms-/button and molecules-button-list to the project. atoms/button markup: