Skip to content

Attributes code inconsistency #16

@guestisp

Description

@guestisp

Actually, attribute code is sanitized with URLRewrite::format() method that will remove any chars other than A-Z, 0-9 and "-"

This creates two bugs:

  • any mandatory attributes added to a product can't be saved. ShineISP doesn't detect that attribute value if attribute code has "-" in it's name. The same attribute without "-" in code is saved properly
  • ISPConfig module needs some attributes with "_" in it's code. (for example: "ssh_chroot"). Is not possible to save the needed attribute code because shineisp will remove the "-" from it's name and ispconfig doesn't detect it anymore.

I think that these 2 bugs are related.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions