Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hi All, I Am Creating Sub Project, For Experiment, But It Seems There Is

Hi All,
i am creating sub project, for Experiment, but it seems there is [undefined] section created too (like picture) every i made subproject.
also, can we create sub project on Dataset?

im using self hosted clearml-server:1.6
clearml: 1.7

Thanks.

  
  
Posted 2 years ago
Votes Newest

Answers 24


image

  
  
Posted 2 years ago

Hi QuaintJellyfish58 in the latest data that you sent I see only the responses (some of them are marked as payloads but they are actually responses). What would be very interesting is to see the requests (payloads) that resulted in the following empty responses:
` # response
{"meta":{"id":"aaaffe49ace64f1a8b0211925afcfd32","trx":"aaaffe49ace64f1a8b0211925afcfd32","endpoint":{"name":"projects.get_all_ex","requested_version":"2.20","actual_version":"1.0"},"result_code":200,"result_subcode":0,"result_msg":"OK","error_stack":"","error_data":{}},"data":{"projects":[]}}

--

payload

{"meta":{"id":"aaaffe49ace64f1a8b0211925afcfd32","trx":"aaaffe49ace64f1a8b0211925afcfd32","endpoint":{"name":"projects.get_all_ex","requested_version":"2.20","actual_version":"1.0"},"result_code":200,"result_subcode":0,"result_msg":"OK","error_stack":"","error_data":{}},"data":{"projects":[]}} `

  
  
Posted 2 years ago

yeah, we cannot do anything to that [undefined]. i got this when i click that.

  
  
Posted 2 years ago

also i found, i cannot delete project, even the project is show empty experiment.

  
  
Posted 2 years ago

AgitatedDove14 , yes. i tried 3 times, and it always happen.

  
  
Posted 2 years ago

