Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    PMassoels
    @PMassoels
    And the links are not visible
    Stefan
    @stefankeidel
    Hmm, do you have a local access_restrictions.conf?
    PMassoels
    @PMassoels
    no
    this line is in app.conf -> allow_fetching_of_media_from_remote_urls = 1
    and i copied the navigation.conf
    but no changes are made there so far
    Stefan
    @stefankeidel
    Try deleting that copy, clear the cache and log in again
    PMassoels
    @PMassoels
    that was the first thing i did
    Stefan
    @stefankeidel
    This is master-fix?
    Did you rename the role code for the admin role in your profile by any chance?
    Maybe your admin account wasn't assigned any role
    PMassoels
    @PMassoels
    No, sorry
    Also checked that
    Stefan
    @stefankeidel
    You're using local plugins, right? Try moving those out of the way
    PMassoels
    @PMassoels
    the problem was that on deploy user_id 2 was given tot the administrator
    changing that made it work
    is there a check on user_id somewhere in the code?
    Stefan
    @stefankeidel
    There is an option in app.conf that gives user id 1 full admin privileges no matter what
    So your admin user didn't have admin privs after all?
    PMassoels
    @PMassoels
    On deploy it gave user_id=2 in stead of 1
    Stefan
    @stefankeidel
    That shouldn't matter if the right roles are assigned
    and one of the roles has full admin access
    PMassoels
    @PMassoels
    Their are never any roles assigned on deploy :.
    Stefan
    @stefankeidel
    ?
    PMassoels
    @PMassoels
    every time a do a fresh install of a profile the roles database is empty
    Stefan
    @stefankeidel
    You can set roles, groups and logins in profiles
    and add an admin account like this:
        <login user_name="administrator" password="dublincore" fname="CollectiveAccess" 
               lname="Administrator" email="info@collectiveaccess.org">
          <role code="admin"/>
          <group code="admin"/>
        </login>
    base.xml defines a few roles and groups
    PMassoels
    @PMassoels
    aight, thnx :)
    mrjayviper
    @mrjayviper
    Hi all. I'm trying to delete an element within a container. this element has had data imported into it. When trying to delete the element, I am getting this message "Can't delete item because it has sub-records".
    mrjayviper
    @mrjayviper
    please ignore the thing above (can't delete issue). I thought I didn't submit it. my mistake. sorry!
    GautierMichelin
    @gautiermichelin
    Hello Stefan and others
    just to have a small confirmation, I think I met a bug lately : I have a container materiaux_tech_c ; containing 2 more containers : materiaux_c and techniques_c. Both the last ones have one list field inside : materiaux and techniques.
    Normally I should do a $vt_object->get("materiaux_tech_c") to get the values in the display format defined in the metadata. I'd like to have only the value for "materiaux". I've tried a get with "ca_objects.materiaux_tech_c.materiaux" but the answer is blank (and I'm sure I have a value).
    Stefan
    @stefankeidel
    That should work -- if all the codes are correct. What kind of field is it and what version are you running?
    GautierMichelin
    @gautiermichelin
    if I do $mycaobject->get("ca_objects.materiaux_tech_c"); I get the correct values (for example 10367:11243) ; if I do $mycaobject->get("ca_objects.materiaux_tech_c.materiaux") I have nothing
    this is latest master-fix
    Stefan
    @stefankeidel
    We have automated tests for most of the get() stuff so I think we would have noticed if something broke
    GautierMichelin
    @gautiermichelin
    yes, that's what I think
    Stefan
    @stefankeidel
    That being said it's not out of the question some stuff isn't covered
    This one still passes and there are a couple of container expressions in there: https://github.com/collectiveaccess/providence/blob/master/tests/testsWithData/get/AttributeGetTest.php
    GautierMichelin
    @gautiermichelin
    hum, no list value in this test
    Stefan
    @stefankeidel
    Does your list element have an empty label or idno?
    GautierMichelin
    @gautiermichelin
    10sec, I clean my very fast and not so clean test script, so I can copy-paste here 6 lines of code...
    Stefan
    @stefankeidel
    Actually, there is a list value in that test
    the very first assertion
    GautierMichelin
    @gautiermichelin
    oups, sorry
    yes, ca_objects.date.dc_dates_types