Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small fixes + cleanup #2439

Merged
merged 8 commits into from
Jun 1, 2024
Merged

Small fixes + cleanup #2439

merged 8 commits into from
Jun 1, 2024

Conversation

abarz722
Copy link
Contributor

  • green hook in connection state
  • interface display change
  • reports layout
  • edit app servers
  • misleading error text
  • always use globalConfig object in settings

@abarz722 abarz722 requested a review from tpurschke May 30, 2024 15:19
Copy link
Contributor

@tpurschke tpurschke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Changing existing interface and saving results in error.
  • Same error occurs when trying to model and save a newly requested interface.
Save Connection - Unclassified error: : 'R' is an invalid start of a property name. Expected a '"'. Path: $ | LineNumber: 0 | BytePositionInLine: 1. . See log for details!


2024-05-31T09:44:44.988571+02:00 srv1 fworch-ui:  2024-05-31T09:44:44+02:00 Debug - API call (GraphQlApiConnection.cs in line 122), Sending API call : query getTracking {  stm_track {    track_id  ...
2024-05-31T09:50:00.124618+02:00 srv1 fworch-ui:  2024-05-31T09:50:00+02:00 Warning - Save Connection (MainLayout.razor in line 268), Input text has been shortened by not allowed characters
2024-05-31T09:50:00.132984+02:00 srv1 fworch-ui:  2024-05-31T09:50:00+02:00 Debug - API call (GraphQlApiConnection.cs in line 122), Sending API call : mutation addUiLog(  $user: Int!  $severity: Int!... with variables: {"user":11,"severity":1,"suspectedCause":"Save Con...
2024-05-31T09:50:00.133319+02:00 srv1 fworch-ui:  2024-05-31T09:50:00+02:00 Debug - Jwt Validation (JwtReader.cs in line 82), Jwt was successfully validated.
2024-05-31T09:50:00.152945+02:00 srv1 fworch-ui:  2024-05-31T09:50:00+02:00 Error - Save Connection (MainLayout.razor in line 311), User: dv884qb, Role: admin, Unspecified error occured:
2024-05-31T09:50:00.153182+02:00 srv1 fworch-ui:   ---
2024-05-31T09:50:00.153298+02:00 srv1 fworch-ui:  Exception thrown:
2024-05-31T09:50:00.153392+02:00 srv1 fworch-ui:   JsonException
2024-05-31T09:50:00.153501+02:00 srv1 fworch-ui:  Message:
2024-05-31T09:50:00.153632+02:00 srv1 fworch-ui:   'R' is an invalid start of a property name. Expected a '"'. Path: $ | LineNumber: 0 | BytePositionInLine: 1.
2024-05-31T09:50:00.153735+02:00 srv1 fworch-ui:  Stack Trace:
2024-05-31T09:50:00.153826+02:00 srv1 fworch-ui:   at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& state, JsonReaderException ex)
2024-05-31T09:50:00.153917+02:00 srv1 fworch-ui:     at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
2024-05-31T09:50:00.154008+02:00 srv1 fworch-ui:     at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan`1 json, JsonTypeInfo`1 jsonTypeInfo)
2024-05-31T09:50:00.154095+02:00 srv1 fworch-ui:     at System.Text.Json.JsonSerializer.Deserialize[TValue](String json, JsonSerializerOptions options)
2024-05-31T09:50:00.154203+02:00 srv1 fworch-ui:     at FWO.Api.Data.ModellingConnection.InitProps() in /usr/local/fworch/lib/files/FWO.Api.Client/Data/ModellingConnection.cs:line 132
2024-05-31T09:50:00.154304+02:00 srv1 fworch-ui:     at FWO.Api.Data.ModellingConnection.GetBoolProperty(String prop) in /usr/local/fworch/lib/files/FWO.Api.Client/Data/ModellingConnection.cs:line 240
2024-05-31T09:50:00.154395+02:00 srv1 fworch-ui:     at FWO.Api.Data.ModellingConnection.SyncState() in /usr/local/fworch/lib/files/FWO.Api.Client/Data/ModellingConnection.cs:line 248
2024-05-31T09:50:00.154528+02:00 srv1 fworch-ui:     at FWO.Ui.Services.ModellingConnectionHandler.Save() in /usr/local/fworch/ui/files/FWO.UI/Services/ModellingConnectionHandler.cs:line 999
2024-05-31T09:50:00.156121+02:00 srv1 fworch-ui:  2024-05-31T09:50:00+02:00 Debug - API call (GraphQlApiConnection.cs in line 122), Sending API call : mutation addUiLog(  $user: Int!  $severity: Int!... with variables: {"user":11,"severity":2,"suspectedCause":"Save Con...
2024-05-31T09:50:00.156979+02:00 srv1 fworch-ui:  FWORCHAlert - source: "ui", userId: "11", title: "Save Connection", description: "Unclassified error: : 'R' is an invalid start of a property name. Expected a '"'. Path: $ | LineNumber: 0 | BytePositionInLine: 1. . See log for details!", alertCode: "UiError"
2024-05-31T09:50:00.157242+02:00 srv1 fworch-ui:  2024-05-31T09:50:00+02:00 Debug - API call (GraphQlApiConnection.cs in line 122), Sending API call : query getOpenAlerts {  alert (where: {ack_by: {_i...
2024-05-31T09:50:00.407530+02:00 srv1 fworch-ui:  2024-05-31T09:50:00+02:00 Debug - API call (GraphQlApiConnection.cs in line 122), Sending API call : mutation addAlert(  $source: String!  $userId: I... with variables: {"source":"ui","userId":11,"title":"Save Connectio...

@tpurschke tpurschke merged commit da795cd into CactuseSecurity:develop Jun 1, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants