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

some help files can't be accessed anymore #320

Open
ChrisVeigl opened this issue Jun 7, 2019 · 4 comments
Open

some help files can't be accessed anymore #320

ChrisVeigl opened this issue Jun 7, 2019 · 4 comments
Labels
Priority 1 That issue is highly essential and must be fixed/implemented sprints-q42019 To make issues referencable which are related to the finalization of asterics 4.0 and q4 2019

Comments

@ChrisVeigl
Copy link
Contributor

I just found that the pressing "F1" in the modelSwitcher plugin results in a 404 error, although the page https://www.asterics.eu/plugins/actuators/ModelSwitcher.html exists.

The problem is that the ACS tries to access the page https://www.asterics.eu/plugins/actuators/modelSwitcher.html
(small "m") and the filesystem is case-sensitive.

The same problem exists for plugins that do not follow the naming convention and start with a non-captial letter: serialSender, enocean, openHAB, openBCI, p2_parser.

I suggest to rename the help files for those plugins (or to refactor the plugin name in bundle descriptors and source files - but it should be verified that this does not cause problems with existing models)

@sabicalija
Copy link
Contributor

Great suggestions! Thanks a lot.

Alternatively, we could save the link, to the documentation, in the component collection in a dedicated entry. I think this way, the procedure is more robust (less error-prone) and not that susceptible to changes.

@deinhofer deinhofer added sprints-q42019 To make issues referencable which are related to the finalization of asterics 4.0 and q4 2019 Priority 1 That issue is highly essential and must be fixed/implemented labels Aug 20, 2019
deinhofer pushed a commit that referenced this issue Apr 24, 2020
    Ensures that the first characater is always uppercase when creating the URL help string.
    This should work for all mentioned plugins (serialSender, enocean,...)
    Only P2_Parser.html should be renamed to P2_parser.html

* set startup bundle to ..\ARE\web\componentCollections\defaultComponentCollection.abd to load directly the component collection which was generated by the ARE at startup. This should ensure that the ACS is in sync with the local ARE by default.
@deinhofer deinhofer reopened this Mar 16, 2021
@deinhofer
Copy link
Contributor

The fix works for most of the incosistent plugin names mentioned above, but there are two who still don't work:

  • p2_parser looks for P2_parser.html but the help file is P2_Parser.html
  • IRMicro looks for IRMicro.html but the help file is IrMicro.html
  • IrTrans looks for IrTrans.html but the help file is IRTrans.html

Maybe there are still others. So I think in this case the simplest solution would really be to rename the help filename in the docs folder

@klues
Copy link
Contributor

klues commented Mar 17, 2021

So I think in this case the simplest solution would really be to rename the help filename in the docs folder

Yeah, why not 👍
Maybe this is even easier: https://stackoverflow.com/a/14814577/9219743

@deinhofer
Copy link
Contributor

So I think in this case the simplest solution would really be to rename the help filename in the docs folder

Yeah, why not +1
Maybe this is even easier: https://stackoverflow.com/a/14814577/9219743

This would be the easiest solution indeed, but unfortunately, we don't have access to the webserver. In order for that we would have to move the hosting to another server, e.g. ionos.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority 1 That issue is highly essential and must be fixed/implemented sprints-q42019 To make issues referencable which are related to the finalization of asterics 4.0 and q4 2019
Projects
None yet
Development

No branches or pull requests

4 participants