12494: add orx:meta section to ODK XML #797
Annotations
10 errors and 12 warnings
Tests:
spec/features/option_sets/option_set_import_spec.rb#L24
option set import happy path
Failure/Error:
Timeout.timeout(Capybara.default_max_wait_time) do
loop until dropzone_ready?
end
Timeout::Error:
execution expired
|
Tests:
spec/models/odk/form_renderer_spec.rb#L606
ODK::FormRenderer preload_last_saved should render proper xml
Failure/Error: expect(tidyxml(renderer.xml)).to eq(prepare_odk_form_fixture(fixture_name, renderer.form))
expected: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<h:html xmlns=\"http://www.w3.org/2002/xforms\" xmlns:ev...:itext('qing4380e8d0-7849-4ab2-99fd-3ac329f47b49:hint')\"/>\n </input>\n </h:body>\n</h:html>\n"
got: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<h:html xmlns=\"http://www.w3.org/2002/xforms\" xmlns:ev...:itext('qing4380e8d0-7849-4ab2-99fd-3ac329f47b49:hint')\"/>\n </input>\n </h:body>\n</h:html>\n"
(compared using ==)
Diff:
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<h:html xmlns="http://www.w3.org/2002/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:h="http://www.w3.org/1999/xhtml" xmlns:jr="http://openrosa.org/javarosa" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+<h:html xmlns="http://www.w3.org/2002/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:h="http://www.w3.org/1999/xhtml" xmlns:jr="http://openrosa.org/javarosa" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:orx="https://openrosa.org/xforms">
<h:head>
<h:title>Preload Last Saved</h:title>
<model>
@@ -8,6 +8,9 @@
<qingc014e17e-0167-4b87-91f2-f1e9ad006070/>
<qing221aff73-d119-40fa-9d67-5964e045ab8e/>
<qing4380e8d0-7849-4ab2-99fd-3ac329f47b49/>
+ <orx:meta>
+ <orx:instanceID/>
+ </orx:meta>
</data>
</instance>
<instance id="last-saved" src="jr://instance/last-saved"/>
|
Tests:
spec/models/odk/form_renderer_spec.rb#L34
ODK::FormRenderer form with various question types should render proper xml
Failure/Error: expect(tidyxml(renderer.xml)).to eq(prepare_odk_form_fixture(fixture_name, renderer.form))
expected: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<h:html xmlns=\"http://www.w3.org/2002/xforms\" xmlns:ev...:itext('qing7bfa302e-6238-4f49-b76d-247921f523c7:hint')\"/>\n </input>\n </h:body>\n</h:html>\n"
got: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<h:html xmlns=\"http://www.w3.org/2002/xforms\" xmlns:ev...:itext('qing7bfa302e-6238-4f49-b76d-247921f523c7:hint')\"/>\n </input>\n </h:body>\n</h:html>\n"
(compared using ==)
Diff:
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<h:html xmlns="http://www.w3.org/2002/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:h="http://www.w3.org/1999/xhtml" xmlns:jr="http://openrosa.org/javarosa" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+<h:html xmlns="http://www.w3.org/2002/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:h="http://www.w3.org/1999/xhtml" xmlns:jr="http://openrosa.org/javarosa" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:orx="https://openrosa.org/xforms">
<h:head>
<h:title>Sample</h:title>
<model>
@@ -22,6 +22,9 @@
<qinga650f89f-7305-497a-abb4-710cd4f6f2e7/>
<qinge323c31a-8163-4f4e-abc8-bf8ebbdc6f04/>
<qing7bfa302e-6238-4f49-b76d-247921f523c7/>
+ <orx:meta>
+ <orx:instanceID/>
+ </orx:meta>
</data>
</instance>
<instance id="os7c0cb6c8-161b-4ee0-abf5-5cfa69319c26_level2">
|
Tests:
spec/models/odk/form_renderer_spec.rb#L282
ODK::FormRenderer groups empty group, hidden group, group with hidden question, group with only hidden question should render proper xml
Failure/Error: expect(tidyxml(renderer.xml)).to eq(prepare_odk_form_fixture(fixture_name, renderer.form))
expected: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<h:html xmlns=\"http://www.w3.org/2002/xforms\" xmlns:ev...\"/>\n </input>\n </group>\n </repeat>\n </group>\n </h:body>\n</h:html>\n"
got: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<h:html xmlns=\"http://www.w3.org/2002/xforms\" xmlns:ev...\"/>\n </input>\n </group>\n </repeat>\n </group>\n </h:body>\n</h:html>\n"
(compared using ==)
Diff:
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<h:html xmlns="http://www.w3.org/2002/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:h="http://www.w3.org/1999/xhtml" xmlns:jr="http://openrosa.org/javarosa" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+<h:html xmlns="http://www.w3.org/2002/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:h="http://www.w3.org/1999/xhtml" xmlns:jr="http://openrosa.org/javarosa" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:orx="https://openrosa.org/xforms">
<h:head>
<h:title>Empty and hidden</h:title>
<model>
@@ -22,6 +22,9 @@
<header/>
<qingd372c545-f12e-424e-b97e-f25143f03b8a/>
</grpb0fbf1de-0413-4fcd-8ca4-4703f59f76d3>
+ <orx:meta>
+ <orx:instanceID/>
+ </orx:meta>
</data>
</instance>
<itext>
|
Tests:
spec/models/odk/form_renderer_spec.rb#L219
ODK::FormRenderer groups multi-screen group should render proper xml
Failure/Error: expect(tidyxml(renderer.xml)).to eq(prepare_odk_form_fixture(fixture_name, renderer.form))
expected: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<h:html xmlns=\"http://www.w3.org/2002/xforms\" xmlns:ev...132b-df2b-47f7-8216-6600e48e89dd:hint')\"/>\n </input>\n </group>\n </h:body>\n</h:html>\n"
got: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<h:html xmlns=\"http://www.w3.org/2002/xforms\" xmlns:ev...132b-df2b-47f7-8216-6600e48e89dd:hint')\"/>\n </input>\n </group>\n </h:body>\n</h:html>\n"
(compared using ==)
Diff:
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<h:html xmlns="http://www.w3.org/2002/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:h="http://www.w3.org/1999/xhtml" xmlns:jr="http://openrosa.org/javarosa" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+<h:html xmlns="http://www.w3.org/2002/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:h="http://www.w3.org/1999/xhtml" xmlns:jr="http://openrosa.org/javarosa" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:orx="https://openrosa.org/xforms">
<h:head>
<h:title>Multi-screen Group</h:title>
<model>
@@ -11,6 +11,9 @@
<qingfb6d7261-eb81-4ff0-8fd9-795bd0aaab63/>
<qing749c132b-df2b-47f7-8216-6600e48e89dd/>
</grp60477793-29bd-40ae-ba79-149c4e6a68b1>
+ <orx:meta>
+ <orx:instanceID/>
+ </orx:meta>
</data>
</instance>
<itext>
|
Tests:
spec/models/odk/form_renderer_spec.rb#L205
ODK::FormRenderer groups single-screen repeat group with condition on question should not render on single page due to condition
Failure/Error: expect(tidyxml(renderer.xml)).to eq(prepare_odk_form_fixture(fixture_name, renderer.form))
expected: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<h:html xmlns=\"http://www.w3.org/2002/xforms\" xmlns:ev...\"/>\n </input>\n </group>\n </repeat>\n </group>\n </h:body>\n</h:html>\n"
got: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<h:html xmlns=\"http://www.w3.org/2002/xforms\" xmlns:ev...\"/>\n </input>\n </group>\n </repeat>\n </group>\n </h:body>\n</h:html>\n"
(compared using ==)
Diff:
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<h:html xmlns="http://www.w3.org/2002/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:h="http://www.w3.org/1999/xhtml" xmlns:jr="http://openrosa.org/javarosa" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+<h:html xmlns="http://www.w3.org/2002/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:h="http://www.w3.org/1999/xhtml" xmlns:jr="http://openrosa.org/javarosa" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:orx="https://openrosa.org/xforms">
<h:head>
<h:title>Single-scrn Rpt Grp with Cond</h:title>
<model>
@@ -11,6 +11,9 @@
<qingc05a12f8-b729-4b45-9540-de0c696d440d/>
<qing421cf0d7-0b7a-4794-a92f-1c01f3b91f57/>
</grpe6386bde-1c10-4e00-8cab-55ff47c9db3b>
+ <orx:meta>
+ <orx:instanceID/>
+ </orx:meta>
</data>
</instance>
<itext>
|
Tests:
spec/models/odk/form_renderer_spec.rb#L188
ODK::FormRenderer groups non-repeat group with condition on group should render proper xml
Failure/Error: expect(tidyxml(renderer.xml)).to eq(prepare_odk_form_fixture(fixture_name, renderer.form))
expected: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<h:html xmlns=\"http://www.w3.org/2002/xforms\" xmlns:ev...6-46d43e17d9c4:hint')\"/>\n </input>\n </group>\n </group>\n </h:body>\n</h:html>\n"
got: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<h:html xmlns=\"http://www.w3.org/2002/xforms\" xmlns:ev...6-46d43e17d9c4:hint')\"/>\n </input>\n </group>\n </group>\n </h:body>\n</h:html>\n"
(compared using ==)
Diff:
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<h:html xmlns="http://www.w3.org/2002/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:h="http://www.w3.org/1999/xhtml" xmlns:jr="http://openrosa.org/javarosa" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+<h:html xmlns="http://www.w3.org/2002/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:h="http://www.w3.org/1999/xhtml" xmlns:jr="http://openrosa.org/javarosa" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:orx="https://openrosa.org/xforms">
<h:head>
<h:title>Non-repeat Group with Condition</h:title>
<model>
@@ -12,6 +12,9 @@
<qingf30cd02f-6cfc-461d-9f83-5c42f10eee96/>
<qing980db39b-1dc7-4cc7-94b6-46d43e17d9c4/>
</grp7c503ae2-1c0d-427d-9f3e-bdff3b533cbf>
+ <orx:meta>
+ <orx:instanceID/>
+ </orx:meta>
</data>
</instance>
<itext>
|
Tests:
spec/models/odk/form_renderer_spec.rb#L304
ODK::FormRenderer groups empty group, disabled group, group with disabled question, group with only disabled question should render proper xml
Failure/Error: expect(tidyxml(renderer.xml)).to eq(prepare_odk_form_fixture(fixture_name, renderer.form))
expected: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<h:html xmlns=\"http://www.w3.org/2002/xforms\" xmlns:ev...\"/>\n </input>\n </group>\n </repeat>\n </group>\n </h:body>\n</h:html>\n"
got: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<h:html xmlns=\"http://www.w3.org/2002/xforms\" xmlns:ev...\"/>\n </input>\n </group>\n </repeat>\n </group>\n </h:body>\n</h:html>\n"
(compared using ==)
Diff:
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<h:html xmlns="http://www.w3.org/2002/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:h="http://www.w3.org/1999/xhtml" xmlns:jr="http://openrosa.org/javarosa" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+<h:html xmlns="http://www.w3.org/2002/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:h="http://www.w3.org/1999/xhtml" xmlns:jr="http://openrosa.org/javarosa" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:orx="https://openrosa.org/xforms">
<h:head>
<h:title>Empty and disabled</h:title>
<model>
@@ -16,6 +16,9 @@
<grp3b743e7b-be65-4147-a6e1-a5514608c3fd jr:template="">
<header/>
</grp3b743e7b-be65-4147-a6e1-a5514608c3fd>
+ <orx:meta>
+ <orx:instanceID/>
+ </orx:meta>
</data>
</instance>
<itext>
|
Tests:
spec/models/odk/form_renderer_spec.rb#L260
ODK::FormRenderer groups nested repeat group should render proper xml
Failure/Error: expect(tidyxml(renderer.xml)).to eq(prepare_odk_form_fixture(fixture_name, renderer.form))
expected: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<h:html xmlns=\"http://www.w3.org/2002/xforms\" xmlns:ev...\"/>\n </input>\n </group>\n </repeat>\n </group>\n </h:body>\n</h:html>\n"
got: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<h:html xmlns=\"http://www.w3.org/2002/xforms\" xmlns:ev...\"/>\n </input>\n </group>\n </repeat>\n </group>\n </h:body>\n</h:html>\n"
(compared using ==)
Diff:
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<h:html xmlns="http://www.w3.org/2002/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:h="http://www.w3.org/1999/xhtml" xmlns:jr="http://openrosa.org/javarosa" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+<h:html xmlns="http://www.w3.org/2002/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:h="http://www.w3.org/1999/xhtml" xmlns:jr="http://openrosa.org/javarosa" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:orx="https://openrosa.org/xforms">
<h:head>
<h:title>Nested Repeat Group</h:title>
<model>
@@ -26,6 +26,9 @@
<qingd65f232b-48f5-4567-85d8-cdddf6cc8920/>
<qinge31c9d3e-b307-4c90-96e5-fc72b28e8696/>
</grp372869bf-8bb7-48ac-833a-08c9e7f7c667>
+ <orx:meta>
+ <orx:instanceID/>
+ </orx:meta>
</data>
</instance>
<itext>
|
Tests:
spec/models/odk/form_renderer_spec.rb#L61
ODK::FormRenderer form with incomplete responses allowed should render proper xml
Failure/Error: expect(tidyxml(renderer.xml)).to eq(prepare_odk_form_fixture(fixture_name, renderer.form))
expected: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<h:html xmlns=\"http://www.w3.org/2002/xforms\" xmlns:ev...02:label')\"/>\n <hint ref=\"jr:itext('ir02:hint')\"/>\n </input>\n </h:body>\n</h:html>\n"
got: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<h:html xmlns=\"http://www.w3.org/2002/xforms\" xmlns:ev...02:label')\"/>\n <hint ref=\"jr:itext('ir02:hint')\"/>\n </input>\n </h:body>\n</h:html>\n"
(compared using ==)
Diff:
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<h:html xmlns="http://www.w3.org/2002/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:h="http://www.w3.org/1999/xhtml" xmlns:jr="http://openrosa.org/javarosa" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+<h:html xmlns="http://www.w3.org/2002/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:h="http://www.w3.org/1999/xhtml" xmlns:jr="http://openrosa.org/javarosa" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:orx="https://openrosa.org/xforms">
<h:head>
<h:title>Allows Incomplete</h:title>
<model>
@@ -8,6 +8,9 @@
<qing2c003da9-239e-4541-a2e4-34ebd71df19e/>
<ir01/>
<ir02/>
+ <orx:meta>
+ <orx:instanceID/>
+ </orx:meta>
</data>
</instance>
<itext>
|
Tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Tests:
app/javascript/components/Filters/model.js#L133
Unexpected console statement
|
Tests:
app/javascript/components/conditions/ConditionSetFormField/ConditionFormField/component.js#L69
Unexpected console statement
|
Tests:
app/javascript/components/conditions/ConditionSetFormField/ConditionFormField/component.js#L112
Unexpected console statement
|
Tests:
app/javascript/components/conditions/ConditionSetFormField/ConditionFormField/model.js#L148
Unexpected console statement
|
Tests:
app/javascript/packs/enketo.js#L43
Unexpected console statement
|
Tests:
app/javascript/packs/enketo.js#L57
Unexpected alert
|
Tests:
app/javascript/packs/enketo.js#L80
Unexpected console statement
|
Tests:
app/javascript/packs/enketo.js#L91
Unexpected alert
|
Tests:
app/javascript/packs/enketo.js#L94
Unexpected console statement
|
Tests:
spec/models/broadcaster_spec.rb#L16
Sms::Broadcaster with adapter set in mission settings builds appropriate adapter and Sms::Broadcast instance
Skipped: Temporarily skipped with xit
|
Tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|