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

Overriding new edits on landing page #259

Open
MartinTuchyna opened this issue Mar 17, 2023 · 2 comments
Open

Overriding new edits on landing page #259

MartinTuchyna opened this issue Mar 17, 2023 · 2 comments
Assignees
Labels
Type: Support Issue asking for support under analysis A first analysis is performing

Comments

@MartinTuchyna
Copy link

Dear Re3gistry team,
after new Docker installation initial description of Registry was provided as visible on this instance:
https://registry.stage.geocloud.sk/registry

01

afterwards, effort to edit some parts, were made and successfully saved as on this snap:

02

Despite this, still previous content is visible on the frontend.
After we have created also other content (new registers, inc. EN versions) initiach changes were reflected on the frontend, but consequent edits are not visible on the frontend.

Small observation:
When you access the url https://registry.stage.geocloud.sk/registry - first 2 seconds you can see new values as for example label with new value "INSPIRE systém registrov" as on this snap

03

but than it is back with the label value "Geocloud register".

04

With this issue, we simply can not change anything once entered in Re3gistry.

@oruscalleda oruscalleda added the under analysis A first analysis is performing label Mar 20, 2023
@oruscalleda oruscalleda self-assigned this Mar 20, 2023
@oruscalleda
Copy link
Collaborator

Hi @MartinTuchyna,

I'll take a look at this problem. At first glance, it looks like some kind of cache/language issue is causing this, so I'd like to ask a few questions:

From what I understand, initially the changes you made were not visible, then you added some content and your changes are showing? Then once you added new changes, did it stop working again?

Is the Geocloud registry label displayed after upload the English label of the registry ("INSPIRE systém registrov")?

I'll try to reproduce your issues in our environment and let you know what I find, probably asking for your configuration files so I can accurately test this issue.

Thank you for your feedback.

@arantzaetxebarria arantzaetxebarria added the question Further information is requested label Mar 23, 2023
@PetoP
Copy link

PetoP commented Mar 29, 2023

Hi @oruscalleda,

From what I understand, initially the changes you made were not visible, then you added some content and your changes are showing? Then once you added new changes, did it stop working again?

No, first change we did was renaming of main registry label (originally defined during installation) and since then we are experiencing reported behavior.

Is the Geocloud registry label displayed after upload the English label of the registry ("INSPIRE systém registrov")?

English label was defined after finishing the installation process. We experience no issues with english label (maybe if we would change it we would?).

Steps to reproduce should be:

  1. clean installation of Re3gistry,
  2. systems languages were chosen slovak and english,
  3. master language was chosen slovak,
  4. as Label 'Geocloud register' was used (I guess you may also use 'old label' here),
  5. after installation was finished, we decided to change original label to new value 'INSPIRE systém registrov' (I guess you may also use 'new label' here),
  6. we defined english label of the registry,
  7. when loading page of registry in slovak language, first new label is shown, but after short time it is changed back to old one.

Also seems like cache problem for me, however it behaves the same after clearing browser cache and on different browser instances, so I would suspect some cache on server side.

I have also noticed that new label changes back to old label after processing response of this call: https://registry.stage.geocloud.sk/registry/rest?uri=http://registry.stage.geocloud.sk/registry&lang=sk&format=jsonc&status=

When inspecting response I can see that old label is used there and it seems that this triggers label re-rendering on the website. So I guess question is why this response contains old label?

Thanks a lot!

@arantzaetxebarria arantzaetxebarria added Type: Support Issue asking for support and removed question Further information is requested labels Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Support Issue asking for support under analysis A first analysis is performing
Projects
None yet
Development

No branches or pull requests

4 participants