Hi AppetizingMouse58 , this is from My Work View
` # Payload
{"meta":{"id":"4ff606b50768402495674f4a2b37bdf4","trx":"4ff606b50768402495674f4a2b37bdf4","endpoint":{"name":"projects.get_all_ex","requested_version":"2.20","actual_version":"1.0"},"result_code":200,"result_subcode":0,"result_msg":"OK","error_stack":"","error_data":{}},"data":{"projects":[{"id":"75d04598197a445ebef533814022c58d","company":{"id":"d1bd92a3b039400cbafc60a7a5b1e52b"},"user":{"id":"a174c4e36b0446a7b3b5dd1ff5261962"},"name":"ex-1","basename":"ex-1","description":"","created":"2022-09-26T01:32:47.901000+00:00","tags":[],"system_tags":[],"last_update":"2022-09-26T01:33:28.216000+00:00","featured":9999,"path":[],"own_tasks":0,"own_models":0,"stats":{"active":{"status_count":{"closed":0,"completed":0,"created":0,"failed":0,"in_progress":0,"published":0,"publishing":0,"queued":0,"stopped":0,"unknown":0},"total_tasks":0,"total_runtime":0,"completed_tasks_24h":0,"last_task_run":null}},"sub_projects":[{"id":"5664bd88f48d4868a80805f6d824d5a9","name":"ex-1/sub-ex-1"}]}]}}

Response

{"meta":{"id":"4ff606b50768402495674f4a2b37bdf4","trx":"4ff606b50768402495674f4a2b37bdf4","endpoint":{"name":"projects.get_all_ex","requested_version":"2.20","actual_version":"1.0"},"result_code":200,"result_subcode":0,"result_msg":"OK","error_stack":"","error_data":{}},"data":{"projects":[{"id":"75d04598197a445ebef533814022c58d","company":{"id":"d1bd92a3b039400cbafc60a7a5b1e52b"},"user":{"id":"a174c4e36b0446a7b3b5dd1ff5261962"},"name":"ex-1","basename":"ex-1","description":"","created":"2022-09-26T01:32:47.901000+00:00","tags":[],"system_tags":[],"last_update":"2022-09-26T01:33:28.216000+00:00","featured":9999,"path":[],"own_tasks":0,"own_models":0,"stats":{"active":{"status_count":{"closed":0,"completed":0,"created":0,"failed":0,"in_progress":0,"published":0,"publishing":0,"queued":0,"stopped":0,"unknown":0},"total_tasks":0,"total_runtime":0,"completed_tasks_24h":0,"last_task_run":null}},"sub_projects":[{"id":"5664bd88f48d4868a80805f6d824d5a9","name":"ex-1/sub-ex-1"}]}]}}

--

payload

{"meta":{"id":"4ff606b50768402495674f4a2b37bdf4","trx":"4ff606b50768402495674f4a2b37bdf4","endpoint":{"name":"projects.get_all_ex","requested_version":"2.20","actual_version":"1.0"},"result_code":200,"result_subcode":0,"result_msg":"OK","error_stack":"","error_data":{}},"data":{"projects":[{"id":"75d04598197a445ebef533814022c58d","company":{"id":"d1bd92a3b039400cbafc60a7a5b1e52b"},"user":{"id":"a174c4e36b0446a7b3b5dd1ff5261962"},"name":"ex-1","basename":"ex-1","description":"","created":"2022-09-26T01:32:47.901000+00:00","tags":[],"system_tags":[],"last_update":"2022-09-26T01:33:28.216000+00:00","featured":9999,"path":[],"own_tasks":0,"own_models":0,"stats":{"active":{"status_count":{"closed":0,"completed":0,"created":0,"failed":0,"in_progress":0,"published":0,"publishing":0,"queued":0,"stopped":0,"unknown":0},"total_tasks":0,"total_runtime":0,"completed_tasks_24h":0,"last_task_run":null}},"sub_projects":[{"id":"5664bd88f48d4868a80805f6d824d5a9","name":"ex-1/sub-ex-1"}]}]}}

Response

{"meta":{"id":"74823fc7be5b411aa5240f1a0720a64e","trx":"74823fc7be5b411aa5240f1a0720a64e","endpoint":{"name":"projects.get_all_ex","requested_version":"2.20","actual_version":"1.0"},"result_code":200,"result_subcode":0,"result_msg":"OK","error_stack":"","error_data":{}},"data":{"projects":[{"company":{"id":"d1bd92a3b039400cbafc60a7a5b1e52b"},"created":"2022-09-26T01:33:28.216000+00:00","id":"5664bd88f48d4868a80805f6d824d5a9","name":"ex-1/sub-ex-1","user":{"id":"a174c4e36b0446a7b3b5dd1ff5261962"},"stats":{"active":{"status_count":{"closed":0,"completed":0,"created":0,"failed":0,"in_progress":0,"published":0,"publishing":0,"queued":0,"stopped":0,"unknown":0},"total_tasks":0,"total_runtime":0,"completed_tasks_24h":0,"last_task_run":null}},"sub_projects":[]}],"scroll_id":"0337aabe715e4642bb6afd85621d6224"}}

--

payload

{"meta":{"id":"74823fc7be5b411aa5240f1a0720a64e","trx":"74823fc7be5b411aa5240f1a0720a64e","endpoint":{"name":"projects.get_all_ex","requested_version":"2.20","actual_version":"1.0"},"result_code":200,"result_subcode":0,"result_msg":"OK","error_stack":"","error_data":{}},"data":{"projects":[{"company":{"id":"d1bd92a3b039400cbafc60a7a5b1e52b"},"created":"2022-09-26T01:33:28.216000+00:00","id":"5664bd88f48d4868a80805f6d824d5a9","name":"ex-1/sub-ex-1","user":{"id":"a174c4e36b0446a7b3b5dd1ff5261962"},"stats":{"active":{"status_count":{"closed":0,"completed":0,"created":0,"failed":0,"in_progress":0,"published":0,"publishing":0,"queued":0,"stopped":0,"unknown":0},"total_tasks":0,"total_runtime":0,"completed_tasks_24h":0,"last_task_run":null}},"sub_projects":[]}],"scroll_id":"0337aabe715e4642bb6afd85621d6224"}}

response

{"meta":{"id":"aaaffe49ace64f1a8b0211925afcfd32","trx":"aaaffe49ace64f1a8b0211925afcfd32","endpoint":{"name":"projects.get_all_ex","requested_version":"2.20","actual_version":"1.0"},"result_code":200,"result_subcode":0,"result_msg":"OK","error_stack":"","error_data":{}},"data":{"projects":[]}}

--

payload

{"meta":{"id":"aaaffe49ace64f1a8b0211925afcfd32","trx":"aaaffe49ace64f1a8b0211925afcfd32","endpoint":{"name":"projects.get_all_ex","requested_version":"2.20","actual_version":"1.0"},"result_code":200,"result_subcode":0,"result_msg":"OK","error_stack":"","error_data":{}},"data":{"projects":[]}}

response

{"meta":{"id":"82711a7c1dbb4ef6bc056028cd4fc49b","trx":"82711a7c1dbb4ef6bc056028cd4fc49b","endpoint":{"name":"users.get_all_ex","requested_version":"2.20","actual_version":"2.8"},"result_code":200,"result_subcode":0,"result_msg":"OK","error_stack":"","error_data":{}},"data":{"users":[{"id":"a174c4e36b0446a7b3b5dd1ff5261962","name":"xxxxxxx_name_xxxxx"}]}} {"version":"1.6.0-213", "trains-server-treeish":"release/open-v1.6", "trains-server-commit":"2eb3df7ba2207188e556ffbc2298ba1878889831", "webapp-treeish":"release/open-v1.6", "webapp-commit":"89e00c44c10729a40f5d237542f0a1dd48c71c78", "webapp-common-treeish":"release/v3.12", "webapp-common-commit":"c80f84c24654f158e66f50325667da58db8037b5", "webserver-config-treeish":"master", "webserver-config-commit":"8905e1274581f3f1b8c81b37d8552fbda5cc56e3", "date":"Thu Jul 7 14:04:43 UTC 2022"} `

  
  
