docdoku / docdoku-plm-front Goto Github PK
View Code? Open in Web Editor NEWweb UI front for docdoku-plm core
web UI front for docdoku-plm core
Running a function on products : sum on a column of the last released for a product, the WS do not return any content and the front probably does not handle it, the running button is still loading, there is a console error TypeError: a.first(...) is undefined; possible reason : every part link to the product does not have the selected column.
The same on a sum on an existing number column of the last released for a product, for a decimal value, the resultat is approximate (for a part of with value 18, and a part with value 0.1, the result of the sum is 18.200000000000003; after adding another part of 0.1, the result became 18.300000000000004)
The tree folder of the DM side, does not act as expected on Firefox (unsuitable refresh).
Worker fails to load in build app.
Failed to load resource: product-structure/js/workers/InstancesWorker.js the server responded with a status of 404 ()
When adding an user to a workspace, the ACL are not updated and this user is forbidden on all the parts and documents with ACL.
The column iteration of parts is sorted like a string and not a number
I can't create a new part, I get
Unhandled system error : org.eclipse.yasson.internal.serializer.BooleanTypeDeserializer.deserialize threw javax.json.bind.JsonbException: Internal error: Unknown JSON value: VALUE_NUMBER in BooleanTypeDeserializer.java at line 53
Looking at the data type that the JSON is to get de-serialized to it is expecting a boolean value for the standardPart field: https://github.com/polarsys/eplmp/blob/master/eplmp-server/eplmp-server-rest/src/main/java/org/polarsys/eplmp/server/rest/dto/PartCreationDTO.java
The front end is sending this as a 0 or 1. If I use Postman to intercept and modify the standardPart field and replace 1 or 0 with true or false the request works correctly.
{ "number":"sdfdg", "workspaceId":"Test", "description":"sdgsdgf", "name":"sdgsdg", "standardPart":0, "templateId":null, "workflowModelId":null, "roleMapping":null, "acl":null }
I'm using eplmp-server 2.5.0 and docdoku-web-front 2.5.0.
It looks like in app\product-management\js\views\part\part_creation_view.js
standardPart: this.$inputPartStandard.is(':checked') ? 1 : 0
should be replaced with
standardPart: this.$inputPartStandard.is(':checked') ? true : false
?
Test with 2 computers and 2 different webcam :
It works the first time, when the user 1 close the call window, he does not see the user connected and the user 2 see every users online; without changing the page, none of the 2 users can call the other back.
When calling, sometimes I get 'null' of 'undefined' instead of the login and/or workspace.
When trying with only one webcam, it does not work.
Errors found on chat
User 1 on firefox (v56), User 2 on chromium (v48) :
Login with 2 different account on 2 different browser, the 2 users can send each other messages; when reloading, the history is wiped.
At creation time (doc or part) when mapping the roles by just entering inside the group field the system requires after that to fill that field (even if a user has been supplied).
Didn't test but probably the same happen if we fill the group field and no the user one.
The list of configurations and baselines are not sorted on the identifier like the other lists (probably on generated id or creation date).
An upload of a large CAD file attached to a part goes beyong the timeout of authentication and I am sent back to the admin page, the file conversion stopped.
The call to encodeURIComponent(App.config.workspaceId) must be generalized.
The first time a webhook is created (just click on Add then Save) the REST payload call is as:
parameters : {method: "POST", url: "http://", authorization: null}
Unfortunately the parameters must be sent as array.
Adding a new part in an assembly of a part does not modify the configuration and baselines for this part, and does not take into account the new part added; it is needed to add new configuration or baseline to see it.
In order to solve the browser cache pitfall on static artifacts, the buid process should generate unique name for static resources.
GET method is not sent (onchange event syndrome?) when creating a simple webhook.
The button on the users page of a workspage "add to group" does not work on firefox v56
After creating a document collection (with the button "Create a baseline"), even if I select latest checked in or latest released documents, I can add any type of document, i can also check in check out a document to add it multiple times.
After saving the documents selected, when i click again on the buttons to add or save the collection, i get a JS Error : TypeError: App.config.documentBaselineInProgress is undefined
The disabling feature is not properly rendered by the UI.
More precisely when disabling a user when he is a member of a group does not really have the effect of disabling him but rather removing his access rights defined at user level and hence switching back to what is defined at group level.
So the stroke line indicator is not appropriate and as well as the wording used inside the button.
The PartMasterTemplate UI gives the wrong indication that we could add more than one file (the tab is named files).
Actually only one file can be uploaded as it is a template for CAD file.
We should not allow uploading more than one file and we could also permitting uploading many files for regular files set (not CAD).
The GUI only displays vector translation and euler angles.
It should be valuable to offer a matrix edition capability.
We cannot display json files as the JWT token is not sent from the JSONLoader.
Original issue: docdoku/docdoku-plm#1097
Original issue : docdoku/docdoku-plm#1033
Find a way to remove these libs from version control.
In javascript side, after building queryString for an advanced search (document or part) , encoding is applied on queryString as a whole by mean of encodeURIComponent. So, the reserved characters (&, ?, #, /, %, = +, ...) are then encoded, which leads in back-end to decoding confusion between the reserved characters and these same characters as part of the search string. So, the solution is to apply encodeURIComponent on each term searched separately, then build the final query string to be sent to server.
Furthermore, two characters ';' and ':' are used as attributes delimiter and attributes splitter respectively when searching attributes. Both must be escaped when they are in searched terms, prior to send query string.
When back end is unavailable, a message indicates it, but too many button are displayed: "Back" "Workspace management" and "Logout".
Only one button (or link) should be displayed with label "Reload"
Errors found on chat with User 1 on firefox (v56), User 2 on chromium (v48) :
There are times when the workspace name is 'undefined' or empty, probably when we are on the workspace administration page.
Issue creating date based effectivity:
java.text.ParseException: Unparseable date: "2017-06-15T00:00:00+02:00"
at java.text.DateFormat.parse(DateFormat.java:366)
at com.docdoku.core.util.DateUtils.parse(DateUtils.java:51)
at com.docdoku.server.rest.converters.DateAdapter.unmarshal(DateAdapter.java:51)
at com.docdoku.server.rest.converters.DateAdapter.unmarshal(DateAdapter.java:36)
Errors on quick search for parts :
User defined function crash on a run for latest released of a product, the web service called
https://server/eplmp-server-rest/api/workspaces/workspacename/products/productname/filter?configSpec=latest-released&depth=10&path=-1 return a 204 no content and an error in the console TypeError: a.first(...) is undefined
This error doesn't happen on every product, only for product of parts linked to parts not released.
The column life cycle state on document always return an error 404
Errors found on chat with User 1 on firefox (v56), User 2 on chromium (v48) :
After logging in and wait at least the duration of the timeout, with 2 users, while changing page for the user 1 I am redirected to the workspace administration page (normal), I look at the coworkers online and see every one online; for the user 2, the user 1 is now offline.
After that, when I log out / log in for user 1, no coworkers are shown as online, and after changing page for the user 2, every coworkers are online. When the user 2 log out / log in, the 2 users see each other online normally.
Happens randomly (probably due to cpu heavy load)
Handling of 'mousewheel' input event was delayed for 131 ms due to main thread being busy.
Consider marking event handler as 'passive' to make the page more responsive.
I'm wondering if the button label should not be renamed "Settings".
The import button should be hidden if no plugins are loaded, or at least inform the end user
When an attached file is missing for a part, on the 3D view there is a JS error when displaying the part and zooming on it :
TypeError: Argument 6 is not valid for any of the 6-argument overloads of WebGLRenderingContext.texImage2D.
Example : cube.obj and cube.mtl are attached to the part but it still need a cube.png (error 404 when requesting it), cube.zip
An user forbidden on an part can see the products linked to it, and the link through the part does nothing (WS call to part return 403); the same for the baselines and deliverables.
The same for document forbidden for the user, the link in the part does nothing (WS call to document return 403).
A message should be added
DocDokuPLM log in was unsuccessful???
Redirection to home page is not well managed on permalink (documents and parts) pages.
The boolean needsAuthentication is set to false on this module, which prevents the redirect. Find a better way for redirect on this module.
I can download empty zip for a product, baselines, deliverable when no file is attached
When choosing the elements of a configuration and baseline, the number of substitute elements in the defined assembly of a part is not reflected in the number of substitute elements of the configuration or baseline.
Same button for new article and new effectivity but not for the new product
When doing a search setting the template, there is an error 500 (Unhandled system error : org.glassfish.jersey.server.ServerRuntime$2.run threw javax.ws.rs.NotFoundException: HTTP 404 Not Found in ServerRuntime.java at line 323) on the web service http://server/eplmp-server-rest/api/workspaces/workspacename/parts/search/&from=0&size=10000; the exception is displayed to the user in a red block and the page is empty.
Errors found on chat with User 1 on firefox (v56), User 2 on chromium (v48) :
There is a JS error on chromium when displaying the coworkers : WebSocket is already in CLOSING or CLOSED state.
Errors found on chat with User 1 on firefox (v56), User 2 on chromium (v48) :
When trying to send a message to a offline user (even if he is online), their is a message telling the user to the user is unreachable; But when every coworkers are shown as online (but none are in reality - #28), their is a message telling the user to verify if the browser support websocket or the ISP block it.
I can create multiple baseline with the same name and product, nothing differ except the creation date which is not visible by the user
I can click multiple times on the create button of an effectivity on a part, the popup of creation is still open and all the effectivity are created.
I can click multiple times on the delete button of an effectivity while the popup of confirmation is open (it open multiple times the popup) and when I confirm the deletion of an effectity already deleted, there is an error shown :
Unhandled system error : org.polarsys.eplmp.server.EffectivityManagerBean.deleteEffectivity threw java.lang.NullPointerException in EffectivityManagerBean.java at line 318
When i've tried to execute npm run dev
an error shown up permission denied, mkdir '~/.cache/bower/registry/registry.bower.io/lookup'
. So, i've used sudo chmod -R 777 ~/.cache/
and the npm run dev
ran successfully.
Errors on query building for parts :
Access to product structure form product list opens a new tab. Is this really necessary ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.