Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

yotta / pictogram

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 60
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Closed
Open
Issue #328 opened Sep 11, 2017 by Germán Callejas Alcántara@callejas 
  • New issue
New issue

No cambia la escena en el PCB al cambiarla en el dashboard

El login transparente que hacía antes ya no lo hace.

Creo que puede deberse por la refactorización de PictogramActivity.

  • Fernando Martínez Santiago @dofer commented Sep 11, 2017
    Developer

    el problema es que el campo licencia llega a nulo via websockets. Este es el mensaje tal cual llega la pcb

    {
      "id_active_scene": 192,
      "id": 64,
      "name": "Ana",
      "surname": "Arias Araque",
      "birthdate": "2009-12-10T00:00:00.000Z",
      "gender": "F",
      "country": "ES",
      "pic": "\/upload\/studentAvatar\/test_caja_adela.jpg",
      "notes": null,
      "lang": "es-es",
      "attributes": {
        "categories": false,
        "id_active_scene": null,
        "input_feedback": {
          "vibration": false,
          "read": false,
          "beep": false,
          "highlight": false
        },
        "input_selection": {
          "click": true,
          "double_click": false,
          "long_press": false,
          "drag": true
        },
        "legend": false,
        "legend_size": "normal",
        "size": "small",
        "picto_background": "#0000ff",
        "tape_background": "#00ffff",
        "delivery": 0
      },
      "username": "aaa0003",
      "license": null,
      "current_method": "no_method",
      "current_instruction": "no_instruction"
    }
    Edited Sep 11, 2017 by Fernando Martínez Santiago
    el problema es que el campo licencia llega a nulo via websockets. Este es el mensaje tal cual llega la pcb ```json { "id_active_scene": 192, "id": 64, "name": "Ana", "surname": "Arias Araque", "birthdate": "2009-12-10T00:00:00.000Z", "gender": "F", "country": "ES", "pic": "\/upload\/studentAvatar\/test_caja_adela.jpg", "notes": null, "lang": "es-es", "attributes": { "categories": false, "id_active_scene": null, "input_feedback": { "vibration": false, "read": false, "beep": false, "highlight": false }, "input_selection": { "click": true, "double_click": false, "long_press": false, "drag": true }, "legend": false, "legend_size": "normal", "size": "small", "picto_background": "#0000ff", "tape_background": "#00ffff", "delivery": 0 }, "username": "aaa0003", "license": null, "current_method": "no_method", "current_instruction": "no_instruction" } ```
  • Fernando Martínez Santiago @dofer

    assigned to @amontejo and unassigned @dofer

    Sep 11, 2017

    assigned to @amontejo and unassigned @dofer

    assigned to @amontejo and unassigned @dofer
    Toggle commit list
  • Germán Callejas Alcántara @callejas commented Sep 12, 2017

    En la tablet MODO ALUMNO la carga cuando llega el vocabulario, pero en la de MODO SUPERVISOR te lleva a la vista de la elección de alumno.

    En la tablet MODO ALUMNO la carga cuando llega el vocabulario, pero en la de MODO SUPERVISOR te lleva a la vista de la elección de alumno.
  • Arturo Montejo Ráez @amontejo commented Sep 12, 2017
    Owner

    El campo "license" no estaba poblado al actualizar cuál es la nueva escena activa. He actualizado la rama develop y el servidor dev para que lo probéis, junto con lo de los login.

    El campo "license" no estaba poblado al actualizar cuál es la nueva escena activa. He actualizado la rama develop y el servidor dev para que lo probéis, junto con lo de los login.
  • Arturo Montejo Ráez @amontejo

    assigned to @dofer and unassigned @amontejo

    Sep 12, 2017

    assigned to @dofer and unassigned @amontejo

    assigned to @dofer and unassigned @amontejo
    Toggle commit list
  • Arturo Montejo Ráez @amontejo

    mentioned in commit 55f488be

    Sep 12, 2017

    mentioned in commit 55f488be

    mentioned in commit 55f488be6cff0bf92a81c626136dd71c5a92e879
    Toggle commit list
  • Fernando Martínez Santiago @dofer commented Sep 12, 2017
    Developer

    A través de Restful "stu/id" parece que tampoco se está poblando, y el problema es el mismo, ¿puedes comprobarlo?

    Edited Sep 13, 2017 by Fernando Martínez Santiago
    A través de Restful "stu/id" parece que tampoco se está poblando, y el problema es el mismo, ¿puedes comprobarlo?
  • Fernando Martínez Santiago @dofer commented Sep 12, 2017
    Developer

    probado en dev.

    probado en dev.
  • Fernando Martínez Santiago @dofer

    removed assignee

    Sep 12, 2017

    removed assignee

    removed assignee
    Toggle commit list
  • Fernando Martínez Santiago @dofer

    assigned to @amontejo

    Sep 12, 2017

    assigned to @amontejo

    assigned to @amontejo
    Toggle commit list
  • Fernando Martínez Santiago @dofer

    mentioned in commit cb78814c

    Sep 13, 2017

    mentioned in commit cb78814c

    mentioned in commit cb78814cf6f51cff2f9727f45d3e8ee8ee5e0c78
    Toggle commit list
  • Arturo Montejo Ráez @amontejo

    added To Do label

    Sep 14, 2017

    added To Do label

    added ~29 label
    Toggle commit list
  • Arturo Montejo Ráez @amontejo commented Sep 18, 2017
    Owner

    Pues a mí me está funcionando:

    REQUEST:

    GET https://dev.yottacode.com/stu/117

    RESPONSE:

    {
      "lastInstruction": [],
      "license": {
        "creation_ts": "2017-09-12T16:37:19.000Z",
        "activation_ts": "2017-09-12T16:37:19.000Z",
        "duration": 3,
        "expiration_ts": "2017-12-13T00:00:00.000Z",
        "number": "0IR5GELQQ5FITXT9",
        "type": "trial",
        "creator": null,
        "student": 117,
        "isValid": true,
        "isTrial": true,
        "isOfficial": false
      },
      "id_active_scene": 219,
      "id": 117,
      "username": "jms1",
      "name": "Juan",
      "surname": "Martínez Sánchez",
      "birthdate": null,
      "gender": null,
      "country": null,
      "pic": "/upload/studentAvatar/defaultAvatar.jpg",
      "notes": null,
      "lang": "es-es",
      "attributes": {
        "categories": true,
        "id_active_scene": null,
        "input_feedback": {
          "vibration": true,
          "read": false,
          "beep": false,
          "highlight": false
        },
        "input_selection": {
          "click": true,
          "double_click": false,
          "long_press": false,
          "drag": true
        },
        "legend": false,
        "legend_size": "normal",
        "size": "large",
        "picto_background": "#0000ff",
        "tape_background": "#00ffff",
        "delivery": 0
      },
      "current_method": "no_method",
      "current_instruction": "no_instruction",
      "supervisors": [
        {
          "id": 119,
          "name": "Gabinete Petete",
          "surname": "Sin apellidos",
          "role": "office",
          "gender": null,
          "pic": "/upload/supervisorAvatar/defaultAvatar.jpg",
          "address": null,
          "country": null,
          "email": "amontejo@ujaen.es",
          "phone": null,
          "lang": "es-es",
          "active": true,
          "postalCode": null,
          "ttsEngine": null,
          "arasaacLicense": false,
          "isTutor": false,
          "isTherapist": false,
          "isOffice": true,
          "isAdmin": false
        }
      ]
    }
    Pues a mí me está funcionando: REQUEST: `GET https://dev.yottacode.com/stu/117` RESPONSE: ``` { "lastInstruction": [], "license": { "creation_ts": "2017-09-12T16:37:19.000Z", "activation_ts": "2017-09-12T16:37:19.000Z", "duration": 3, "expiration_ts": "2017-12-13T00:00:00.000Z", "number": "0IR5GELQQ5FITXT9", "type": "trial", "creator": null, "student": 117, "isValid": true, "isTrial": true, "isOfficial": false }, "id_active_scene": 219, "id": 117, "username": "jms1", "name": "Juan", "surname": "Martínez Sánchez", "birthdate": null, "gender": null, "country": null, "pic": "/upload/studentAvatar/defaultAvatar.jpg", "notes": null, "lang": "es-es", "attributes": { "categories": true, "id_active_scene": null, "input_feedback": { "vibration": true, "read": false, "beep": false, "highlight": false }, "input_selection": { "click": true, "double_click": false, "long_press": false, "drag": true }, "legend": false, "legend_size": "normal", "size": "large", "picto_background": "#0000ff", "tape_background": "#00ffff", "delivery": 0 }, "current_method": "no_method", "current_instruction": "no_instruction", "supervisors": [ { "id": 119, "name": "Gabinete Petete", "surname": "Sin apellidos", "role": "office", "gender": null, "pic": "/upload/supervisorAvatar/defaultAvatar.jpg", "address": null, "country": null, "email": "amontejo@ujaen.es", "phone": null, "lang": "es-es", "active": true, "postalCode": null, "ttsEngine": null, "arasaacLicense": false, "isTutor": false, "isTherapist": false, "isOffice": true, "isAdmin": false } ] } ```
  • Arturo Montejo Ráez @amontejo

    assigned to @dofer and unassigned @amontejo

    Sep 18, 2017

    assigned to @dofer and unassigned @amontejo

    assigned to @dofer and unassigned @amontejo
    Toggle commit list
  • Fernando Martínez Santiago @dofer commented Sep 19, 2017
    Developer

    efectivamente, la llamada REST va ok. Es via websockets por donde no llega bien:

    {"student":{"license":null,"id_active_scene":187,"id":64,"name":"Ana","surname":"Arias Araque","birthdate":"2009-12-10T00:00:00.000Z","gender":"F","country":"ES","pic":"\/upload\/studentAvatar\/test_caja_adela.jpg","notes":null,"lang":"es-es","attributes":{"categories":false,"id_active_scene":null,"input_feedback":{"vibration":false,"read":false,"beep":false,"highlight":false},"input_selection":{"click":true,"double_click":false,"long_press":false,"drag":true},"legend":false,"legend_size":"normal","size":"small","picto_background":"#0000ff","tape_background":"#00ffff","delivery":0},"username":"aaa0003","current_method":"no_method","current_instruction":"no_instruction"}}
    Edited Sep 19, 2017 by Fernando Martínez Santiago
    efectivamente, la llamada REST va ok. Es via websockets por donde no llega bien: ```json {"student":{"license":null,"id_active_scene":187,"id":64,"name":"Ana","surname":"Arias Araque","birthdate":"2009-12-10T00:00:00.000Z","gender":"F","country":"ES","pic":"\/upload\/studentAvatar\/test_caja_adela.jpg","notes":null,"lang":"es-es","attributes":{"categories":false,"id_active_scene":null,"input_feedback":{"vibration":false,"read":false,"beep":false,"highlight":false},"input_selection":{"click":true,"double_click":false,"long_press":false,"drag":true},"legend":false,"legend_size":"normal","size":"small","picto_background":"#0000ff","tape_background":"#00ffff","delivery":0},"username":"aaa0003","current_method":"no_method","current_instruction":"no_instruction"}} ```
  • Fernando Martínez Santiago @dofer

    assigned to @amontejo and unassigned @dofer

    Sep 19, 2017

    assigned to @amontejo and unassigned @dofer

    assigned to @amontejo and unassigned @dofer
    Toggle commit list
  • Fernando Martínez Santiago @dofer

    mentioned in commit a87e4ab1

    Sep 19, 2017

    mentioned in commit a87e4ab1

    mentioned in commit a87e4ab15e562b61c21e8b1c1b5cc977e29d7b84
    Toggle commit list
  • Arturo Montejo Ráez @amontejo

    assigned to @scollado and unassigned @amontejo

    Sep 19, 2017

    assigned to @scollado and unassigned @amontejo

    assigned to @scollado and unassigned @amontejo
    Toggle commit list
  • Fernando Martínez Santiago @dofer

    mentioned in commit 62e60852

    Sep 20, 2017

    mentioned in commit 62e60852

    mentioned in commit 62e60852c8166c9764971fcbb40aaf35660b42cb
    Toggle commit list
  • Sebastián Collado Montañez @scollado commented Sep 20, 2017
    Developer

    Ya si se emite la licencia vía websockets @dofer

    Ya si se emite la licencia vía websockets @dofer
  • Sebastián Collado Montañez @scollado

    assigned to @dofer and unassigned @scollado

    Sep 25, 2017

    assigned to @dofer and unassigned @scollado

    assigned to @dofer and unassigned @scollado
    Toggle commit list
  • Arturo Montejo Ráez @amontejo

    removed To Do label

    Oct 15, 2017

    removed To Do label

    removed ~29 label
    Toggle commit list
  • Fernando Martínez Santiago @dofer

    closed

    Jan 02, 2018

    closed

    closed
    Toggle commit list
  • Write
  • Preview
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
No due date
2
Labels
Android bug
Assign labels
  • View labels
4
4 participants
Reference: yotta/pictogram#328