Posted 2 years ago

Hi QuaintJellyfish58 , thanks for the feedback. I am trying to compare what you send and receive for team's view with what you get in My-work view. Can you please also send the data for the same requests and responses in the My work view structured in the same way like you sent for the team view now?

  
  
Posted 2 years ago

Correct! Thanks AppetizingMouse58 !

  
  
Posted 2 years ago

projects.get_all_ex API call

  
  
Posted 2 years ago

Thanks, I think that I see the problem,

  
  
Posted 2 years ago

{"meta":{"id":"37a8d7b26c534f9da20682801f9bd2bd","trx":"37a8d7b26c534f9da20682801f9bd2bd","endpoint":{"name":"projects.get_all_ex","requested_version":"2.20","actual_version":"1.0"},"result_code":200,"result_subcode":0,"result_msg":"OK","error_stack":"","error_data":{}},"data":{"projects":[]}}

  
  
Posted 2 years ago

Can you attach the entire response (or preview)?

  
  
Posted 2 years ago

Hi AgitatedDove14 ,
right now i can delete, i set configuration to see hidden project/file on UI, and it show task related (e.g pipeline, dataset) on that project. but yeah, every time i make project with subproject inside, there is [undefined] there. i create project using code and UI, the result is same.

this is my docker-compose conf. i change all port 8XXX to 7XXX nad also change /opt/cleaml to /mnt/hdd_2/clearml.
` version: "3.6"
services:

apiserver:
command:
- apiserver
container_name: clearml-apiserver
image: allegroai/clearml:latest
restart: unless-stopped
volumes:
- /mnt/hdd_2/clearml/logs:/var/log/clearml
- /mnt/hdd_2/clearml/config:/opt/clearml/config
- /mnt/hdd_2/clearml/data/fileserver:/mnt/fileserver
depends_on:
- redis
- mongo
- elasticsearch
- fileserver
environment:
CLEARML_ELASTIC_SERVICE_HOST: elasticsearch
CLEARML_ELASTIC_SERVICE_PORT: 9200
CLEARML_ELASTIC_SERVICE_PASSWORD: ${ELASTIC_PASSWORD}
CLEARML_MONGODB_SERVICE_HOST: mongo
CLEARML_MONGODB_SERVICE_PORT: 27017
CLEARML_REDIS_SERVICE_HOST: redis
CLEARML_REDIS_SERVICE_PORT: 6379
CLEARML_SERVER_DEPLOYMENT_TYPE: ${CLEARML_SERVER_DEPLOYMENT_TYPE:-linux}
CLEARML__apiserver__pre_populate__enabled: "true"
CLEARML__apiserver__pre_populate__zip_files: "/opt/clearml/db-pre-populate"
CLEARML__apiserver__pre_populate__artifacts_path: "/mnt/fileserver"
ports:
- "7008:8008"
networks:
- backend
- frontend

elasticsearch:
networks:
- backend
container_name: clearml-elastic
environment:
ES_JAVA_OPTS: -Xms2g -Xmx2g -Dlog4j2.formatMsgNoLookups=true
ELASTIC_PASSWORD: ${ELASTIC_PASSWORD}
bootstrap.memory_lock: "true"
cluster.name: clearml
cluster.routing.allocation.node_initial_primaries_recoveries: "500"
cluster.routing.allocation.disk.watermark.low: 500mb
cluster.routing.allocation.disk.watermark.high: 500mb
cluster.routing.allocation.disk.watermark.flood_stage: 500mb
discovery.zen.minimum_master_nodes: "1"
discovery.type: "single-node"
http.compression_level: "7"
node.ingest: "true"
node.name: clearml
reindex.remote.whitelist: '.'
xpack.monitoring.enabled: "false"
xpack.security.enabled: "false"
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
image: docker.elastic.co/elasticsearch/elasticsearch:7.16.2
restart: unless-stopped
volumes:
- /mnt/hdd_2/clearml/data/elastic_7:/usr/share/elasticsearch/data
- /usr/share/elasticsearch/logs

fileserver:
networks:
- backend
- frontend
command:
- fileserver
container_name: clearml-fileserver
image: allegroai/clearml:latest
restart: unless-stopped
volumes:
- /mnt/hdd_2/clearml/logs:/var/log/clearml
- /mnt/hdd_2/clearml/data/fileserver:/mnt/fileserver
- /mnt/hdd_2/clearml/config:/opt/clearml/config
ports:
- "7081:8081"

mongo:
networks:
- backend
container_name: clearml-mongo
image: mongo:4.4.9
restart: unless-stopped
command: --setParameter internalQueryMaxBlockingSortMemoryUsageBytes=196100200
volumes:
- /mnt/hdd_2/clearml/data/mongo_4/db:/data/db
- /mnt/hdd_2/clearml/data/mongo_4/configdb:/data/configdb

redis:
networks:
- backend
container_name: clearml-redis
image: redis:5.0
restart: unless-stopped
volumes:
- /mnt/hdd_2/clearml/data/redis:/data

webserver:
command:
- webserver
container_name: clearml-webserver
# environment:
# CLEARML_SERVER_SUB_PATH : clearml-web # Allow Clearml to be served with a URL path prefix.
image: allegroai/clearml:latest
restart: unless-stopped
depends_on:
- apiserver
ports:
- "7080:80"
networks:
- backend
- frontend

agent-services:
networks:
- backend
container_name: clearml-agent-services
image: allegroai/clearml-agent-services:latest
deploy:
restart_policy:
condition: on-failure
privileged: true
environment:
CLEARML_HOST_IP: ${CLEARML_HOST_IP}
CLEARML_WEB_HOST: ${CLEARML_WEB_HOST:-}
CLEARML_API_HOST:
CLEARML_FILES_HOST: ${CLEARML_FILES_HOST:-}
CLEARML_API_ACCESS_KEY: ${CLEARML_API_ACCESS_KEY:-}
CLEARML_API_SECRET_KEY: ${CLEARML_API_SECRET_KEY:-}
CLEARML_AGENT_GIT_USER: ${CLEARML_AGENT_GIT_USER}
CLEARML_AGENT_GIT_PASS: ${CLEARML_AGENT_GIT_PASS}
CLEARML_AGENT_UPDATE_VERSION: ${CLEARML_AGENT_UPDATE_VERSION:-">=0.17.0"}
CLEARML_AGENT_DEFAULT_BASE_DOCKER: "ubuntu:18.04"
AWS_ACCESS_KEY_ID: ${AWS_ACCESS_KEY_ID:-}
AWS_SECRET_ACCESS_KEY: ${AWS_SECRET_ACCESS_KEY:-}
AWS_DEFAULT_REGION: ${AWS_DEFAULT_REGION:-}
AZURE_STORAGE_ACCOUNT: ${AZURE_STORAGE_ACCOUNT:-}
AZURE_STORAGE_KEY: ${AZURE_STORAGE_KEY:-}
GOOGLE_APPLICATION_CREDENTIALS: ${GOOGLE_APPLICATION_CREDENTIALS:-}
CLEARML_WORKER_ID: "clearml-services"
CLEARML_AGENT_DOCKER_HOST_MOUNT: "/opt/clearml/agent:/root/.clearml"
SHUTDOWN_IF_NO_ACCESS_KEY: 1
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /mnt/hdd_2/clearml/agent:/root/.clearml
depends_on:
- apiserver
entrypoint: >
bash -c "curl --retry 10 --retry-delay 10 --retry-connrefused ' ' && /usr/agent/entrypoint.sh"

networks:
backend:
driver: bridge
frontend:
driver: bridge `

  
  
