PulseTile / PulseTile-AngularJS

Leading edge modular UI framework for healthcare. Based on AngularJS. See documentation at http://docs.pulsetile.com/ See plugins at https://github.com/PulseTile-Plugins ##
http://www.pulsetile.com
Apache License 2.0
20 stars 22 forks source link

Events data not populating #23

Closed PhilBarrett closed 7 years ago

PhilBarrett commented 7 years ago

screenshot 2017-06-08 at 10 15 16

Event name, date, Type, notes not populating

dkryvosheya commented 7 years ago

http://prntscr.com/fhbxvu - Event Name field (hosted as serviceTeam on the middleware level) is not being populated, when Event Type and Notes fields are missing on the middleware level.

dkryvosheya commented 7 years ago

Moved over to QEWD repo

tony-shannon commented 7 years ago

Please update this issue here accordingly with a link to the QEWD related issue before closing it

dkryvosheya commented 7 years ago

Duplicated within QEWD repository: https://github.com/RippleOSI/Ripple-Qewd/issues/33 QEWD - Events missing data

tony-shannon commented 7 years ago

@dkryvosheya can we get an update on the UI json required for read/writes here please @robtweed is awaiting to be able to progress https://github.com/RippleOSI/Ripple-Qewd/issues/33

dkryvosheya commented 7 years ago

As discussed, this will be our task for Monday.

dkryvosheya commented 7 years ago

@tony-shannon Implemented the feature, tested webRTC - working as intended; Please review;

PhilBarrett commented 7 years ago

Hi @dkryvosheya we went to test the feature out and it appears that when a new event is created, it generates two events, one which you can join, the other which you can't. Please can you investigate.

Event you can join screen shot 2017-07-25 at 17 43 22

Duplicated event, which you can't join screen shot 2017-07-25 at 17 43 33

dkryvosheya commented 7 years ago

Investigated this issue, @PhilBarrett @tony-shannon - it's more QEWD issue, other than UI. Duplicated over @QEWD repository - https://github.com/RippleOSI/Ripple-Qewd/issues/49

robtweed commented 7 years ago

Duplicate event posting should now be working properly

robtweed commented 7 years ago

Just re-read my last comment - I mean that duplicates should no longer be being posted, and the problem has been fixed

PhilBarrett commented 7 years ago

Tested and working fine, thanks @robtweed

thanh121094 commented 7 years ago

Hi @dkryvosheya, @PhilBarrett , I seen that you tested and working fine the Events features. However, I am using Ubuntu 16.04 64-bit machine, npm version 3.10.10, node version 6.11.4. I have some problems.

1. It appears like that image: screen

The console log displays:

angular.js:13920 TypeError: Cannot read property 'value' of undefined at EventsListController.setCurrentPageData (http://localhost:9000/index.js?9e4f4bf4bfcd43a37b56:148310:106) at http://localhost:9000/index.js?9e4f4bf4bfcd43a37b56:148417:28 at getStateSlice (http://localhost:9000/vendor.js?9e4f4bf4bfcd43a37b56:60331:16) at Object.connect (http://localhost:9000/vendor.js?9e4f4bf4bfcd43a37b56:60299:18) at EventsListController (http://localhost:9000/index.js?9e4f4bf4bfcd43a37b56:148415:31) at Object.invoke (http://localhost:9000/vendor.js?9e4f4bf4bfcd43a37b56:13925:20) at $controllerInit (http://localhost:9000/vendor.js?9e4f4bf4bfcd43a37b56:19561:35) at nodeLinkFn (http://localhost:9000/vendor.js?9e4f4bf4bfcd43a37b56:18470:35) at compositeLinkFn (http://localhost:9000/vendor.js?9e4f4bf4bfcd43a37b56:17827:14) at publicLinkFn (http://localhost:9000/vendor.js?9e4f4bf4bfcd43a37b56:17707:31) <div class="section-main ng-scope" ui-view="main" data-ng-animate="1">

2 . I've tried to comment the value which of undefined in the events-list.component.js file. And it's not displays console log error but It's also not displays any data. Furthermore, When I choose appointment, admission, transfer in the create button. The console log displays:

angular.js:13920 Rejection {$id: 0, type: 6, message: "The transition errored", detail: TypeError: Cannot read property 'state' of undefined at Transition.addResolvable (http://localho…} $id : 0 detail : TypeError: Cannot read property 'state' of undefined at Transition.addResolvable (http://localhost:9000/vendor.js?9e4f4bf4bfcd43a37b56:2261:65) at http://localhost:9000/vendor.js?9e4f4bf4bfcd43a37b56:6179:16 at Array.forEach (<anonymous>) at addCoreResolvables (http://localhost:9000/vendor.js?9e4f4bf4bfcd43a37b56:6178:23) at invokeCallback (http://localhost:9000/vendor.js?9e4f4bf4bfcd43a37b56:2916:35) at TransitionHook.invokeHook (http://localhost:9000/vendor.js?9e4f4bf4bfcd43a37b56:2928:27) at Function.TransitionHook.invokeHooks (http://localhost:9000/vendor.js?9e4f4bf4bfcd43a37b56:3037:42) at new Transition (http://localhost:9000/vendor.js?9e4f4bf4bfcd43a37b56:2040:42) at TransitionService.create (http://localhost:9000/vendor.js?9e4f4bf4bfcd43a37b56:6061:17) at StateService.transitionTo (http://localhost:9000/vendor.js?9e4f4bf4bfcd43a37b56:5714:57) message : "The transition errored" type : 6 __proto__ : toPromise : ƒ () toString : ƒ () constructor : ƒ Rejection(type, message, detail) __proto__ : Object

When I clicked discharge button, it displayed like that: aaaa

Do you have ideas to fix this issues?

Thanks, Thanh from ThinkLabs VN