SE - Staff - Volunteers - Stejný odkaz v menu, různé URL a jeden padá, druhý ne. #313

Open
opened 2018-11-13 20:42:19 +01:00 by Podhorecky · 2 comments
Podhorecky commented 2018-11-13 20:42:19 +01:00 (Migrated from git.spotter.cz)
  1. instance Spotter

na stránce Zaměstnanec je odkaz na ZAMĚSTNANCI A DOBROVOLNÍCI (DOHROMADY)
https://sahana.spotter.dasm.cz:8443/eden/hrm/human_resource/summary

Traceback (most recent call last):
  File "/srv/web2py/gluon/restricted.py", line 219, in restricted
    exec(ccode, environment)
  File "/srv/web2py/applications/eden/controllers/hrm.py", line 860, in <module>
  File "/srv/web2py/gluon/globals.py", line 429, in <lambda>
    self._caller = lambda f: f()
  File "/srv/web2py/applications/eden/controllers/hrm.py", line 40, in human_resource
    return s3db.hrm_human_resource_controller()
  File "/srv/web2py/applications/eden/modules/s3db/hrm.py", line 8406, in hrm_human_resource_controller
    return current.rest_controller("hrm", "human_resource")
  File "/srv/web2py/applications/eden/models/00_utils.py", line 245, in s3_rest_controller
    output = r(**attr)
  File "/srv/web2py/applications/eden/modules/s3/s3rest.py", line 688, in __call__
    output = handler(self, **attr)
  File "/srv/web2py/applications/eden/modules/s3/s3rest.py", line 1775, in __call__
    output = self.apply_method(r, **attr)
  File "/srv/web2py/applications/eden/modules/s3/s3summary.py", line 57, in apply_method
    return self.summary(r, **attr)
  File "/srv/web2py/applications/eden/modules/s3/s3summary.py", line 262, in summary
    output["filter_form"] = filter_form.html(fresource,
  File "/srv/web2py/applications/eden/modules/s3/s3filter.py", line 3056, in html
    rows = self._render_widgets(resource,
  File "/srv/web2py/applications/eden/modules/s3/s3filter.py", line 3283, in _render_widgets
    widget = f(resource, get_vars, alias=alias)
  File "/srv/web2py/applications/eden/modules/s3/s3filter.py", line 204, in __call__
    self._attr(resource)
  File "/srv/web2py/applications/eden/modules/s3/s3filter.py", line 261, in _attr
    rfield = S3ResourceField(resource, f)
  File "/srv/web2py/applications/eden/modules/s3/s3query.py", line 635, in __init__
    lf = S3FieldPath.resolve(resource, selector)
  File "/srv/web2py/applications/eden/modules/s3/s3query.py", line 321, in resolve
    parser = cls(resource, None, tokens)
  File "/srv/web2py/applications/eden/modules/s3/s3query.py", line 385, in __init__
    ktable, join, m, d = self._resolve_alias(resource, head)
  File "/srv/web2py/applications/eden/modules/s3/s3query.py", line 615, in _resolve_alias
    raise SyntaxError("Invalid tablename: %s" % alias)
  File "<string>", line None
SyntaxError: Invalid tablename: details

Na stránce Dobrovolníci je také odkaz na ZAMĚSTNANCI A DOBROVOLNÍCI (DOHROMADY)

ovšem jiný.

https://sahana.spotter.dasm.cz:8443/eden/vol/human_resource/summary

tento odkaz nepadá.

v instanci Demo to nepadá.

1. instance Spotter na stránce **Zaměstnanec** je odkaz na **ZAMĚSTNANCI A DOBROVOLNÍCI (DOHROMADY)** https://sahana.spotter.dasm.cz:8443/eden/hrm/human_resource/summary ``` Traceback (most recent call last): File "/srv/web2py/gluon/restricted.py", line 219, in restricted exec(ccode, environment) File "/srv/web2py/applications/eden/controllers/hrm.py", line 860, in <module> File "/srv/web2py/gluon/globals.py", line 429, in <lambda> self._caller = lambda f: f() File "/srv/web2py/applications/eden/controllers/hrm.py", line 40, in human_resource return s3db.hrm_human_resource_controller() File "/srv/web2py/applications/eden/modules/s3db/hrm.py", line 8406, in hrm_human_resource_controller return current.rest_controller("hrm", "human_resource") File "/srv/web2py/applications/eden/models/00_utils.py", line 245, in s3_rest_controller output = r(**attr) File "/srv/web2py/applications/eden/modules/s3/s3rest.py", line 688, in __call__ output = handler(self, **attr) File "/srv/web2py/applications/eden/modules/s3/s3rest.py", line 1775, in __call__ output = self.apply_method(r, **attr) File "/srv/web2py/applications/eden/modules/s3/s3summary.py", line 57, in apply_method return self.summary(r, **attr) File "/srv/web2py/applications/eden/modules/s3/s3summary.py", line 262, in summary output["filter_form"] = filter_form.html(fresource, File "/srv/web2py/applications/eden/modules/s3/s3filter.py", line 3056, in html rows = self._render_widgets(resource, File "/srv/web2py/applications/eden/modules/s3/s3filter.py", line 3283, in _render_widgets widget = f(resource, get_vars, alias=alias) File "/srv/web2py/applications/eden/modules/s3/s3filter.py", line 204, in __call__ self._attr(resource) File "/srv/web2py/applications/eden/modules/s3/s3filter.py", line 261, in _attr rfield = S3ResourceField(resource, f) File "/srv/web2py/applications/eden/modules/s3/s3query.py", line 635, in __init__ lf = S3FieldPath.resolve(resource, selector) File "/srv/web2py/applications/eden/modules/s3/s3query.py", line 321, in resolve parser = cls(resource, None, tokens) File "/srv/web2py/applications/eden/modules/s3/s3query.py", line 385, in __init__ ktable, join, m, d = self._resolve_alias(resource, head) File "/srv/web2py/applications/eden/modules/s3/s3query.py", line 615, in _resolve_alias raise SyntaxError("Invalid tablename: %s" % alias) File "<string>", line None SyntaxError: Invalid tablename: details ``` Na stránce **Dobrovolníci** je také odkaz na **ZAMĚSTNANCI A DOBROVOLNÍCI (DOHROMADY)** ovšem jiný. https://sahana.spotter.dasm.cz:8443/eden/vol/human_resource/summary tento odkaz **nepadá**. v instanci Demo to nepadá.
Podhorecky commented 2020-04-28 17:11:26 +02:00 (Migrated from git.spotter.cz)

changed title from SE - Stejný odkaz v menu, různé URL a jeden padá, druhý ne. to SE - St{+aff - Volunteers - St+}ejný odkaz v menu, různé URL a jeden padá, druhý ne.

changed title from **SE - Stejný odkaz v menu, různé URL a jeden padá, druhý ne.** to **SE - St{+aff - Volunteers - St+}ejný odkaz v menu, různé URL a jeden padá, druhý ne.**
Podhorecky commented 2020-04-28 17:11:26 +02:00 (Migrated from git.spotter.cz)

changed the description

changed the description
Sign in to join this conversation.
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Disassembler/Spotter-VM#313
No description provided.