Posted 2 years ago

Hi AppetizingMouse58 , this is when in Team's Work View :

`

Payload

{"id":["75d04598197a445ebef533814022c58d"],"include_stats":true,"check_own_contents":true,"search_hidden":true}

Response

{"meta":{"id":"c4ee9cb1c4594040bd0b44499d5e9970","trx":"c4ee9cb1c4594040bd0b44499d5e9970","endpoint":{"name":"projects.get_all_ex","requested_version":"2.20","actual_version":"1.0"},"result_code":200,"result_subcode":0,"result_msg":"OK","error_stack":"","error_data":{}},"data":{"projects":[{"id":"75d04598197a445ebef533814022c58d","company":{"id":"d1bd92a3b039400cbafc60a7a5b1e52b"},"user":{"id":"a174c4e36b0446a7b3b5dd1ff5261962"},"name":"ex-1","basename":"ex-1","description":"","created":"2022-09-26T01:32:47.901000+00:00","tags":[],"system_tags":[],"last_update":"2022-09-26T01:33:28.216000+00:00","featured":9999,"path":[],"own_tasks":0,"own_models":0,"stats":{"active":{"status_count":{"closed":0,"completed":0,"created":0,"failed":0,"in_progress":0,"published":0,"publishing":0,"queued":0,"stopped":0,"unknown":0},"total_tasks":0,"total_runtime":0,"completed_tasks_24h":0,"last_task_run":null}},"sub_projects":[{"id":"5664bd88f48d4868a80805f6d824d5a9","name":"ex-1/sub-ex-1"}]}]}}

Payload

{"stats_for_state":"active","include_stats":true,"shallow_search":true,"parent":["75d04598197a445ebef533814022c58d"],"scroll_id":null,"size":12,"active_users":null,"search_hidden":true,"order_by":["featured","-last_update"],"only_fields":["name","company","user","created","default_output_destination"]}

Response

{"meta":{"id":"665c78c32fae46e1905e4049209cb0b9","trx":"665c78c32fae46e1905e4049209cb0b9","endpoint":{"name":"projects.get_all_ex","requested_version":"2.20","actual_version":"1.0"},"result_code":200,"result_subcode":0,"result_msg":"OK","error_stack":"","error_data":{}},"data":{"projects":[{"company":{"id":"d1bd92a3b039400cbafc60a7a5b1e52b"},"created":"2022-09-26T01:33:28.216000+00:00","id":"5664bd88f48d4868a80805f6d824d5a9","name":"ex-1/sub-ex-1","user":{"id":"a174c4e36b0446a7b3b5dd1ff5261962"},"stats":{"active":{"status_count":{"closed":0,"completed":0,"created":0,"failed":0,"in_progress":0,"published":0,"publishing":0,"queued":0,"stopped":0,"unknown":0},"total_tasks":0,"total_runtime":0,"completed_tasks_24h":0,"last_task_run":null}},"sub_projects":[]}],"scroll_id":"610eda63631545178abc9e5a4d9af386"}}

Payload

{"id":"75d04598197a445ebef533814022c58d","include_stats":true,"stats_with_children":false,"stats_for_state":"active","search_hidden":true,"check_own_contents":true,"only_fields":["name","company","user","created","default_output_destination"]}

Response

{"meta":{"id":"2dfd146a5957452d8c2786d651ee97a5","trx":"2dfd146a5957452d8c2786d651ee97a5","endpoint":{"name":"projects.get_all_ex","requested_version":"2.20","actual_version":"1.0"},"result_code":200,"result_subcode":0,"result_msg":"OK","error_stack":"","error_data":{}},"data":{"projects":[{"company":{"id":"d1bd92a3b039400cbafc60a7a5b1e52b"},"created":"2022-09-26T01:32:47.901000+00:00","id":"75d04598197a445ebef533814022c58d","name":"ex-1","user":{"id":"a174c4e36b0446a7b3b5dd1ff5261962"},"own_tasks":0,"own_models":0,"stats":{"active":{"status_count":{"closed":0,"completed":0,"created":0,"failed":0,"in_progress":0,"published":0,"publishing":0,"queued":0,"stopped":0,"unknown":0},"total_tasks":0,"total_runtime":0,"completed_tasks_24h":0,"last_task_run":null}},"sub_projects":[]}]}} `

  
  
