Open Eleonore9 opened 9 years ago
Would you put some more details on the property and see if they are coming back in the :property_data map, please?
{:public_access nil, :editable true, :property_data {:description "description", :project_summary "project", :built_form "built", :age "age", :address_street_two "address 2", :other_notes "notes", :design_strategy "design", :property_type "type", :address_code "postcode", :project_phase "project phase", :practical_completion_date "completion", :construction_date "construction", :project_team "team", :address_country "country", :conservation_area "conservatiom", :address_region "region", :terrain "terrain", :ownership "ownership", :monitoring_policy "monitoring", :address_street "address", :degree_day_region "degree day", :address_city "city", :listed "listed", :monitoring_hierarchy "hierarchy", :energy_strategy "energy strategy"}, :programme_name "MC Testing", :property_code "New Property", :programme_id "ed92f73803e214e7915e6939cc9e31b8454bc734", :documents [], :photos [], :devices [], :profiles [], :entity_id "96d872b4-41ab-4e0c-9d60-da3568f581af", :project_id "d60e26f9-b8d7-4438-8315-2b84ccb19c01", :project_name "Test Scottish Water"}
This is the returned edn:
{:total_hits 7, :page 0, :entities ({:address_county nil, :public_access nil, :address_street_two nil, :editable true, :property_data {:technology_icons {:small_hydros false, :wind_turbines false, :ventilation_systems false, :cavity_wall_insulation nil, :photovoltaics false, :chps false, :solar_thermals false, :heat_pumps false, :solid_wall_insulation nil}}, :retrofit_completion_date nil, :name nil, :programme_name "MC Testing", :property_code "Water meters", :programme_id "ed92f73803e214e7915e6939cc9e31b8454bc734", :csv_uploads [], :calculated_fields_last_calc {}, :calculated_fields_labels {}, :calculated_fields_values {}, :address_country nil, :documents [], :photos [], :address_region nil, :notes [], :devices [{:description "TEST Meters", :readings [{:min nil, :unit "kWh", :user_metadata {}, :accuracy "0.1", :sensor_id "63e42bc2-7c8f-4d50-a28e-92f89734177f", :frequency nil, :corrected_unit nil, :type "electricityConsumption_differenceSeries", :correction_factor nil, :upper_ts nil, :correction nil, :resolution "60", :alias nil, :median 0.0, :status nil, :max nil, :lower_ts nil, :correction_factor_breakdown nil, :period "PULSE", :synthetic true, :device_id "77f9e6d6-fb2b-4a9d-b886-6e3e81ef3b59", :actual_annual false} {:min nil, :unit "kWh", :user_metadata {:Hello api "foo"}, :accuracy "0.1", :sensor_id "7b81d167-5b2d-4ad4-9986-5133c004c9ce", :frequency nil, :corrected_unit nil, :type "electricityConsumption", :correction_factor nil, :upper_ts nil, :correction nil, :resolution "60", :alias nil, :median 0.0, :status nil, :max nil, :lower_ts nil, :correction_factor_breakdown nil, :period "CUMULATIVE", :synthetic false, :device_id "77f9e6d6-fb2b-4a9d-b886-6e3e81ef3b59", :actual_annual false}], :name nil, :privacy nil, :metering_point_id nil, :parent_id nil, :entity_id "ab937fda-184f-49df-b3d2-2afbf6ce3042", :synthetic false, :device_id "77f9e6d6-fb2b-4a9d-b886-6e3e81ef3b59", :location nil, :metadata nil} {:description "TEST Meters", :readings [{:min nil, :unit "kWh", :user_metadata {:Hello api "foo"}, :accuracy "0.1", :sensor_id "7a818ac2-bf16-4337-bd80-a9d86a3a4222", :frequency nil, :corrected_unit nil, :type "electricityConsumption", :correction_factor nil, :upper_ts nil, :correction nil, :resolution "60", :alias nil, :median 0.0, :status nil, :max nil, :lower_ts nil, :correction_factor_breakdown nil, :period "CUMULATIVE", :synthetic false, :device_id "31f1dc7c-46ce-472c-b03d-ff9e4ccacdd8", :actual_annual false} {:min nil, :unit "kWh", :user_metadata {}, :accuracy "0.1", :sensor_id "94e989f5-c351-49b7-af91-c88b698f8182", :frequency nil, :corrected_unit nil, :type "electricityConsumption_differenceSeries", :correction_factor nil, :upper_ts nil, :correction nil, :resolution "60", :alias nil, :median 0.0, :status nil, :max nil, :lower_ts nil, :correction_factor_breakdown nil, :period "PULSE", :synthetic true, :device_id "31f1dc7c-46ce-472c-b03d-ff9e4ccacdd8", :actual_annual false}], :name nil, :privacy nil, :metering_point_id nil, :parent_id nil, :entity_id "ab937fda-184f-49df-b3d2-2afbf6ce3042", :synthetic false, :device_id "31f1dc7c-46ce-472c-b03d-ff9e4ccacdd8", :location nil, :metadata nil}], :profiles [], :entity_id "ab937fda-184f-49df-b3d2-2afbf6ce3042", :project_id "d60e26f9-b8d7-4438-8315-2b84ccb19c01", :metering_point_ids nil, :project_name "Test Scottish Water"} {:public_access nil, :editable true, :property_data {}, :programme_name "MC Testing", :property_code "Test test", :programme_id "ed92f73803e214e7915e6939cc9e31b8454bc734", :documents [], :photos [], :devices [], :profiles [], :entity_id "031eec94-57f9-4e58-bcfc-82947cb36e1a", :project_id "d60e26f9-b8d7-4438-8315-2b84ccb19c01", :project_name "Test Scottish Water"} {:public_access nil, :editable true, :property_data {}, :programme_name "MC Testing", :property_code "Test test2", :programme_id "ed92f73803e214e7915e6939cc9e31b8454bc734", :documents [], :photos [], :devices [], :profiles [], :entity_id "571f0185-40d5-4f87-8a5e-7d36d8f6474b", :project_id "d60e26f9-b8d7-4438-8315-2b84ccb19c01", :project_name "Test Scottish Water"} {:public_access nil, :editable true, :property_data {:description "description", :project_summary "project", :built_form "built", :age "age", :address_street_two "street address 2", :other_notes "notes", :design_strategy "desing", :property_type "type of property", :address_code "postcode", :project_phase "project phase", :practical_completion_date "completion", :construction_date "construction", :project_team "team", :address_country "country", :conservation_area "conservation", :address_region "region", :terrain "terrain", :ownership "ownership", :monitoring_policy "monitoring", :address_street "street address", :degree_day_region "degree day", :address_city "city", :listed "listed", :monitoring_hierarchy "hierarchy", :energy_strategy "energy startegy"}, :programme_name "MC Testing", :property_code "Property test", :programme_id "ed92f73803e214e7915e6939cc9e31b8454bc734", :documents [], :photos [], :devices [], :profiles [], :entity_id "e3866a0a-0691-4b3e-a184-8f44142a13d5", :project_id "d60e26f9-b8d7-4438-8315-2b84ccb19c01", :project_name "Test Scottish Water"} {:public_access nil, :editable true, :property_data {}, :programme_name "MC Testing", :property_code "Test Scottish property", :programme_id "ed92f73803e214e7915e6939cc9e31b8454bc734", :documents [], :photos [], :devices [], :profiles [], :entity_id "a51e7d31-ec6b-41e3-b914-318400603653", :project_id "d60e26f9-b8d7-4438-8315-2b84ccb19c01", :project_name "Test Scottish Water"} {:public_access nil, :editable true, :property_data {:description "description", :project_summary "project", :built_form "built", :age "age", :address_street_two "address 2", :other_notes "notes", :design_strategy "design", :property_type "type", :address_code "postcode", :project_phase "project phase", :practical_completion_date "completion", :construction_date "construction", :project_team "team", :address_country "country", :conservation_area "conservatiom", :address_region "region", :terrain "terrain", :ownership "ownership", :monitoring_policy "monitoring", :address_street "address", :degree_day_region "degree day", :address_city "city", :listed "listed", :monitoring_hierarchy "hierarchy", :energy_strategy "energy strategy"}, :programme_name "MC Testing", :property_code "New Property", :programme_id "ed92f73803e214e7915e6939cc9e31b8454bc734", :documents [], :photos [], :devices [], :profiles [], :entity_id "96d872b4-41ab-4e0c-9d60-da3568f581af", :project_id "d60e26f9-b8d7-4438-8315-2b84ccb19c01", :project_name "Test Scottish Water"} {:public_access nil, :editable true, :property_data {}, :programme_name "MC Testing", :property_code "Another test property", :programme_id "ed92f73803e214e7915e6939cc9e31b8454bc734", :documents [], :photos [], :devices [], :profiles [], :entity_id "e3fd7515-56c3-43fb-9e81-1b77ac5dd7df", :project_id "d60e26f9-b8d7-4438-8315-2b84ccb19c01", :project_name "Test Scottish Water"})}
It all looks normal in the console: Clearing projects. core.js:48 Clearing measurements core.js:48 Setting selected programme to: ed92f73803e214e7915e6939cc9e31b8454bc734 core.js:48 Setting selected project to: d60e26f9-b8d7-4438-8315-2b84ccb19c01 core.js:48 Setting property details to: e3866a0a-0691-4b3e-a184-8f44142a13d5 core.js:48 Fetching datasets for property: e3866a0a-0691-4b3e-a184-8f44142a13d5 core.js:48 Fetching programmes. core.js:48 Fetching projects for programme: ed92f73803e214e7915e6939cc9e31b8454bc734
returned edn (issue to display the properties):
{:total_hits 7, :page 0, :entities ({:address_county nil, :public_access nil, :address_street_two nil, :editable true, :property_data {:technology_icons {:small_hydros false, :wind_turbines false, :ventilation_systems false, :cavity_wall_insulation nil, :photovoltaics false, :chps false, :solar_thermals false, :heat_pumps false, :solid_wall_insulation nil}}, :retrofit_completion_date nil, :name nil, :programme_name "MC Testing", :property_code "Water meters", :programme_id "ed92f73803e214e7915e6939cc9e31b8454bc734", :csv_uploads [], :calculated_fields_last_calc {}, :calculated_fields_labels {}, :calculated_fields_values {}, :address_country nil, :documents [], :photos [], :address_region nil, :notes [], :devices [{:description "TEST Meters", :readings [{:min nil, :unit "kWh", :user_metadata {}, :accuracy "0.1", :sensor_id "63e42bc2-7c8f-4d50-a28e-92f89734177f", :frequency nil, :corrected_unit nil, :type "electricityConsumption_differenceSeries", :correction_factor nil, :upper_ts nil, :correction nil, :resolution "60", :alias nil, :median 0.0, :status nil, :max nil, :lower_ts nil, :correction_factor_breakdown nil, :period "PULSE", :synthetic true, :device_id "77f9e6d6-fb2b-4a9d-b886-6e3e81ef3b59", :actual_annual false} {:min nil, :unit "kWh", :user_metadata {:Hello api "foo"}, :accuracy "0.1", :sensor_id "7b81d167-5b2d-4ad4-9986-5133c004c9ce", :frequency nil, :corrected_unit nil, :type "electricityConsumption", :correction_factor nil, :upper_ts nil, :correction nil, :resolution "60", :alias nil, :median 0.0, :status nil, :max nil, :lower_ts nil, :correction_factor_breakdown nil, :period "CUMULATIVE", :synthetic false, :device_id "77f9e6d6-fb2b-4a9d-b886-6e3e81ef3b59", :actual_annual false}], :name nil, :privacy nil, :metering_point_id nil, :parent_id nil, :entity_id "ab937fda-184f-49df-b3d2-2afbf6ce3042", :synthetic false, :device_id "77f9e6d6-fb2b-4a9d-b886-6e3e81ef3b59", :location nil, :metadata nil} {:description "TEST Meters", :readings [{:min nil, :unit "kWh", :user_metadata {:Hello api "foo"}, :accuracy "0.1", :sensor_id "7a818ac2-bf16-4337-bd80-a9d86a3a4222", :frequency nil, :corrected_unit nil, :type "electricityConsumption", :correction_factor nil, :upper_ts nil, :correction nil, :resolution "60", :alias nil, :median 0.0, :status nil, :max nil, :lower_ts nil, :correction_factor_breakdown nil, :period "CUMULATIVE", :synthetic false, :device_id "31f1dc7c-46ce-472c-b03d-ff9e4ccacdd8", :actual_annual false} {:min nil, :unit "kWh", :user_metadata {}, :accuracy "0.1", :sensor_id "94e989f5-c351-49b7-af91-c88b698f8182", :frequency nil, :corrected_unit nil, :type "electricityConsumption_differenceSeries", :correction_factor nil, :upper_ts nil, :correction nil, :resolution "60", :alias nil, :median 0.0, :status nil, :max nil, :lower_ts nil, :correction_factor_breakdown nil, :period "PULSE", :synthetic true, :device_id "31f1dc7c-46ce-472c-b03d-ff9e4ccacdd8", :actual_annual false}], :name nil, :privacy nil, :metering_point_id nil, :parent_id nil, :entity_id "ab937fda-184f-49df-b3d2-2afbf6ce3042", :synthetic false, :device_id "31f1dc7c-46ce-472c-b03d-ff9e4ccacdd8", :location nil, :metadata nil}], :profiles [], :entity_id "ab937fda-184f-49df-b3d2-2afbf6ce3042", :project_id "d60e26f9-b8d7-4438-8315-2b84ccb19c01", :metering_point_ids nil, :project_name "Test Scottish Water"} {:public_access nil, :editable true, :property_data {}, :programme_name "MC Testing", :property_code "Test test", :programme_id "ed92f73803e214e7915e6939cc9e31b8454bc734", :documents [], :photos [], :devices [], :profiles [], :entity_id "031eec94-57f9-4e58-bcfc-82947cb36e1a", :project_id "d60e26f9-b8d7-4438-8315-2b84ccb19c01", :project_name "Test Scottish Water"} {:public_access nil, :editable true, :property_data {}, :programme_name "MC Testing", :property_code "Test test2", :programme_id "ed92f73803e214e7915e6939cc9e31b8454bc734", :documents [], :photos [], :devices [], :profiles [], :entity_id "571f0185-40d5-4f87-8a5e-7d36d8f6474b", :project_id "d60e26f9-b8d7-4438-8315-2b84ccb19c01", :project_name "Test Scottish Water"} {:public_access nil, :editable true, :property_data {:description "description", :project_summary "project", :built_form "built", :age "age", :address_street_two "street address 2", :other_notes "notes", :design_strategy "desing", :property_type "type of property", :address_code "postcode", :project_phase "project phase", :practical_completion_date "completion", :construction_date "construction", :project_team "team", :address_country "country", :conservation_area "conservation", :address_region "region", :terrain "terrain", :ownership "ownership", :monitoring_policy "monitoring", :address_street "street address", :degree_day_region "degree day", :address_city "city", :listed "listed", :monitoring_hierarchy "hierarchy", :energy_strategy "energy startegy"}, :programme_name "MC Testing", :property_code "Property test", :programme_id "ed92f73803e214e7915e6939cc9e31b8454bc734", :documents [], :photos [], :devices [], :profiles [], :entity_id "e3866a0a-0691-4b3e-a184-8f44142a13d5", :project_id "d60e26f9-b8d7-4438-8315-2b84ccb19c01", :project_name "Test Scottish Water"} {:public_access nil, :editable true, :property_data {}, :programme_name "MC Testing", :property_code "Test Scottish property", :programme_id "ed92f73803e214e7915e6939cc9e31b8454bc734", :documents [], :photos [], :devices [], :profiles [], :entity_id "a51e7d31-ec6b-41e3-b914-318400603653", :project_id "d60e26f9-b8d7-4438-8315-2b84ccb19c01", :project_name "Test Scottish Water"} {:public_access nil, :editable true, :property_data {:description "description", :project_summary "project", :built_form "built", :age "age", :address_street_two "address 2", :other_notes "notes", :design_strategy "design", :property_type "type", :address_code "postcode", :project_phase "project phase", :practical_completion_date "completion", :construction_date "construction", :project_team "team", :address_country "country", :conservation_area "conservatiom", :address_region "region", :terrain "terrain", :ownership "ownership", :monitoring_policy "monitoring", :address_street "address", :degree_day_region "degree day", :address_city "city", :listed "listed", :monitoring_hierarchy "hierarchy", :energy_strategy "energy strategy"}, :programme_name "MC Testing", :property_code "New Property", :programme_id "ed92f73803e214e7915e6939cc9e31b8454bc734", :documents [], :photos [], :devices [], :profiles [], :entity_id "96d872b4-41ab-4e0c-9d60-da3568f581af", :project_id "d60e26f9-b8d7-4438-8315-2b84ccb19c01", :project_name "Test Scottish Water"} {:public_access nil, :editable true, :property_data {}, :programme_name "MC Testing", :property_code "Another test property", :programme_id "ed92f73803e214e7915e6939cc9e31b8454bc734", :documents [], :photos [], :devices [], :profiles [], :entity_id "e3fd7515-56c3-43fb-9e81-1b77ac5dd7df", :project_id "d60e26f9-b8d7-4438-8315-2b84ccb19c01", :project_name "Test Scottish Water"})}
returned edn (property displayed):
{:total_hits 1, :page 0, :entities ({:address_county nil, :public_access nil, :address_street_two "Any Street", :editable true, :property_data {:description "A very fine property", :project_summary "Property info, more property info, repeted property info etc.\nProperty info, more property info, repeted property info etc.\n\nProperty info, more property info, repeted property info etc.\nProperty info, more property info, repeted property info etc.\nProperty info, more property info, repeted property info etc.\nProperty info, more property info, repeted property info etc.\n", :built_form "Detached", :address_street_two "Any Street Mod", :other_notes "Nothing. Very uninspired.", :design_strategy "Design intent, design intent, more intent, slightly obscure intent.\n\nContinued intent, moreing forward faster", :construction_start_date "Aug-12", :property_type "House", :address_code "SW4 7LT", :project_phase "Both Phase 1 & 2", :technology_icons {:small_hydros true, :wind_turbines false, :ventilation_systems true, :cavity_wall_insulation nil, :photovoltaics false, :chps false, :solar_thermals false, :heat_pumps true, :solid_wall_insulation nil}, :construction_date "1908", :project_team "Academics, engineers, plumbers, statisticians, a vicar, a mole and several hundred cats", :address_country "England", :conservation_area "No", :built_form_other "Straw", :terrain "Dense Urban", :ownership "Private Rented", :monitoring_policy "As per the BPE guidelines\nAs per the BPE guidelines\nAs per the BPE guidelines\nAs per the BPE guidelines\nAs per the BPE guidelines", :address_street "Any House Mod", :degree_day_region "Yorkshire", :address_city "London", :listed "Yes"}, :retrofit_completion_date nil, :name nil, :programme_name "MC Testing", :property_code "BPE001", :programme_id "ed92f73803e214e7915e6939cc9e31b8454bc734", :csv_uploads [], :calculated_fields_last_calc {}, :calculated_fields_labels {}, :calculated_fields_values {}, :address_country "England", :documents [], :photos [], :address_region nil, :notes [], :devices [{:description "A test sensor Changed!", :readings [{:min nil, :unit "kWh", :user_metadata {}, :accuracy nil, :sensor_id "electricity", :frequency nil, :corrected_unit nil, :type "electricity", :correction_factor nil, :upper_ts nil, :correction nil, :resolution nil, :alias "Electricity|135600", :median 0.0, :status nil, :max nil, :lower_ts nil, :correction_factor_breakdown nil, :period "CUMULATIVE", :synthetic false, :device_id "c3a8867d93903519343119d49cacb58720e6f94d", :actual_annual true} {:min nil, :unit "kWh", :user_metadata {}, :accuracy nil, :sensor_id "electricity_differenceSeries", :frequency nil, :corrected_unit nil, :type "electricity_differenceSeries", :correction_factor nil, :upper_ts nil, :correction nil, :resolution nil, :alias "Electricity|BPE001_BI62|135600|W", :median 0.0, :status nil, :max nil, :lower_ts nil, :correction_factor_breakdown nil, :period "PULSE", :synthetic true, :device_id "c3a8867d93903519343119d49cacb58720e6f94d", :actual_annual true}], :name nil, :privacy "", :metering_point_id nil, :parent_id nil, :entity_id "4d426d5510b1a40c5e748be827ad598adb0adda1", :synthetic false, :device_id "c3a8867d93903519343119d49cacb58720e6f94d", :location nil, :metadata nil}], :profiles [{:thermal_images [], :profile_data {:used_passivehaus_principles "Yes", :air_tightness_rate "7", :profile_noise "2", :profile_comfort "2", :profile_needs "2", :controls_strategy "There are 15,000 buttons to control the kitchen lights, and no lables. Cannot find the heating off switch", :modelling_software_methods_used "SAP", :profile_air_in_summer "6", :intention_ofpassvhaus "No", :profile_bus_report_url "www.innovateuk.org", :sap_version_year "2013", :profile_temperature_in_summer "4", :profile_design "2", :ter "20", :innovation_approaches "The proposed Waitrose was abandoned. We now have a Lidl and my house price has gone down", :sap_rating "50", :ber "20", :profile_temperature_in_winter "3", :occupancy_total "1", :profile_air_in_winter "4", :event_type "As built", :profile_bus_summary_index "75", :water_saving_strategy "It rains, why should I care?", :profile_lightning "7", :profile_health "7"}, :small_hydros [{:make_model "Dambusters Jnr", :capacity "5", :hydro_type "Archimedean screw", :est_annual_generation "100"}], :wind_turbines [], :ventilation_systems [{:controls "Timer", :operational_settings "Factory settings"}], :walls [], :photovoltaics [], :roofs [{:construction_other "Feathers", :uvalue "1.2", :construction "Other (please specify)"}], :conservatories [], :chps [{:chp_type "Stirling engine micro-CHP", :model "mCHP+", :est_annual_generation "340", :capacity_thermal "15", :capacity_elec "10"}], :solar_thermals [{:orientation "East", :make_model "Royal doulton", :area "10", :solar_type "Flat plate", :est_annual_generation "44", :pitch "11"}], :storeys [], :heat_pumps [], :airflow_measurements [], :extensions [], :low_energy_lights [{:light_type "CFL"}], :heating_systems [], :user_id "bruce@mastodonc.com", :profile_id "0d975464e3e5e200b0777734707d06b0f3bf5fe7", :floors [], :entity_id "4d426d5510b1a40c5e748be827ad598adb0adda1", :roof_rooms [], :door_sets [{:uvalue "1.2", :door_type "Glazed (30% - 60% glazing)"}], :timestamp nil, :biomasses [], :hot_water_systems [], :window_sets [{:area "66", :percentage_glazing "34", :uvalue "0.7"}]} {:thermal_images [], :profile_data {:number_of_storeys "2", :gross_internal_area "204", :used_passivehaus_principles "Yes", :air_tightness_rate "2.4", :total_volume "616", :space_heating_requirement "200", :flat_heat_loss_corridor "No corridor", :primary_energy_requirement "100", :renewable_contribution_elec "10", :controls_strategy "Services and controls are very, very easy. A child could use them (if they were tall enough).\nBlah, blah, blah, blah, blah, blah, blah, blah, blah, blah, blah, blah, blah, blah, blah, blah, blah, blah, blah", :heat_storage_present "No", :modelling_software_methods_used "PHPP", :best_u_value_for_walls "1.2", :co_heating_loss "Yes", :intention_ofpassvhaus "Yes", :orientation "East / West", :footprint "102", :sap_version_year "2013", :annual_heating_load "50", :renewable_contribution_heat "12", :ter "15", :roof_rooms_present "No", :innovation_approaches "It's all about location, location, location", :flat_floors_in_block "4", :sap_rating "80", :ber "15", :bedroom_count "5", :occupancy_total "5", :fabric_energy_efficiency "1.4", :external_perimeter "30", :heat_loss_parameter_hlp "0.55", :event_type "As designed", :electricity_storage_present "Yes", :water_saving_strategy "Only one tap, at the bottom of the garden. Encourage bath sharing ('70's style)", :habitable_rooms "9", :total_rooms "9", :flat_floor_position "2"}, :small_hydros [{:make_model "Dambusters pro", :capacity "50", :hydro_type "Archimedean screw", :est_annual_generation "1000"}], :wind_turbines [{:make_model "Windy Miller", :turbine_type "Pole mounted - vertical axis", :capacity "34", :est_annual_generation "12", :hub_height "8"}], :ventilation_systems [{:controls "Humidistat", :ventilation_type "Other (please specify)", :ductwork_type "Semi-rigid", :ventilation_type_other "MVHR and some on demand vent", :approach_other "Main rooms mech. Annex passive", :operational_settings "Configuration by specialist", :approach "Mixed mode (please give details below)"}], :walls [{:construction "System built"}], :photovoltaics [{:orientation "North", :make_model "Solar weekend", :area "15", :photovoltaic_type "Poly-crystalline", :capacity "6kWp", :est_annual_generation "0.5", :pitch "15"}], :roofs [{:uvalue "2.3", :construction "Thatched"}], :conservatories [], :chps [{:chp_type "Internal combustion engine CHP", :model "Volkswagen", :est_annual_generation "100", :capacity_thermal "6", :capacity_elec "4"}], :solar_thermals [{:orientation "East", :make_model "SolarTwit", :solar_type_other "Other tubes", :area "15", :solar_type "Evacuated tube", :est_annual_generation "33", :pitch "16"}], :storeys [], :heat_pumps [{:make_model "A working one", :cop "12", :capacity "77", :est_annual_generation "130", :heat_pump_type "Ground-to-air with auxiliary heater"}], :airflow_measurements [], :extensions [], :low_energy_lights [{:light_type "Energy saving halogen"}], :heating_systems [{:fuel "Biogas (landfill) (community heating only)", :boiler_type "Community heating", :heating_type "Community heating"}], :user_id "bruce@mastodonc.com", :profile_id "a35d33702778e1c3d12319b2ef2510902bd9f481", :floors [{:uvalue "1.3", :construction "Suspended timber"}], :entity_id "4d426d5510b1a40c5e748be827ad598adb0adda1", :roof_rooms [], :door_sets [{:uvalue "0.3", :door_type "Solid (< 30% glazing)"}], :timestamp nil, :biomasses [{:model "Bohemia", :capacity "8kW peak", :biomass_type "Wood pellets"}], :hot_water_systems [{:dhw_type "From main heating system", :cylinder_capacity "Not present", :immersion "No"}], :window_sets [{:frame_type "Wood", :window_type "Triple glazed", :area "49", :percentage_glazing "23%", :uvalue "0.3"}]} {:thermal_images [], :profile_data {:event_type "Intervention", :air_tightness_rate "10"}, :small_hydros [{:make_model "Dambusters basic", :capacity "0.5", :hydro_type "Archimedean screw", :est_annual_generation "10"}], :wind_turbines [], :ventilation_systems [{:controls "Central control", :operational_settings "Programmed by occupier"}], :walls [], :photovoltaics [], :roofs [], :conservatories [], :chps [], :solar_thermals [], :storeys [], :heat_pumps [{:make_model "A new one", :cop "5", :capacity "222", :est_annual_generation "111", :heat_pump_type "Water-to-water"}], :airflow_measurements [], :extensions [], :low_energy_lights [{:light_type "Incandescent"}], :heating_systems [{:fuel "Mains gas�"}], :user_id "bruce@mastodonc.com", :profile_id "f7cd978c9b5e03ff76190c27a30ce6895aa7fc6b", :floors [], :entity_id "4d426d5510b1a40c5e748be827ad598adb0adda1", :roof_rooms [], :door_sets [], :timestamp nil, :biomasses [], :hot_water_systems [], :window_sets []}], :entity_id "4d426d5510b1a40c5e748be827ad598adb0adda1", :project_id "002184f75703ba792119005c717cc218bc921af8", :metering_point_ids nil, :project_name "Mat's Test"})}
When I create a new property in a project newly created and refresh the browser (Chrome), the property disappear from the UI (it is created in C* and ES). The json/edn returned in the network tab of the browser's console:
The error message on the page reads: "There has been an error. Please contact support@mastodonc.com Error Code: 200 Message: Map literal must contain an even number of forms Format should have been EDN (default)".
This message is defined in bootstrap.cljs: https://github.com/MastodonC/kixi.hecuba/blob/57b641fb055ca54ccc2aa579c1a14fd4daf086bf/src/cljs/kixi/hecuba/bootstrap.cljs#L109-L114. It is generated by the multi/method properties-table in properties.cljs: https://github.com/MastodonC/kixi.hecuba/blob/57b641fb055ca54ccc2aa579c1a14fd4daf086bf/src/cljs/kixi/hecuba/bootstrap.cljs#L109-L114.
I can only see a "properties-table" function being called in multiple_properties_comparison.cljs: https://github.com/MastodonC/kixi.hecuba/blob/2a773354086d55edaac65123e3e9d44c13ad484f/src/cljs/kixi/hecuba/multiple_properties_comparison.cljs#L695. But there's another "properties-table" created in that file: https://github.com/MastodonC/kixi.hecuba/blob/2a773354086d55edaac65123e3e9d44c13ad484f/src/cljs/kixi/hecuba/multiple_properties_comparison.cljs#L403.