AsTeRICS icon indicating copy to clipboard operation
AsTeRICS copied to clipboard

some help files can't be accessed anymore

Open ChrisVeigl opened this issue 5 years ago • 4 comments

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)

ChrisVeigl avatar Jun 07 '19 10:06 ChrisVeigl

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.

sabicalija avatar Jun 07 '19 11:06 sabicalija

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

deinhofer avatar Mar 16 '21 21:03 deinhofer

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

klues avatar Mar 17 '21 07:03 klues

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.

deinhofer avatar Apr 26 '21 08:04 deinhofer