Posted 2 years ago

Hi QuaintJellyfish58 , I am investigating the issue. Can you please also send the request and response from projects.get_all when you are in the Team's Work view (the case where there is no undefined project)?

  
  
Posted 2 years ago

Hi QuaintJellyfish58 , this seems.like a very strange bug .. can you attach the response from the browser's Dev tools (network section) to the projects.get_all_ex API call?

  
  
Posted 2 years ago

{"meta":{"id":"17c6e609ace54bf8bfdf3113c39fd470","trx":"17c6e609ace54bf8bfdf3113c39fd470","endpoint":{"name":"projects.get_all_ex","requested_version":"2.20","actual_version":"1.0"},"result_code":200,"result_subcode":0,"result_msg":"OK","error_stack":"","error_data":{}},"data":{"projects":[{"id":"75d04598197a445ebef533814022c58d","company":{"id":"d1bd92a3b039400cbafc60a7a5b1e52b"},"user":{"id":"a174c4e36b0446a7b3b5dd1ff5261962"},"name":"ex-1","basename":"ex-1","description":"","created":"2022-09-26T01:32:47.901000+00:00","tags":[],"system_tags":[],"last_update":"2022-09-26T01:33:28.216000+00:00","featured":9999,"path":[],"own_tasks":0,"own_models":0,"stats":{"active":{"status_count":{"closed":0,"completed":0,"created":0,"failed":0,"in_progress":0,"published":0,"publishing":0,"queued":0,"stopped":0,"unknown":0},"total_tasks":0,"total_runtime":0,"completed_tasks_24h":0,"last_task_run":null}},"sub_projects":[{"id":"5664bd88f48d4868a80805f6d824d5a9","name":"ex-1/sub-ex-1"}]}]}}

  
  
Posted 2 years ago

{"meta":{"id":"369cbeafb3ec4b36ae7c07e781be5941","trx":"369cbeafb3ec4b36ae7c07e781be5941","endpoint":{"name":"projects.get_all_ex","requested_version":"2.20","actual_version":"1.0"},"result_code":200,"result_subcode":0,"result_msg":"OK","error_stack":"","error_data":{}},"data":{"projects":[{"company":{"id":"d1bd92a3b039400cbafc60a7a5b1e52b"},"created":"2022-09-26T01:33:28.216000+00:00","id":"5664bd88f48d4868a80805f6d824d5a9","name":"ex-1/sub-ex-1","user":{"id":"a174c4e36b0446a7b3b5dd1ff5261962"},"stats":{"active":{"status_count":{"closed":0,"completed":0,"created":0,"failed":0,"in_progress":0,"published":0,"publishing":0,"queued":0,"stopped":0,"unknown":0},"total_tasks":0,"total_runtime":0,"completed_tasks_24h":0,"last_task_run":null}},"sub_projects":[]}],"scroll_id":"e9954fbb871e488388f03e04521a6780"}}

  
  
Posted 2 years ago

QuaintJellyfish58 this is very odd, and the "undefined" is always marked as example?

  
  
Posted 2 years ago

Hi QuaintJellyfish58
This is odd, this "undefined" project is also marked as "Example" which would explain why you cannot delete it, but not how you ended up with one
Any idea on what changed on your server ?

  
  
Posted 2 years ago

Hi QuaintJellyfish58 , it seems that we identified the problem. The undefined project that you see is not a real project. It is a placeholder where the statistics of ex-1 project should be shown. We found a bug in the apiserver that under these particular conditions fails to return the ex-1 project data so the placeholder remains empty (undefined). If I understand correctly it should only cause the inconvenience but not influence your workflow. Is it correct? We are fixing the issue in the next version

  
  
Posted 2 years ago

It's strange, the "undefined" project does not even appear in the responses...

  
  
Posted 2 years ago

it seems only happen if i change the user preference to My Works , if set Team's Work it will show like this.

  
  
Posted 2 years ago

`

payload

{"id":["75d04598197a445ebef533814022c58d"],"include_stats":true,"check_own_contents":true,"active_users":["a174c4e36b0446a7b3b5dd1ff5261962"],"search_hidden":true}

Response

{"meta":{"id":"8d18a89599db4d899ab40959a39970b3","trx":"8d18a89599db4d899ab40959a39970b3","endpoint":{"name":"projects.get_all_ex","requested_version":"2.20","actual_version":"1.0"},"result_code":200,"result_subcode":0,"result_msg":"OK","error_stack":"","error_data":{}},"data":{"projects":[{"id":"75d04598197a445ebef533814022c58d","company":{"id":"d1bd92a3b039400cbafc60a7a5b1e52b"},"user":{"id":"a174c4e36b0446a7b3b5dd1ff5261962"},"name":"ex-1","basename":"ex-1","description":"","created":"2022-09-26T01:32:47.901000+00:00","tags":[],"system_tags":[],"last_update":"2022-09-26T01:33:28.216000+00:00","featured":9999,"path":[],"own_tasks":0,"own_models":0,"stats":{"active":{"status_count":{"closed":0,"completed":0,"created":0,"failed":0,"in_progress":0,"published":0,"publishing":0,"queued":0,"stopped":0,"unknown":0},"total_tasks":0,"total_runtime":0,"completed_tasks_24h":0,"last_task_run":null}},"sub_projects":[{"id":"5664bd88f48d4868a80805f6d824d5a9","name":"ex-1/sub-ex-1"}]}]}}

payload

{"stats_for_state":"active","include_stats":true,"shallow_search":true,"parent":["75d04598197a445ebef533814022c58d"],"scroll_id":null,"size":12,"active_users":["a174c4e36b0446a7b3b5dd1ff5261962"],"search_hidden":true,"order_by":["featured","-last_update"],"only_fields":["name","company","user","created","default_output_destination"]}

Response

{"meta":{"id":"c0b1101e908842e2b1d86ce13a8b6c5b","trx":"c0b1101e908842e2b1d86ce13a8b6c5b","endpoint":{"name":"projects.get_all_ex","requested_version":"2.20","actual_version":"1.0"},"result_code":200,"result_subcode":0,"result_msg":"OK","error_stack":"","error_data":{}},"data":{"projects":[{"company":{"id":"d1bd92a3b039400cbafc60a7a5b1e52b"},"created":"2022-09-26T01:33:28.216000+00:00","id":"5664bd88f48d4868a80805f6d824d5a9","name":"ex-1/sub-ex-1","user":{"id":"a174c4e36b0446a7b3b5dd1ff5261962"},"stats":{"active":{"status_count":{"closed":0,"completed":0,"created":0,"failed":0,"in_progress":0,"published":0,"publishing":0,"queued":0,"stopped":0,"unknown":0},"total_tasks":0,"total_runtime":0,"completed_tasks_24h":0,"last_task_run":null}},"sub_projects":[]}],"scroll_id":"c45421a63bd144bb81f7a15aa496fb1d"}}

payload

{"id":"75d04598197a445ebef533814022c58d","include_stats":true,"stats_with_children":false,"stats_for_state":"active","search_hidden":true,"check_own_contents":true,"active_users":["a174c4e36b0446a7b3b5dd1ff5261962"],"only_fields":["name","company","user","created","default_output_destination"]}

Response

{"meta":{"id":"11f32fd961384607aa31c2c34cff2715","trx":"11f32fd961384607aa31c2c34cff2715","endpoint":{"name":"projects.get_all_ex","requested_version":"2.20","actual_version":"1.0"},"result_code":200,"result_subcode":0,"result_msg":"OK","error_stack":"","error_data":{}},"data":{"projects":[]}} `Hi AppetizingMouse58 , sorry my bad.

  
  
Posted 2 years ago